Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") translateModel(IBPSA.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009314/0.0009313, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4479/0.4479, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 221.3 MB / 348.3 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008621, allocations: 98.62 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.603e-05/3.612e-05, allocations: 0 / 0.4896 GB, free: 5.387 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3939, allocations: 72.31 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7117/1.106, allocations: 344.6 MB / 0.8967 GB, free: 7.762 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000342/1.106, allocations: 77.83 kB / 0.8968 GB, free: 7.723 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 0.04869/1.155, allocations: 20.17 MB / 0.9165 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.124e-06/1.155, allocations: 0 / 0.9165 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.075e-05/1.155, allocations: 4 kB / 0.9165 GB, free: 7.293 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008036/1.156, allocations: 473 kB / 0.917 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/1.156, allocations: 11.98 kB / 0.917 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001973/1.156, allocations: 23.81 kB / 0.917 GB, free: 6.762 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/1.156, allocations: 217 kB / 0.9172 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/1.156, allocations: 15.45 kB / 0.9172 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/1.156, allocations: 15.25 kB / 0.9172 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/1.157, allocations: 233.4 kB / 0.9175 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/1.157, allocations: 0 / 0.9175 GB, free: 6.309 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/1.157, allocations: 15.55 kB / 0.9175 GB, free: 6.301 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.79e-05/1.157, allocations: 15.89 kB / 0.9175 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004873/1.157, allocations: 426.8 kB / 0.9179 GB, free: 5.938 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001264/1.159, allocations: 0.9885 MB / 0.9189 GB, free: 4.961 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003197/1.159, allocations: 157.1 kB / 0.919 GB, free: 4.82 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/1.159, allocations: 55.77 kB / 0.9191 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/1.161, allocations: 1.924 MB / 0.921 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/1.161, allocations: 38.5 kB / 0.921 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.654e-06/1.161, allocations: 0 / 0.921 GB, free: 2.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002862/1.161, allocations: 109.5 kB / 0.9211 GB, free: 2.398 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/1.161, allocations: 59.34 kB / 0.9212 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/1.161, allocations: 170.2 kB / 0.9213 GB, free: 2.172 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/1.161, allocations: 25.7 kB / 0.9213 GB, free: 2.141 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/1.161, allocations: 142.3 kB / 0.9215 GB, free: 2.008 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/1.161, allocations: 51.77 kB / 0.9215 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/1.161, allocations: 3.562 kB / 0.9215 GB, free: 1.965 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.161, allocations: 325.8 kB / 0.9218 GB, free: 1.645 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/1.162, allocations: 31 kB / 0.9219 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000132/1.162, allocations: 136 kB / 0.922 GB, free: 1.453 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/1.162, allocations: 64.36 kB / 0.9221 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/1.162, allocations: 0 / 0.9221 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000342/1.162, allocations: 202.9 kB / 0.9223 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/1.162, allocations: 9.312 kB / 0.9223 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.162, allocations: 8 kB / 0.9223 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/1.162, allocations: 4 kB / 0.9223 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/1.162, allocations: 59.84 kB / 0.9223 GB, free: 1.145 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.162, allocations: 7.984 kB / 0.9223 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001289/1.163, allocations: 31.25 kB / 0.9224 GB, free: 1.109 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/1.163, allocations: 11.44 kB / 0.9224 GB, free: 1.102 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.728e-05/1.163, allocations: 127.9 kB / 0.9225 GB, free: 0.9766 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.472e-05/1.163, allocations: 19.77 kB / 0.9225 GB, free: 0.957 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/1.163, allocations: 162.1 kB / 0.9227 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/1.163, allocations: 0 / 0.9227 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/1.163, allocations: 0 / 0.9227 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/1.163, allocations: 7.984 kB / 0.9227 GB, free: 0.8086 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/1.163, allocations: 207.5 kB / 0.9229 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/1.163, allocations: 4 kB / 0.9229 GB, free: 0.5703 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/1.164, allocations: 35.28 kB / 0.9229 GB, free: 0.5391 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/1.164, allocations: 3.953 kB / 0.9229 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/1.164, allocations: 0 / 0.9229 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/1.164, allocations: 0 / 0.9229 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/1.164, allocations: 8 kB / 0.9229 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002297/1.164, allocations: 217.7 kB / 0.9231 GB, free: 324 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.976e-05/1.164, allocations: 115.6 kB / 0.9232 GB, free: 196 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/1.164, allocations: 7.328 kB / 0.9233 GB, free: 192 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/1.164, allocations: 15.98 kB / 0.9233 GB, free: 176 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/1.164, allocations: 15.73 kB / 0.9233 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/1.164, allocations: 15.92 kB / 0.9233 GB, free: 148 kB / 0.5886 GB Notification: Performance of sorting global known variables: time 8.785e-05/1.164, allocations: 114.5 kB / 0.9234 GB, free: 44 kB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.164, allocations: 0 / 0.9234 GB, free: 44 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0004249/1.165, allocations: 86.72 kB / 0.9235 GB, free: 15.96 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.000337/1.165, allocations: 197.7 kB / 0.9237 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002261/1.165, allocations: 114.9 kB / 0.9238 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.165, allocations: 3.938 kB / 0.9238 GB, free: 15.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.966e-05/1.165, allocations: 39.11 kB / 0.9238 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/1.166, allocations: 53.14 kB / 0.9239 GB, free: 15.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005266/1.166, allocations: 176.9 kB / 0.924 GB, free: 15.43 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/1.167, allocations: 0.717 MB / 0.9247 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001763/1.167, allocations: 46.03 kB / 0.9248 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/1.167, allocations: 23.42 kB / 0.9248 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/1.167, allocations: 4 kB / 0.9248 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of Templates: time 0.00727/1.174, allocations: 3.486 MB / 0.9282 GB, free: 11.18 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)