Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.79/1.79, allocations: 297.8 MB / 313.7 MB, free: 140 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 192.5 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 223.2 MB / 0.6626 GB, free: 4.25 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000764/0.0007639, allocations: 100 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004513/0.0004513, allocations: 14.22 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9036/0.9041, allocations: 120.3 MB / 1.026 GB, free: 56.01 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9146/1.819, allocations: 384.4 MB / 1.402 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/1.819, allocations: 71.95 kB / 1.402 GB, free: 255.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.0414/1.86, allocations: 20.16 MB / 1.421 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.444e-06/1.86, allocations: 0 / 1.421 GB, free: 253.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.476e-06/1.86, allocations: 7.094 kB / 1.421 GB, free: 253.3 MB / 0.9323 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.0006157/1.861, allocations: 485.1 kB / 1.422 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/1.861, allocations: 9.812 kB / 1.422 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/1.861, allocations: 21.62 kB / 1.422 GB, free: 252.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/1.861, allocations: 212.7 kB / 1.422 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/1.861, allocations: 19.45 kB / 1.422 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.012e-05/1.862, allocations: 17.73 kB / 1.422 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003213/1.862, allocations: 244.5 kB / 1.422 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.862, allocations: 192 / 1.422 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/1.862, allocations: 10.84 kB / 1.422 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/1.862, allocations: 6.312 kB / 1.422 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003845/1.862, allocations: 430.1 kB / 1.423 GB, free: 252.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008642/1.863, allocations: 0.951 MB / 1.424 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/1.863, allocations: 174.8 kB / 1.424 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.054e-05/1.864, allocations: 62.2 kB / 1.424 GB, free: 251.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008757/1.864, allocations: 1.822 MB / 1.426 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/1.864, allocations: 40.11 kB / 1.426 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/1.864, allocations: 0 / 1.426 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0002784/1.865, allocations: 147.8 kB / 1.426 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/1.865, allocations: 55.34 kB / 1.426 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/1.865, allocations: 166.5 kB / 1.426 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/1.865, allocations: 28.92 kB / 1.426 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 5.532e-05/1.865, allocations: 143.8 kB / 1.426 GB, free: 249.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.921e-05/1.865, allocations: 55.89 kB / 1.426 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.334e-06/1.865, allocations: 3.625 kB / 1.426 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.024e-05/1.865, allocations: 325.9 kB / 1.427 GB, free: 249 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.462e-05/1.865, allocations: 40.91 kB / 1.427 GB, free: 249 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/1.865, allocations: 129.9 kB / 1.427 GB, free: 248.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/1.865, allocations: 197.1 kB / 1.427 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/1.865, allocations: 3.312 kB / 1.427 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002454/1.866, allocations: 212 kB / 1.427 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.866, allocations: 9.938 kB / 1.427 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/1.866, allocations: 6.156 kB / 1.427 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.866, allocations: 3.406 kB / 1.427 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/1.866, allocations: 66.05 kB / 1.427 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/1.866, allocations: 12.89 kB / 1.427 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/1.866, allocations: 31.66 kB / 1.427 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/1.866, allocations: 10.5 kB / 1.427 GB, free: 248.6 MB / 0.9323 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 () * Number of clocked 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.496e-05/1.866, allocations: 131.8 kB / 1.427 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/1.866, allocations: 15.31 kB / 1.427 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/1.866, allocations: 149.3 kB / 1.428 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.896e-06/1.866, allocations: 6.875 kB / 1.428 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.866, allocations: 3.375 kB / 1.428 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.866, allocations: 7.875 kB / 1.428 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/1.867, allocations: 215.8 kB / 1.428 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.867, allocations: 3.422 kB / 1.428 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/1.867, allocations: 27.92 kB / 1.428 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.867, allocations: 3.938 kB / 1.428 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/1.867, allocations: 6.625 kB / 1.428 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.867, allocations: 0 / 1.428 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.867, allocations: 1.484 kB / 1.428 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001676/1.867, allocations: 231.3 kB / 1.428 GB, free: 248.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 6.184e-05/1.867, allocations: 113.5 kB / 1.428 GB, free: 248 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/1.867, allocations: 6.906 kB / 1.428 GB, free: 248 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/1.867, allocations: 15.66 kB / 1.428 GB, free: 248 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/1.867, allocations: 17.73 kB / 1.428 GB, free: 248 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/1.867, allocations: 13.36 kB / 1.428 GB, free: 248 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 5.794e-05/1.867, allocations: 120.8 kB / 1.428 GB, free: 247.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/1.867, allocations: 0 / 1.428 GB, free: 247.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003595/1.868, allocations: 84.41 kB / 1.428 GB, free: 247.9 MB / 0.9323 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 () * Number of clocked 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.0002469/1.868, allocations: 187.1 kB / 1.429 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001812/1.868, allocations: 114.5 kB / 1.429 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.868, allocations: 4.312 kB / 1.429 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 5.142e-05/1.868, allocations: 51.2 kB / 1.429 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004093/1.869, allocations: 49.72 kB / 1.429 GB, free: 247.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/1.869, allocations: 428.9 kB / 1.429 GB, free: 247.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001219/1.869, allocations: 0.7115 MB / 1.43 GB, free: 246.9 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001729/1.87, allocations: 52.92 kB / 1.43 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.297e-05/1.87, allocations: 23.62 kB / 1.43 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of SimCode: time 2.7e-07/1.87, allocations: 0.8438 kB / 1.43 GB, free: 246.8 MB / 0.9323 GB Notification: Performance of Templates: time 0.005657/1.875, allocations: 3.527 MB / 1.433 GB, free: 246.6 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_latest_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterProperties.pipe 2>&1)