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.001229/0.001229, allocations: 104.3 kB / 16.94 MB, free: 5.801 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.001271/0.001271, allocations: 191.3 kB / 17.87 MB, free: 5.18 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.348/1.348, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7365/0.7365, allocations: 122.8 MB / 414.6 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 63.91 kB / 0.4917 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.385, allocations: 77.92 MB / 0.5678 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamProperties): time 0.1477/0.5327, allocations: 136.1 MB / 0.7007 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02938/0.5621, allocations: 22.67 MB / 0.7229 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000206/0.5624, allocations: 0 / 0.7229 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003187/0.5627, allocations: 55.67 kB / 0.7229 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.5631, allocations: 83.36 kB / 0.723 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.018/0.5811, allocations: 6.962 MB / 0.7298 GB, free: 4.465 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.5815, allocations: 239.9 kB / 0.73 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.092e-05/0.5815, allocations: 17.55 kB / 0.73 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.5819, allocations: 139.4 kB / 0.7302 GB, free: 4.074 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.582, allocations: 91.66 kB / 0.7303 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.5821, allocations: 8 kB / 0.7303 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02169/0.6038, allocations: 11.33 MB / 0.7413 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.6039, allocations: 39.83 kB / 0.7414 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.6041, allocations: 83.64 kB / 0.7415 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.015/0.6191, allocations: 6.484 MB / 0.7478 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.939e-06/0.6192, allocations: 4 kB / 0.7478 GB, free: 2.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6192, allocations: 3.938 kB / 0.7478 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.6192, allocations: 0 / 0.7478 GB, free: 2.004 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.003473/0.6227, allocations: 1.193 MB / 0.749 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.6227, allocations: 16.62 kB / 0.749 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.6238, allocations: 80.67 kB / 0.7491 GB, free: 0.668 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.6241, allocations: 232 kB / 0.7493 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.6241, allocations: 16.12 kB / 0.7493 GB, free: 396 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.6241, allocations: 16 kB / 0.7493 GB, free: 380 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3078/0.9319, allocations: 443.3 kB / 0.7497 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.702e-05/0.932, allocations: 0.7812 kB / 0.7497 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-05/0.9321, allocations: 8.062 kB / 0.7497 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.9322, allocations: 7.344 kB / 0.7497 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.9349, allocations: 0.5988 MB / 0.7503 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001679/0.9366, allocations: 0.8798 MB / 0.7512 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.9381, allocations: 251.2 kB / 0.7514 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.9384, allocations: 73.02 kB / 0.7515 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1125/1.051, allocations: 35.05 MB / 0.7857 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/1.051, allocations: 34.16 kB / 0.7858 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=25): time 2.074e-06/1.051, allocations: 0 / 0.7858 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=25): time 0.001714/1.053, allocations: 421.2 kB / 0.7862 GB, free: 143.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/1.053, allocations: 59.41 kB / 0.7862 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/1.053, allocations: 141.8 kB / 0.7864 GB, free: 143.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.606e-05/1.053, allocations: 33.7 kB / 0.7864 GB, free: 143.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.563e-05/1.053, allocations: 110.3 kB / 0.7865 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.217e-05/1.053, allocations: 82.75 kB / 0.7866 GB, free: 143.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/1.053, allocations: 85.59 kB / 0.7867 GB, free: 143.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.157e-05/1.053, allocations: 326.8 kB / 0.787 GB, free: 143 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/1.053, allocations: 83.95 kB / 0.787 GB, free: 143 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002126/1.054, allocations: 129.1 kB / 0.7872 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/1.054, allocations: 221 kB / 0.7874 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.054, allocations: 0 / 0.7874 GB, free: 142.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000664/1.055, allocations: 303.2 kB / 0.7877 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/1.055, allocations: 8 kB / 0.7877 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/1.055, allocations: 0 / 0.7877 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.055, allocations: 4 kB / 0.7877 GB, free: 142.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/1.055, allocations: 83.88 kB / 0.7878 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/1.055, allocations: 4.156 kB / 0.7878 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001421/1.055, allocations: 27.72 kB / 0.7878 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/1.055, allocations: 22.48 kB / 0.7878 GB, free: 142.1 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.0001059/1.055, allocations: 125.8 kB / 0.7879 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00019/1.055, allocations: 19.8 kB / 0.7879 GB, free: 142 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001641/1.057, allocations: 2.351 MB / 0.7902 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.057, allocations: 11.97 kB / 0.7903 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/1.057, allocations: 0 / 0.7903 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.057, allocations: 7.938 kB / 0.7903 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002214/1.059, allocations: 3.429 MB / 0.7936 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.059, allocations: 0 / 0.7936 GB, free: 136.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/1.06, allocations: 51.95 kB / 0.7937 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/1.06, allocations: 3.938 kB / 0.7937 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/1.06, allocations: 11.98 kB / 0.7937 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.06, allocations: 0 / 0.7937 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.06, allocations: 0 / 0.7937 GB, free: 136 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000617/1.06, allocations: 0.5534 MB / 0.7942 GB, free: 135.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.932e-05/1.06, allocations: 136.6 kB / 0.7943 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.679e-05/1.06, allocations: 7.938 kB / 0.7944 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/1.061, allocations: 15.98 kB / 0.7944 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/1.061, allocations: 11.98 kB / 0.7944 GB, free: 135.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/1.061, allocations: 15.98 kB / 0.7944 GB, free: 135.2 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.131e-05/1.061, allocations: 108.8 kB / 0.7945 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/1.061, allocations: 0 / 0.7945 GB, free: 135.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003682/1.065, allocations: 1.693 MB / 0.7962 GB, free: 133.6 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.007796/1.072, allocations: 1.948 MB / 0.7981 GB, free: 131.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007202/1.073, allocations: 332.3 kB / 0.7984 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/1.073, allocations: 0 / 0.7984 GB, free: 131.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000262/1.073, allocations: 236.5 kB / 0.7986 GB, free: 131.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005919/1.074, allocations: 71.97 kB / 0.7987 GB, free: 131.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009268/1.075, allocations: 0.666 MB / 0.7993 GB, free: 130.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/1.075, allocations: 0.7661 MB / 0.8001 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/1.075, allocations: 51.41 kB / 0.8001 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of SimCode: time 6.91e-07/1.075, allocations: 0 / 0.8001 GB, free: 129.7 MB / 0.5762 GB Notification: Performance of Templates: time 0.0383/1.114, allocations: 32.78 MB / 0.8321 GB, free: 96.89 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)