Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 289.7 MB / 302.2 MB, free: 2.176 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001271/0.001271, allocations: 177.8 kB / 371.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.2 MB / 0.6309 GB, free: 11.79 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009458/0.0009459, allocations: 90.06 kB / 0.745 GB, free: 54.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.975e-05/4.976e-05, allocations: 4 kB / 0.8662 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3033, allocations: 116.3 MB / 0.9798 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/1.423, allocations: 381.9 MB / 1.353 GB, free: 14.99 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.423, allocations: 76.64 kB / 1.353 GB, free: 14.95 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.6782/2.101, allocations: 19.56 MB / 1.372 GB, free: 275.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.433e-06/2.101, allocations: 0 / 1.372 GB, free: 275.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.677e-06/2.101, allocations: 6.188 kB / 1.372 GB, free: 275.1 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.0006843/2.102, allocations: 468.8 kB / 1.372 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/2.102, allocations: 9.281 kB / 1.372 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001485/2.102, allocations: 23.58 kB / 1.372 GB, free: 274.7 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/2.102, allocations: 211.6 kB / 1.373 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/2.102, allocations: 19.58 kB / 1.373 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/2.102, allocations: 13.5 kB / 1.373 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004624/2.103, allocations: 233.2 kB / 1.373 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/2.103, allocations: 1.375 kB / 1.373 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/2.103, allocations: 15.62 kB / 1.373 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.109e-05/2.103, allocations: 9.656 kB / 1.373 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004976/2.103, allocations: 423 kB / 1.373 GB, free: 274.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/2.104, allocations: 0.9832 MB / 1.374 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003222/2.105, allocations: 162.7 kB / 1.374 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/2.105, allocations: 55.95 kB / 1.374 GB, free: 273.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/2.106, allocations: 1.928 MB / 1.376 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/2.106, allocations: 36.06 kB / 1.376 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=15): time 1.223e-06/2.106, allocations: 0 / 1.376 GB, free: 271.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=15): time 0.0002741/2.106, allocations: 118.6 kB / 1.376 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/2.106, allocations: 54.12 kB / 1.376 GB, free: 271.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/2.107, allocations: 162.2 kB / 1.377 GB, free: 271.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/2.107, allocations: 30.39 kB / 1.377 GB, free: 271.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 7.02e-05/2.107, allocations: 142.5 kB / 1.377 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/2.107, allocations: 52.03 kB / 1.377 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-06/2.107, allocations: 3.438 kB / 1.377 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.535e-05/2.107, allocations: 325.7 kB / 1.377 GB, free: 271 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/2.107, allocations: 38.2 kB / 1.377 GB, free: 271 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/2.107, allocations: 137 kB / 1.377 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/2.107, allocations: 59.61 kB / 1.377 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/2.107, allocations: 0 / 1.377 GB, free: 270.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003138/2.107, allocations: 215.2 kB / 1.378 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/2.108, allocations: 5.812 kB / 1.378 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/2.108, allocations: 2.844 kB / 1.378 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/2.108, allocations: 7.766 kB / 1.378 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/2.108, allocations: 61.64 kB / 1.378 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/2.108, allocations: 6.578 kB / 1.378 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/2.108, allocations: 27.16 kB / 1.378 GB, free: 270.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/2.108, allocations: 16.25 kB / 1.378 GB, free: 270.8 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 () * 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.422e-05/2.108, allocations: 125.2 kB / 1.378 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.681e-05/2.108, allocations: 17.31 kB / 1.378 GB, free: 270.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/2.108, allocations: 151 kB / 1.378 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/2.108, allocations: 3.078 kB / 1.378 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/2.108, allocations: 5.453 kB / 1.378 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/2.108, allocations: 1.719 kB / 1.378 GB, free: 270.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002255/2.109, allocations: 221.1 kB / 1.378 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/2.109, allocations: 3.875 kB / 1.378 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/2.109, allocations: 33.3 kB / 1.378 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/2.109, allocations: 4.984 kB / 1.378 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/2.109, allocations: 2.156 kB / 1.378 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/2.109, allocations: 1.875 kB / 1.378 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/2.109, allocations: 0 / 1.378 GB, free: 270.4 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/2.109, allocations: 222.2 kB / 1.378 GB, free: 270.3 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/2.109, allocations: 117.1 kB / 1.379 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/2.109, allocations: 10.23 kB / 1.379 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/2.109, allocations: 5.609 kB / 1.379 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/2.109, allocations: 14.17 kB / 1.379 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/2.109, allocations: 9.984 kB / 1.379 GB, free: 270.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 7.292e-05/2.11, allocations: 116.3 kB / 1.379 GB, free: 270.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.6e-07/2.11, allocations: 1.031 kB / 1.379 GB, free: 270.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003975/2.11, allocations: 88.06 kB / 1.379 GB, free: 270.1 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 () * 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.0002919/2.11, allocations: 176.6 kB / 1.379 GB, free: 270 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.000239/2.11, allocations: 118.7 kB / 1.379 GB, free: 270 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/2.111, allocations: 2.812 kB / 1.379 GB, free: 270 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 6.489e-05/2.111, allocations: 48.42 kB / 1.379 GB, free: 270 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/2.111, allocations: 45.06 kB / 1.379 GB, free: 270 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/2.111, allocations: 174.4 kB / 1.379 GB, free: 269.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/2.112, allocations: 0.719 MB / 1.38 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001811/2.112, allocations: 48.41 kB / 1.38 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/2.112, allocations: 22.62 kB / 1.38 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.91e-07/2.112, allocations: 3.938 kB / 1.38 GB, free: 269.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.009336/2.121, allocations: 3.451 MB / 1.384 GB, free: 269 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterProperties.pipe 2>&1)