Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.SteamProperties") translateModel(IBPSA.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0008248/0.0008246, allocations: 91.42 kB / 16.66 MB, free: 5.742 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.0009537/0.0009542, allocations: 178.8 kB / 17.57 MB, free: 5.477 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.36/1.36, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 115.5 MB / 408.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003716/0.0003719, allocations: 15.98 kB / 496.5 MB, free: 15.72 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3981, allocations: 77.52 MB / 0.5606 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1397/0.5379, allocations: 132.2 MB / 0.6897 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03309/0.5711, allocations: 24.77 MB / 0.7139 GB, free: 5.922 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.5713, allocations: 4 kB / 0.7139 GB, free: 5.918 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.5716, allocations: 39.73 kB / 0.7139 GB, free: 5.879 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.572, allocations: 87.48 kB / 0.714 GB, free: 5.793 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.5894, allocations: 5.492 MB / 0.7194 GB, free: 336 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00048/0.5899, allocations: 303.8 kB / 0.7197 GB, free: 32 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.733e-05/0.59, allocations: 9.562 kB / 0.7197 GB, free: 24 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004031/0.5904, allocations: 135.5 kB / 0.7198 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001955/0.5906, allocations: 95.59 kB / 0.7199 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.5906, allocations: 8 kB / 0.7199 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0232/0.6138, allocations: 11.52 MB / 0.7312 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.614, allocations: 35.89 kB / 0.7312 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.6142, allocations: 109.3 kB / 0.7313 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.009044/0.6232, allocations: 4.315 MB / 0.7355 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6233, allocations: 0 / 0.7355 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.645e-06/0.6233, allocations: 0 / 0.7355 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.6233, allocations: 0 / 0.7355 GB, free: 15.79 MB / 0.5762 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.003815/0.6271, allocations: 1.158 MB / 0.7366 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.6272, allocations: 15.97 kB / 0.7367 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00122/0.6284, allocations: 88.75 kB / 0.7367 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002954/0.6287, allocations: 228 kB / 0.737 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6287, allocations: 24 kB / 0.737 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.6288, allocations: 16 kB / 0.737 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.63, allocations: 452.9 kB / 0.7374 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.63, allocations: 7.984 kB / 0.7374 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.63, allocations: 12 kB / 0.7374 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.63, allocations: 4 kB / 0.7374 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.6312, allocations: 0.5969 MB / 0.738 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.6324, allocations: 0.8783 MB / 0.7389 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.6332, allocations: 244.1 kB / 0.7391 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.6333, allocations: 77.64 kB / 0.7392 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.343/0.9764, allocations: 35.33 MB / 0.7737 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.9764, allocations: 38.05 kB / 0.7737 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.813e-06/0.9764, allocations: 0 / 0.7737 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001672/0.9781, allocations: 426.3 kB / 0.7741 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.377e-05/0.9782, allocations: 54.03 kB / 0.7742 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.9783, allocations: 147.3 kB / 0.7743 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.425e-05/0.9783, allocations: 32.11 kB / 0.7744 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.9784, allocations: 106.8 kB / 0.7745 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/0.9784, allocations: 86.78 kB / 0.7745 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.9785, allocations: 26.86 kB / 0.7746 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.9785, allocations: 327 kB / 0.7749 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.9787, allocations: 76.19 kB / 0.775 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.9789, allocations: 140.6 kB / 0.7751 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.9793, allocations: 211.4 kB / 0.7753 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9793, allocations: 5.281 kB / 0.7753 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006829/0.98, allocations: 296 kB / 0.7756 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.98, allocations: 6.609 kB / 0.7756 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.98, allocations: 1.25 kB / 0.7756 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.98, allocations: 4.594 kB / 0.7756 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.9803, allocations: 81 kB / 0.7757 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.9804, allocations: 10.14 kB / 0.7757 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.9805, allocations: 26.34 kB / 0.7757 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.9806, allocations: 26.83 kB / 0.7757 GB, free: 153.4 MB / 0.5762 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.000106/0.9807, allocations: 130.8 kB / 0.7759 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.9808, allocations: 17.55 kB / 0.7759 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.9834, allocations: 2.344 MB / 0.7782 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.9834, allocations: 11.69 kB / 0.7782 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.9835, allocations: 4.547 kB / 0.7782 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.9835, allocations: 2.984 kB / 0.7782 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/0.9865, allocations: 3.418 MB / 0.7815 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.9865, allocations: 0 / 0.7815 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.9868, allocations: 58.52 kB / 0.7816 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.9868, allocations: 5.562 kB / 0.7816 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.9868, allocations: 6.531 kB / 0.7816 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.9868, allocations: 1.156 kB / 0.7816 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.9868, allocations: 1.094 kB / 0.7816 GB, free: 150.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/0.9875, allocations: 0.5566 MB / 0.7821 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.9877, allocations: 146.1 kB / 0.7823 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.9877, allocations: 5 kB / 0.7823 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.9879, allocations: 16.44 kB / 0.7823 GB, free: 150 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.982e-05/0.988, allocations: 20.56 kB / 0.7823 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.988, allocations: 12.75 kB / 0.7823 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.844e-05/0.9881, allocations: 104.5 kB / 0.7824 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9881, allocations: 0 / 0.7824 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.004062/0.9921, allocations: 1.689 MB / 0.7841 GB, free: 149.8 MB / 0.5762 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.007111/0.9993, allocations: 1.948 MB / 0.786 GB, free: 149.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005508/0.9998, allocations: 323.1 kB / 0.7863 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.9998, allocations: 3.562 kB / 0.7863 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002416/1, allocations: 245.5 kB / 0.7865 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005456/1.001, allocations: 67.36 kB / 0.7866 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/1.002, allocations: 0.8192 MB / 0.7874 GB, free: 148.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/1.002, allocations: 0.7666 MB / 0.7881 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/1.002, allocations: 53.61 kB / 0.7882 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of SimCode: time 2.51e-07/1.002, allocations: 0 / 0.7882 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03819/1.04, allocations: 32.75 MB / 0.8202 GB, free: 118.3 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)