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.001253/0.001253, allocations: 107.7 kB / 16.41 MB, free: 6.488 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.001365/0.001365, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6811/0.6811, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 63.39 kB / 0.5577 GB, free: 32.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1412, allocations: 76.19 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.5297/0.671, allocations: 136.1 MB / 0.765 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02377/0.6948, allocations: 22.66 MB / 0.7871 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.6951, allocations: 4 kB / 0.7871 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.6954, allocations: 45.77 kB / 0.7872 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0003142/0.6958, allocations: 89.66 kB / 0.7873 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02038/0.7162, allocations: 6.946 MB / 0.794 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0004858/0.7167, allocations: 254.8 kB / 0.7943 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 5.569e-05/0.7167, allocations: 13.3 kB / 0.7943 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.7171, allocations: 144.3 kB / 0.7944 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.7173, allocations: 86.95 kB / 0.7945 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.7173, allocations: 9.438 kB / 0.7945 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02643/0.7437, allocations: 11.64 MB / 0.8059 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.7439, allocations: 41.14 kB / 0.8059 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.7441, allocations: 80.06 kB / 0.806 GB, free: 8.141 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01561/0.7597, allocations: 6.473 MB / 0.8123 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.7597, allocations: 1.203 kB / 0.8123 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7597, allocations: 0 / 0.8123 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.7597, allocations: 0 / 0.8123 GB, free: 4.645 MB / 0.5919 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.003438/0.7632, allocations: 1.206 MB / 0.8135 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.7632, allocations: 7.75 kB / 0.8135 GB, free: 3.773 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.7644, allocations: 95.19 kB / 0.8136 GB, free: 3.73 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003298/0.7647, allocations: 227.4 kB / 0.8138 GB, free: 3.484 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.7647, allocations: 13.34 kB / 0.8138 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.7648, allocations: 18.31 kB / 0.8139 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.7659, allocations: 447.9 kB / 0.8143 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.7659, allocations: 3.984 kB / 0.8143 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.757e-05/0.766, allocations: 10.75 kB / 0.8143 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.766, allocations: 5 kB / 0.8143 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.7671, allocations: 0.5977 MB / 0.8149 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.7682, allocations: 0.8847 MB / 0.8157 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008222/0.769, allocations: 253.8 kB / 0.816 GB, free: 1.898 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.7692, allocations: 79.55 kB / 0.8161 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09011/0.8593, allocations: 35.41 MB / 0.8506 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.498e-05/0.8594, allocations: 38.56 kB / 0.8507 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=25): time 2.134e-06/0.8594, allocations: 4 kB / 0.8507 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of matching and sorting (n=25): time 0.00198/0.8614, allocations: 417.3 kB / 0.8511 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.31e-05/0.8614, allocations: 59.34 kB / 0.8511 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.8616, allocations: 139.2 kB / 0.8513 GB, free: 14.41 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.8616, allocations: 33.7 kB / 0.8513 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.8617, allocations: 112.4 kB / 0.8514 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 6.921e-05/0.8618, allocations: 82.75 kB / 0.8515 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.8619, allocations: 77.66 kB / 0.8516 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.862, allocations: 334.8 kB / 0.8519 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.8622, allocations: 75.95 kB / 0.852 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.8624, allocations: 129.6 kB / 0.8521 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.8629, allocations: 228.2 kB / 0.8523 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8629, allocations: 3.25 kB / 0.8523 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007479/0.8636, allocations: 293.2 kB / 0.8526 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.8637, allocations: 7.984 kB / 0.8526 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.8637, allocations: 5.203 kB / 0.8526 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.8637, allocations: 160 / 0.8526 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.8641, allocations: 87.88 kB / 0.8527 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.8641, allocations: 7.922 kB / 0.8527 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.8643, allocations: 19.84 kB / 0.8527 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.8643, allocations: 27.92 kB / 0.8527 GB, free: 12.86 MB / 0.6387 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.0001302/0.8645, allocations: 121.8 kB / 0.8528 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002053/0.8647, allocations: 19.8 kB / 0.8529 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.867, allocations: 2.342 MB / 0.8552 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.867, allocations: 15.97 kB / 0.8552 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.867, allocations: 4 kB / 0.8552 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.867, allocations: 1.203 kB / 0.8552 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.8706, allocations: 3.427 MB / 0.8585 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.8706, allocations: 0 / 0.8585 GB, free: 6.801 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002531/0.8709, allocations: 51.95 kB / 0.8586 GB, free: 6.75 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.8709, allocations: 4 kB / 0.8586 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.801e-05/0.8709, allocations: 19.86 kB / 0.8586 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.871, allocations: 0 / 0.8586 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.871, allocations: 0 / 0.8586 GB, free: 6.727 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007771/0.8717, allocations: 0.5426 MB / 0.8591 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/0.8719, allocations: 140.6 kB / 0.8593 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.895e-05/0.872, allocations: 9.141 kB / 0.8593 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.8722, allocations: 15.98 kB / 0.8593 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.8722, allocations: 15.98 kB / 0.8593 GB, free: 5.973 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.937e-05/0.8723, allocations: 19.97 kB / 0.8593 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.851e-05/0.8723, allocations: 105.3 kB / 0.8594 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8724, allocations: 4 kB / 0.8594 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00511/0.8775, allocations: 1.687 MB / 0.8611 GB, free: 4.16 MB / 0.6387 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.009063/0.8866, allocations: 1.929 MB / 0.8629 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0007157/0.8873, allocations: 320.3 kB / 0.8633 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.8873, allocations: 4 kB / 0.8633 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.8877, allocations: 242.2 kB / 0.8635 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.8883, allocations: 69.05 kB / 0.8636 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.8893, allocations: 0.6386 MB / 0.8642 GB, free: 1.102 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.8897, allocations: 0.7622 MB / 0.8649 GB, free: 316 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005278/0.8902, allocations: 417 kB / 0.8653 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/0.8904, allocations: 48.62 kB / 0.8654 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of SimCode: time 2.6e-07/0.8904, allocations: 4 kB / 0.8654 GB, free: 15.85 MB / 0.6544 GB Notification: Performance of Templates: time 0.08017/0.9705, allocations: 59.42 MB / 0.9234 GB, free: 4.418 MB / 0.7012 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)