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.0008377/0.0008377, allocations: 91.69 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009292/0.0009292, allocations: 174.3 kB / 16.58 MB, free: 6.852 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.463/1.463, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6969/0.6969, allocations: 115.5 MB / 407.2 MB, free: 2.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 9.25 kB / 495.2 MB, free: 6.734 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1369, allocations: 77.53 MB / 0.5593 GB, free: 9.406 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.3682/0.5051, allocations: 123.2 MB / 0.6796 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02495/0.5301, allocations: 21.38 MB / 0.7005 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001769/0.5303, allocations: 0 / 0.7005 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002347/0.5306, allocations: 35.8 kB / 0.7005 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000285/0.5309, allocations: 87.48 kB / 0.7006 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01476/0.5456, allocations: 5.324 MB / 0.7058 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000523/0.5462, allocations: 279.8 kB / 0.7061 GB, free: 496 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.466e-05/0.5462, allocations: 9.562 kB / 0.7061 GB, free: 488 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003541/0.5466, allocations: 127.5 kB / 0.7062 GB, free: 360 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001851/0.5468, allocations: 91.66 kB / 0.7063 GB, free: 268 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.5468, allocations: 8 kB / 0.7063 GB, free: 260 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02022/0.5671, allocations: 11.11 MB / 0.7171 GB, free: 5.129 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.5672, allocations: 47.75 kB / 0.7172 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.292e-05/0.5673, allocations: 57.64 kB / 0.7172 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007595/0.5749, allocations: 4.292 MB / 0.7214 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.5749, allocations: 4 kB / 0.7214 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5749, allocations: 0 / 0.7214 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.575, allocations: 0 / 0.7214 GB, free: 0.7109 MB / 0.5294 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.003033/0.578, allocations: 1.166 MB / 0.7226 GB, free: 15.5 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.578, allocations: 12.03 kB / 0.7226 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001059/0.5791, allocations: 83.78 kB / 0.7227 GB, free: 15.4 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002582/0.5794, allocations: 226.8 kB / 0.7229 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.5794, allocations: 8.875 kB / 0.7229 GB, free: 15.13 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.646e-05/0.5794, allocations: 16 kB / 0.7229 GB, free: 15.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.5806, allocations: 454.3 kB / 0.7233 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.5806, allocations: 7.984 kB / 0.7233 GB, free: 14.65 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.813e-05/0.5806, allocations: 8 kB / 0.7234 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.5807, allocations: 4 kB / 0.7234 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.5818, allocations: 0.5937 MB / 0.7239 GB, free: 14.04 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00114/0.583, allocations: 0.8898 MB / 0.7248 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007598/0.5838, allocations: 244.6 kB / 0.725 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.5839, allocations: 74.36 kB / 0.7251 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07922/0.6631, allocations: 35.32 MB / 0.7596 GB, free: 6.336 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.6632, allocations: 45.39 kB / 0.7596 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 2.114e-06/0.6632, allocations: 0 / 0.7596 GB, free: 6.285 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001733/0.665, allocations: 426.3 kB / 0.76 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.665, allocations: 55.41 kB / 0.7601 GB, free: 5.797 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.6652, allocations: 138 kB / 0.7602 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.6652, allocations: 33.7 kB / 0.7603 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.6653, allocations: 112.3 kB / 0.7604 GB, free: 5.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.6654, allocations: 86.73 kB / 0.7605 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.6654, allocations: 8 kB / 0.7605 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6656, allocations: 318.8 kB / 0.7608 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.6658, allocations: 79.95 kB / 0.7608 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.666, allocations: 129.1 kB / 0.761 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.6662, allocations: 87.42 kB / 0.761 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.6662, allocations: 7.984 kB / 0.7611 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007156/0.667, allocations: 289.2 kB / 0.7613 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.149e-05/0.667, allocations: 22.23 kB / 0.7614 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.667, allocations: 0 / 0.7614 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.667, allocations: 4 kB / 0.7614 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002927/0.6673, allocations: 87.81 kB / 0.7614 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.6674, allocations: 7.984 kB / 0.7614 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.6675, allocations: 15.84 kB / 0.7615 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.467e-05/0.6676, allocations: 23.98 kB / 0.7615 GB, free: 4.328 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.6677, allocations: 129.7 kB / 0.7616 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.6679, allocations: 23.81 kB / 0.7616 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002528/0.6704, allocations: 2.339 MB / 0.7639 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.6705, allocations: 11.98 kB / 0.7639 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6705, allocations: 0 / 0.7639 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6705, allocations: 3.984 kB / 0.7639 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/0.6739, allocations: 3.421 MB / 0.7673 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.674, allocations: 3.953 kB / 0.7673 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000254/0.6742, allocations: 55.89 kB / 0.7673 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.6742, allocations: 0 / 0.7673 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.6743, allocations: 15.98 kB / 0.7673 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.6743, allocations: 0 / 0.7673 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.6743, allocations: 0 / 0.7673 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007727/0.6751, allocations: 0.5429 MB / 0.7679 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.6752, allocations: 144.5 kB / 0.768 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.6752, allocations: 4 kB / 0.768 GB, free: 13.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.6755, allocations: 27.55 kB / 0.768 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.6755, allocations: 15.92 kB / 0.7681 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.6756, allocations: 15.98 kB / 0.7681 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.6756, allocations: 103.3 kB / 0.7682 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6756, allocations: 3.938 kB / 0.7682 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00461/0.6803, allocations: 1.69 MB / 0.7698 GB, free: 11.62 MB / 0.5919 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008584/0.6889, allocations: 1.931 MB / 0.7717 GB, free: 9.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006491/0.6895, allocations: 316.3 kB / 0.772 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.6896, allocations: 0 / 0.772 GB, free: 9.371 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003261/0.6899, allocations: 241.5 kB / 0.7722 GB, free: 9.137 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005857/0.6905, allocations: 63.95 kB / 0.7723 GB, free: 9.074 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.6917, allocations: 0.8092 MB / 0.7731 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.692, allocations: 0.7625 MB / 0.7738 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006049/0.6926, allocations: 405 kB / 0.7742 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.6928, allocations: 51.41 kB / 0.7743 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of SimCode: time 2.5e-07/0.6928, allocations: 0 / 0.7743 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of Templates: time 0.3311/1.024, allocations: 60.36 MB / 0.8332 GB, free: 229.7 MB / 0.6387 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)