Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8806/0.8806, allocations: 141.8 MB / 149.3 MB, free: 9.207 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001239/0.001238, allocations: 179.8 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009042/0.0009041, allocations: 84.12 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.00189, allocations: 286.4 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.368e-05/1.372e-05, allocations: 0 / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3949, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7881/1.183, allocations: 408.8 MB / 1.157 GB, free: 5.117 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/1.183, allocations: 83.27 kB / 1.157 GB, free: 5.074 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5324/1.716, allocations: 86.47 MB / 1.241 GB, free: 212.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.442e-06/1.716, allocations: 3.938 kB / 1.241 GB, free: 212.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.25e-05/1.716, allocations: 4 kB / 1.241 GB, free: 212.4 MB / 0.698 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.003542/1.719, allocations: 0.7284 MB / 1.242 GB, free: 211.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/1.719, allocations: 8.031 kB / 1.242 GB, free: 211.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/1.72, allocations: 31.8 kB / 1.242 GB, free: 211.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/1.72, allocations: 218.7 kB / 1.242 GB, free: 211.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/1.72, allocations: 4 kB / 1.242 GB, free: 211.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.773e-05/1.72, allocations: 12 kB / 1.242 GB, free: 211.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005137/1.721, allocations: 408.2 kB / 1.242 GB, free: 210.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002974/1.721, allocations: 215.8 kB / 1.243 GB, free: 210.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/1.721, allocations: 3.938 kB / 1.243 GB, free: 210.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/1.721, allocations: 4 kB / 1.243 GB, free: 210.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/1.721, allocations: 4 kB / 1.243 GB, free: 210.7 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/1.722, allocations: 0.9757 MB / 1.244 GB, free: 209.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/1.722, allocations: 140.3 kB / 1.244 GB, free: 209.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.465e-05/1.722, allocations: 48.86 kB / 1.244 GB, free: 209.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.723, allocations: 1.965 MB / 1.246 GB, free: 207.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.641e-05/1.723, allocations: 30.56 kB / 1.246 GB, free: 207.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 1.443e-06/1.723, allocations: 4 kB / 1.246 GB, free: 207.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.0004741/1.724, allocations: 125.5 kB / 1.246 GB, free: 206.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/1.724, allocations: 59.41 kB / 1.246 GB, free: 206.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.427e-05/1.724, allocations: 138.7 kB / 1.246 GB, free: 206.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.724, allocations: 25.7 kB / 1.246 GB, free: 206.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/1.724, allocations: 143.8 kB / 1.246 GB, free: 206.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/1.724, allocations: 55.23 kB / 1.246 GB, free: 206.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-06/1.724, allocations: 0 / 1.246 GB, free: 206.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.721e-05/1.724, allocations: 318.8 kB / 1.247 GB, free: 206.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.978e-05/1.724, allocations: 28 kB / 1.247 GB, free: 206.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.355e-05/1.724, allocations: 131.2 kB / 1.247 GB, free: 206 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/1.725, allocations: 77.42 kB / 1.247 GB, free: 205.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.725, allocations: 4 kB / 1.247 GB, free: 205.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004489/1.725, allocations: 209.1 kB / 1.247 GB, free: 205.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.725, allocations: 8 kB / 1.247 GB, free: 205.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/1.725, allocations: 480 / 1.247 GB, free: 205.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.725, allocations: 12 kB / 1.247 GB, free: 205.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/1.725, allocations: 55.91 kB / 1.247 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.725, allocations: 14.14 kB / 1.247 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/1.726, allocations: 23.7 kB / 1.247 GB, free: 205.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.88e-05/1.726, allocations: 19.98 kB / 1.247 GB, free: 205.6 MB / 0.698 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 6.324e-05/1.726, allocations: 112.9 kB / 1.247 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/1.726, allocations: 11.91 kB / 1.247 GB, free: 205.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004698/1.726, allocations: 180.5 kB / 1.247 GB, free: 205.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/1.726, allocations: 4 kB / 1.247 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/1.726, allocations: 3.984 kB / 1.247 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/1.726, allocations: 0 / 1.247 GB, free: 205.2 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001662/1.726, allocations: 185.8 kB / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.726, allocations: 0 / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/1.726, allocations: 39.91 kB / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/1.727, allocations: 0 / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/1.727, allocations: 4 kB / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.727, allocations: 4 kB / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.727, allocations: 0 / 1.248 GB, free: 205 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/1.727, allocations: 231.2 kB / 1.248 GB, free: 204.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.056e-05/1.727, allocations: 124.9 kB / 1.248 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/1.727, allocations: 0 / 1.248 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/1.727, allocations: 15.98 kB / 1.248 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/1.727, allocations: 7.984 kB / 1.248 GB, free: 204.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/1.727, allocations: 23.92 kB / 1.248 GB, free: 204.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.621e-05/1.727, allocations: 105.1 kB / 1.248 GB, free: 204.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.727, allocations: 0 / 1.248 GB, free: 204.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004223/1.728, allocations: 79.84 kB / 1.248 GB, free: 204.4 MB / 0.698 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.0003168/1.728, allocations: 233.4 kB / 1.248 GB, free: 204.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001682/1.728, allocations: 108.2 kB / 1.249 GB, free: 204.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/1.728, allocations: 0 / 1.249 GB, free: 204.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.618e-05/1.728, allocations: 39.94 kB / 1.249 GB, free: 204 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/1.729, allocations: 34.97 kB / 1.249 GB, free: 204 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004265/1.729, allocations: 166.5 kB / 1.249 GB, free: 203.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/1.729, allocations: 0.7206 MB / 1.25 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001754/1.729, allocations: 52.02 kB / 1.25 GB, free: 203 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/1.729, allocations: 27.44 kB / 1.25 GB, free: 203 MB / 0.698 GB Notification: Performance of SimCode: time 3.6e-07/1.729, allocations: 0 / 1.25 GB, free: 203 MB / 0.698 GB Notification: Performance of Templates: time 0.006124/1.736, allocations: 3.411 MB / 1.253 GB, free: 199.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)