Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 115.1 kB / 16.42 MB, free: 6.516 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.001059/0.001059, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.281/1.281, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 295.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001745/0.001745, allocations: 99.83 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3629/0.3646, allocations: 86.98 MB / 0.7671 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1323/0.4969, allocations: 136.1 MB / 0.9 GB, free: 11.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02502/0.522, allocations: 22.34 MB / 0.9218 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.5221, allocations: 0 / 0.9218 GB, free: 4.844 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002716/0.5224, allocations: 47.62 kB / 0.9219 GB, free: 4.797 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.5228, allocations: 103.3 kB / 0.922 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01524/0.538, allocations: 6.691 MB / 0.9285 GB, free: 14.02 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0003565/0.5384, allocations: 251.9 kB / 0.9287 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.5385, allocations: 9.562 kB / 0.9288 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002982/0.5388, allocations: 147.4 kB / 0.9289 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.5389, allocations: 87.66 kB / 0.929 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.436e-05/0.539, allocations: 8 kB / 0.929 GB, free: 13.53 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01848/0.5575, allocations: 10.96 MB / 0.9397 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.5576, allocations: 43.83 kB / 0.9397 GB, free: 2.512 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.5577, allocations: 87.64 kB / 0.9398 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01131/0.569, allocations: 6.152 MB / 0.9458 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.569, allocations: 0 / 0.9458 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5691, allocations: 0 / 0.9458 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.5691, allocations: 0 / 0.9458 GB, free: 12.26 MB / 0.7169 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.002814/0.5719, allocations: 1.185 MB / 0.947 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.5719, allocations: 8.031 kB / 0.947 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.573, allocations: 92.59 kB / 0.9471 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.5733, allocations: 228 kB / 0.9473 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.5733, allocations: 16.12 kB / 0.9473 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.871e-05/0.5734, allocations: 20 kB / 0.9473 GB, free: 10.63 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.5745, allocations: 453.6 kB / 0.9478 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5745, allocations: 3.938 kB / 0.9478 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/0.5746, allocations: 8 kB / 0.9478 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.5746, allocations: 8 kB / 0.9478 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.5758, allocations: 0.5893 MB / 0.9484 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.5768, allocations: 0.8744 MB / 0.9492 GB, free: 8.602 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.5776, allocations: 258.2 kB / 0.9495 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.5777, allocations: 76.83 kB / 0.9495 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3936/0.9713, allocations: 35.42 MB / 0.9841 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.9714, allocations: 34.56 kB / 0.9841 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.754e-06/0.9714, allocations: 0 / 0.9841 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.001549/0.973, allocations: 418.3 kB / 0.9845 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.377e-05/0.973, allocations: 55.41 kB / 0.9846 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.445e-05/0.9731, allocations: 147.4 kB / 0.9847 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.957e-05/0.9731, allocations: 33.7 kB / 0.9848 GB, free: 164.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.9732, allocations: 114.8 kB / 0.9849 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.36e-05/0.9732, allocations: 77.22 kB / 0.985 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/0.9733, allocations: 81.66 kB / 0.985 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.016e-05/0.9734, allocations: 330.6 kB / 0.9853 GB, free: 164 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.9735, allocations: 79.95 kB / 0.9854 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.9737, allocations: 125.6 kB / 0.9855 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.974, allocations: 222.7 kB / 0.9858 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.9741, allocations: 0 / 0.9858 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006019/0.9747, allocations: 300.5 kB / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.9747, allocations: 8 kB / 0.9861 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.9747, allocations: 3.5 kB / 0.9861 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.9747, allocations: 8.156 kB / 0.9861 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002677/0.975, allocations: 83.88 kB / 0.9861 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.975, allocations: 6.031 kB / 0.9861 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.9751, allocations: 23.38 kB / 0.9862 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.9752, allocations: 23.98 kB / 0.9862 GB, free: 163.1 MB / 0.7169 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.0001003/0.9753, allocations: 129.8 kB / 0.9863 GB, free: 163 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.9755, allocations: 19.81 kB / 0.9863 GB, free: 162.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.9771, allocations: 2.331 MB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.9771, allocations: 11.92 kB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.644e-06/0.9771, allocations: 4 kB / 0.9886 GB, free: 160.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.9772, allocations: 140.4 kB / 0.9888 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.9773, allocations: 8 kB / 0.9888 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.9775, allocations: 27.95 kB / 0.9888 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.9776, allocations: 11.98 kB / 0.9888 GB, free: 160.4 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005717/0.9782, allocations: 0.5429 MB / 0.9893 GB, free: 159.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005845/0.9787, allocations: 0.6282 MB / 0.99 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000205/0.979, allocations: 228.6 kB / 0.9902 GB, free: 159 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.979, allocations: 106.2 kB / 0.9903 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of Backend: time 5.91e-07/0.979, allocations: 0 / 0.9903 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007582/0.9866, allocations: 2.206 MB / 0.9924 GB, free: 157 MB / 0.7169 GB Notification: Performance of SimCode: time 0.0007176/0.9873, allocations: 0.9285 MB / 0.9933 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.05187/1.039, allocations: 60.87 MB / 1.053 GB, free: 95.22 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)