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.00111/0.00111, allocations: 106.6 kB / 17.03 MB, free: 5.656 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.001122/0.001122, allocations: 192.1 kB / 17.97 MB, free: 5.062 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.301/1.301, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7274/0.7274, allocations: 115.1 MB / 406.9 MB, free: 6.352 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 55.91 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3186, allocations: 76.14 MB / 0.5575 GB, free: 36.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.14/0.4587, allocations: 136.1 MB / 0.6904 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02477/0.4835, allocations: 22.68 MB / 0.7126 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.4836, allocations: 0 / 0.7126 GB, free: 5.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.4839, allocations: 43.69 kB / 0.7126 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.4842, allocations: 95.34 kB / 0.7127 GB, free: 5.273 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.01525/0.4995, allocations: 6.943 MB / 0.7195 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.4999, allocations: 251.9 kB / 0.7197 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.691e-05/0.4999, allocations: 17.56 kB / 0.7198 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002914/0.5002, allocations: 147.4 kB / 0.7199 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001358/0.5004, allocations: 87.66 kB / 0.72 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.5004, allocations: 8 kB / 0.72 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02005/0.5205, allocations: 11.64 MB / 0.7314 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.917e-05/0.5206, allocations: 35.89 kB / 0.7314 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001314/0.5207, allocations: 87.58 kB / 0.7315 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.5341, allocations: 6.464 MB / 0.7378 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.79e-06/0.5341, allocations: 0 / 0.7378 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.156e-06/0.5341, allocations: 0 / 0.7378 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.5341, allocations: 7.938 kB / 0.7378 GB, free: 11.59 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.003055/0.5372, allocations: 1.201 MB / 0.739 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.5373, allocations: 12.03 kB / 0.739 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001057/0.5383, allocations: 84.67 kB / 0.7391 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.5386, allocations: 232 kB / 0.7393 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.5387, allocations: 20.12 kB / 0.7393 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.5387, allocations: 12 kB / 0.7393 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.5398, allocations: 456.9 kB / 0.7398 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.5398, allocations: 0 / 0.7398 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.5399, allocations: 8 kB / 0.7398 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.5399, allocations: 4 kB / 0.7398 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.5411, allocations: 0.5969 MB / 0.7403 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.5422, allocations: 0.8822 MB / 0.7412 GB, free: 7.91 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008566/0.5431, allocations: 256.8 kB / 0.7415 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000118/0.5432, allocations: 76.83 kB / 0.7415 GB, free: 7.574 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3226/0.8658, allocations: 35.41 MB / 0.7761 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.8658, allocations: 38.45 kB / 0.7761 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 1.963e-06/0.8659, allocations: 0 / 0.7761 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001824/0.8677, allocations: 428.4 kB / 0.7766 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.8677, allocations: 53.53 kB / 0.7766 GB, free: 154.4 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.8678, allocations: 141.1 kB / 0.7767 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.8679, allocations: 30.86 kB / 0.7768 GB, free: 154.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.184e-05/0.8679, allocations: 116.7 kB / 0.7769 GB, free: 154.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.657e-05/0.868, allocations: 83.89 kB / 0.777 GB, free: 154.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.8681, allocations: 79.89 kB / 0.777 GB, free: 154 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.8681, allocations: 333.4 kB / 0.7774 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.8683, allocations: 78.89 kB / 0.7774 GB, free: 153.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.8686, allocations: 129.7 kB / 0.7776 GB, free: 153.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.869, allocations: 214.6 kB / 0.7778 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.869, allocations: 0 / 0.7778 GB, free: 153.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007546/0.8697, allocations: 298.6 kB / 0.778 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.8698, allocations: 4.969 kB / 0.778 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.8698, allocations: 2.625 kB / 0.778 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.8698, allocations: 2.406 kB / 0.7781 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.8701, allocations: 80.56 kB / 0.7781 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8701, allocations: 6.125 kB / 0.7781 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.8703, allocations: 22.8 kB / 0.7782 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/0.8703, allocations: 26.48 kB / 0.7782 GB, free: 153.2 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.0001158/0.8705, allocations: 134.1 kB / 0.7783 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/0.8707, allocations: 22.88 kB / 0.7783 GB, free: 153.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/0.8727, allocations: 2.338 MB / 0.7806 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/0.8727, allocations: 12.61 kB / 0.7806 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.8727, allocations: 3.938 kB / 0.7806 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.8727, allocations: 5.422 kB / 0.7806 GB, free: 151.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002783/0.8755, allocations: 3.421 MB / 0.784 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.421e-06/0.8756, allocations: 2.625 kB / 0.784 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.8758, allocations: 51.77 kB / 0.784 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.8758, allocations: 9.312 kB / 0.784 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.063e-05/0.8759, allocations: 6.719 kB / 0.784 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.8759, allocations: 1.156 kB / 0.784 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.8759, allocations: 0 / 0.784 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.8766, allocations: 0.5508 MB / 0.7846 GB, free: 149.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.8767, allocations: 143.1 kB / 0.7847 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.51e-05/0.8768, allocations: 7.406 kB / 0.7847 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.877, allocations: 10.28 kB / 0.7847 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/0.877, allocations: 24.91 kB / 0.7848 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-05/0.8771, allocations: 7.875 kB / 0.7848 GB, free: 149.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.66e-05/0.8771, allocations: 109.8 kB / 0.7849 GB, free: 149 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8771, allocations: 0 / 0.7849 GB, free: 149 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003573/0.8807, allocations: 1.689 MB / 0.7865 GB, free: 148.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.006839/0.8876, allocations: 1.935 MB / 0.7884 GB, free: 148.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000527/0.8881, allocations: 326.7 kB / 0.7887 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.8881, allocations: 3.906 kB / 0.7887 GB, free: 148.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002461/0.8884, allocations: 242.2 kB / 0.789 GB, free: 148 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.8889, allocations: 70.17 kB / 0.789 GB, free: 148 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.8898, allocations: 0.6248 MB / 0.7896 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.8899, allocations: 0.7686 MB / 0.7904 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004038/0.8903, allocations: 411.2 kB / 0.7908 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001333/0.8905, allocations: 46.97 kB / 0.7908 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of SimCode: time 2.61e-07/0.8905, allocations: 0 / 0.7908 GB, free: 146.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.05426/0.9447, allocations: 59.36 MB / 0.8488 GB, free: 88.17 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.SteamProperties.pipe 2>&1)