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.0009999/0.0009999, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4993/0.4993, allocations: 90.92 MB / 99.35 MB, free: 2.191 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 221.5 MB / 343.2 MB, free: 1.555 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008977/0.0008977, allocations: 94.53 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.918e-05/1.933e-05, allocations: 4 kB / 494.5 MB, free: 52.38 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1328, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.191, allocations: 344 MB / 0.8894 GB, free: 136 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/1.191, allocations: 75.31 kB / 0.8895 GB, free: 135.9 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.04023/1.232, allocations: 20.05 MB / 0.9091 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.764e-06/1.232, allocations: 0 / 0.9091 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.318e-06/1.232, allocations: 4 kB / 0.9091 GB, free: 119.8 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.0006315/1.232, allocations: 485.6 kB / 0.9095 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.232, allocations: 8.031 kB / 0.9095 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/1.233, allocations: 19.81 kB / 0.9096 GB, free: 119.3 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/1.233, allocations: 213.4 kB / 0.9098 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/1.233, allocations: 4 kB / 0.9098 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/1.233, allocations: 8 kB / 0.9098 GB, free: 119.1 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005081/1.233, allocations: 419.9 kB / 0.9102 GB, free: 118.7 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/1.234, allocations: 209.3 kB / 0.9104 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/1.234, allocations: 0 / 0.9104 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.665e-05/1.234, allocations: 7.953 kB / 0.9104 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/1.234, allocations: 4 kB / 0.9104 GB, free: 118.5 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/1.235, allocations: 0.9534 MB / 0.9113 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/1.235, allocations: 143.8 kB / 0.9114 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.134e-05/1.235, allocations: 51.95 kB / 0.9115 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/1.236, allocations: 1.915 MB / 0.9134 GB, free: 115.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/1.236, allocations: 41.81 kB / 0.9134 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.303e-06/1.236, allocations: 0 / 0.9134 GB, free: 115.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0004672/1.237, allocations: 131.3 kB / 0.9135 GB, free: 115 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/1.237, allocations: 55.41 kB / 0.9136 GB, free: 114.9 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/1.237, allocations: 132.8 kB / 0.9137 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/1.237, allocations: 25.7 kB / 0.9137 GB, free: 114.8 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 8.483e-05/1.237, allocations: 143.1 kB / 0.9139 GB, free: 114.7 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/1.237, allocations: 54.06 kB / 0.9139 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/1.237, allocations: 0 / 0.9139 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/1.237, allocations: 325.7 kB / 0.9142 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.73e-05/1.237, allocations: 27.06 kB / 0.9143 GB, free: 114.3 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/1.237, allocations: 132 kB / 0.9144 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/1.238, allocations: 80.36 kB / 0.9145 GB, free: 114 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/1.238, allocations: 0 / 0.9145 GB, free: 114 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004119/1.238, allocations: 210.1 kB / 0.9147 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/1.238, allocations: 4 kB / 0.9147 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/1.238, allocations: 4 kB / 0.9147 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/1.238, allocations: 8 kB / 0.9147 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/1.238, allocations: 59.34 kB / 0.9147 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/1.238, allocations: 4 kB / 0.9147 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/1.239, allocations: 23.69 kB / 0.9148 GB, free: 113.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/1.239, allocations: 12 kB / 0.9148 GB, free: 113.7 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 7.188e-05/1.239, allocations: 120.5 kB / 0.9149 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/1.239, allocations: 15.86 kB / 0.9149 GB, free: 113.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004374/1.239, allocations: 173.8 kB / 0.9151 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/1.239, allocations: 4 kB / 0.9151 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/1.239, allocations: 0 / 0.9151 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.239, allocations: 0 / 0.9151 GB, free: 113.4 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/1.239, allocations: 188 kB / 0.9153 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.239, allocations: 0 / 0.9153 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/1.239, allocations: 31.92 kB / 0.9153 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.239, allocations: 4 kB / 0.9153 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.239, allocations: 7.984 kB / 0.9153 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/1.239, allocations: 7.953 kB / 0.9153 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.239, allocations: 0 / 0.9153 GB, free: 113.2 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003499/1.24, allocations: 225 kB / 0.9155 GB, free: 113 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.834e-05/1.24, allocations: 123.8 kB / 0.9156 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/1.24, allocations: 0 / 0.9156 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/1.24, allocations: 19.98 kB / 0.9157 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/1.24, allocations: 11.94 kB / 0.9157 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/1.24, allocations: 15.42 kB / 0.9157 GB, free: 112.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.437e-05/1.24, allocations: 105.6 kB / 0.9158 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.3e-07/1.24, allocations: 0 / 0.9158 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0003663/1.241, allocations: 71.69 kB / 0.9158 GB, free: 112.6 MB / 0.5886 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.0002494/1.241, allocations: 188.5 kB / 0.916 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000169/1.241, allocations: 105.7 kB / 0.9161 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.241, allocations: 0 / 0.9161 GB, free: 112.4 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/1.241, allocations: 41.28 kB / 0.9162 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/1.241, allocations: 31.03 kB / 0.9162 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004111/1.242, allocations: 162 kB / 0.9164 GB, free: 112.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/1.242, allocations: 0.7167 MB / 0.9171 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0001547/1.242, allocations: 45.75 kB / 0.9171 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.447e-05/1.242, allocations: 26.81 kB / 0.9171 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of SimCode: time 2.8e-07/1.242, allocations: 4 kB / 0.9171 GB, free: 111.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.005077/1.247, allocations: 2.935 MB / 0.92 GB, free: 108.4 MB / 0.5886 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)