Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties") translateModel(BuildSysPro.IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008751/0.008751, allocations: 99.81 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 192.4 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8903/0.8903, allocations: 143 MB / 433.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 63.92 kB / 0.5955 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1732, allocations: 82.02 MB / 0.6756 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.SteamProperties): time 0.5033/0.6765, allocations: 136.2 MB / 0.8086 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02586/0.7024, allocations: 22.33 MB / 0.8304 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.7026, allocations: 0 / 0.8304 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/0.7029, allocations: 47.92 kB / 0.8305 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.7033, allocations: 86.03 kB / 0.8305 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01812/0.7214, allocations: 6.682 MB / 0.8371 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.722, allocations: 253.4 kB / 0.8373 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.857e-05/0.7221, allocations: 16.8 kB / 0.8373 GB, free: 5.117 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004101/0.7225, allocations: 138.7 kB / 0.8375 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002182/0.7227, allocations: 89.36 kB / 0.8375 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.7228, allocations: 7.688 kB / 0.8375 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02206/0.7448, allocations: 10.97 MB / 0.8483 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001321/0.745, allocations: 35.89 kB / 0.8483 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.7452, allocations: 83.66 kB / 0.8484 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01748/0.7627, allocations: 6.174 MB / 0.8544 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.7627, allocations: 0 / 0.8544 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.303e-06/0.7627, allocations: 0 / 0.8544 GB, free: 6.656 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.7627, allocations: 0 / 0.8544 GB, free: 6.656 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003638/0.7664, allocations: 1.227 MB / 0.8556 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.7664, allocations: 8.031 kB / 0.8556 GB, free: 5.367 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001168/0.7676, allocations: 88.75 kB / 0.8557 GB, free: 5.281 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/0.768, allocations: 228.1 kB / 0.8559 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.768, allocations: 16.38 kB / 0.8559 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.484e-05/0.7681, allocations: 19.94 kB / 0.8559 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/0.7692, allocations: 456.4 kB / 0.8564 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.7693, allocations: 0 / 0.8564 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.7693, allocations: 8 kB / 0.8564 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7693, allocations: 4 kB / 0.8564 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.7705, allocations: 0.597 MB / 0.857 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.7716, allocations: 0.8906 MB / 0.8578 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.7724, allocations: 251.2 kB / 0.8581 GB, free: 2.68 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.7725, allocations: 76.83 kB / 0.8582 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08774/0.8603, allocations: 35.42 MB / 0.8927 GB, free: 12.08 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.8604, allocations: 38.56 kB / 0.8928 GB, free: 12.03 MB / 0.67 GB Notification: Performance of pre-optimization done (n=25): time 2.605e-06/0.8604, allocations: 0 / 0.8928 GB, free: 12.03 MB / 0.67 GB Notification: Performance of matching and sorting (n=25): time 0.001822/0.8622, allocations: 423.6 kB / 0.8932 GB, free: 11.61 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.5e-05/0.8623, allocations: 51.41 kB / 0.8932 GB, free: 11.55 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.8624, allocations: 147.5 kB / 0.8934 GB, free: 11.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.8625, allocations: 29.7 kB / 0.8934 GB, free: 11.36 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/0.8625, allocations: 116.4 kB / 0.8935 GB, free: 11.25 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.6e-05/0.8626, allocations: 87.27 kB / 0.8936 GB, free: 11.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.8628, allocations: 73.67 kB / 0.8937 GB, free: 11.08 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.8629, allocations: 330.8 kB / 0.894 GB, free: 10.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.8631, allocations: 79.94 kB / 0.8941 GB, free: 10.67 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002382/0.8633, allocations: 140.7 kB / 0.8942 GB, free: 10.52 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004298/0.8637, allocations: 214.5 kB / 0.8944 GB, free: 10.29 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.8638, allocations: 8 kB / 0.8944 GB, free: 10.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007363/0.8645, allocations: 300.6 kB / 0.8947 GB, free: 9.988 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.8645, allocations: 6.812 kB / 0.8947 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8645, allocations: 0 / 0.8947 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.8646, allocations: 4 kB / 0.8947 GB, free: 9.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.8649, allocations: 79.88 kB / 0.8948 GB, free: 9.902 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.8649, allocations: 4 kB / 0.8948 GB, free: 9.898 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.8651, allocations: 23.94 kB / 0.8948 GB, free: 9.875 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.321e-05/0.8651, allocations: 35.91 kB / 0.8948 GB, free: 9.84 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001434/0.8653, allocations: 129.8 kB / 0.895 GB, free: 9.703 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.8655, allocations: 11.95 kB / 0.895 GB, free: 9.691 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.8679, allocations: 2.342 MB / 0.8973 GB, free: 7.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/0.8679, allocations: 11.98 kB / 0.8973 GB, free: 7.328 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.868, allocations: 0 / 0.8973 GB, free: 7.328 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.868, allocations: 3.984 kB / 0.8973 GB, free: 7.324 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003266/0.8712, allocations: 3.436 MB / 0.9006 GB, free: 3.781 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8713, allocations: 0 / 0.9006 GB, free: 3.781 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.8715, allocations: 59.94 kB / 0.9007 GB, free: 3.723 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.403e-06/0.8716, allocations: 4 kB / 0.9007 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.402e-05/0.8716, allocations: 7.938 kB / 0.9007 GB, free: 3.711 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.8716, allocations: 4 kB / 0.9007 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.8716, allocations: 0.875 kB / 0.9007 GB, free: 3.707 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009224/0.8726, allocations: 0.5505 MB / 0.9012 GB, free: 3.141 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.8728, allocations: 144.7 kB / 0.9014 GB, free: 2.98 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.917e-05/0.8728, allocations: 11.94 kB / 0.9014 GB, free: 2.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.8731, allocations: 8 kB / 0.9014 GB, free: 2.961 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.8731, allocations: 27.91 kB / 0.9014 GB, free: 2.934 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.8732, allocations: 12 kB / 0.9014 GB, free: 2.922 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.876e-05/0.8733, allocations: 111.2 kB / 0.9015 GB, free: 2.812 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8733, allocations: 0 / 0.9015 GB, free: 2.812 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005181/0.8785, allocations: 1.641 MB / 0.9031 GB, free: 1.168 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008737/0.8872, allocations: 1.91 MB / 0.905 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0007043/0.8879, allocations: 317.1 kB / 0.9053 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.8879, allocations: 0 / 0.9053 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0003271/0.8883, allocations: 256.4 kB / 0.9056 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005759/0.8889, allocations: 72.19 kB / 0.9056 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.8901, allocations: 0.6301 MB / 0.9062 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.8905, allocations: 0.7661 MB / 0.907 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006392/0.8912, allocations: 409 kB / 0.9074 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001582/0.8913, allocations: 51.36 kB / 0.9074 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of SimCode: time 3.21e-07/0.8913, allocations: 0 / 0.9074 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.07364/0.965, allocations: 57.17 MB / 0.9633 GB, free: 3.5 MB / 0.7325 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.SteamProperties.pipe 2>&1)