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.541/1.541, allocations: 289.9 MB / 297.4 MB, free: 6.32 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.000994/0.000994, allocations: 184.9 kB / 366.7 MB, free: 1.637 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.296/1.296, allocations: 205.2 MB / 0.626 GB, free: 7.164 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.0008573/0.0008571, allocations: 94.33 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.347e-05/1.349e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6478/0.6478, allocations: 116.3 MB / 0.9732 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8994/1.547, allocations: 381.2 MB / 1.346 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002035/1.548, allocations: 77.39 kB / 1.346 GB, free: 173.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03976/1.587, allocations: 19.46 MB / 1.365 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.565e-06/1.587, allocations: 4 kB / 1.365 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.185e-06/1.587, allocations: 4 kB / 1.365 GB, free: 158.8 MB / 0.8542 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.0006342/1.588, allocations: 471.7 kB / 1.365 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/1.588, allocations: 8.031 kB / 1.365 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001648/1.588, allocations: 19.81 kB / 1.365 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/1.588, allocations: 220.9 kB / 1.365 GB, free: 158 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/1.589, allocations: 8 kB / 1.365 GB, free: 158 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/1.589, allocations: 8 kB / 1.365 GB, free: 158 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004282/1.589, allocations: 411.6 kB / 1.366 GB, free: 157.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/1.589, allocations: 223.6 kB / 1.366 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.589, allocations: 0 / 1.366 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/1.589, allocations: 0 / 1.366 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/1.589, allocations: 11.94 kB / 1.366 GB, free: 157.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008827/1.59, allocations: 0.9426 MB / 1.367 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/1.59, allocations: 137.3 kB / 1.367 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.369e-05/1.591, allocations: 48.17 kB / 1.367 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009938/1.592, allocations: 1.921 MB / 1.369 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/1.592, allocations: 37.88 kB / 1.369 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/1.592, allocations: 0 / 1.369 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004343/1.592, allocations: 138.5 kB / 1.369 GB, free: 154 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/1.592, allocations: 51.41 kB / 1.369 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.715e-05/1.592, allocations: 131 kB / 1.369 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/1.592, allocations: 29.7 kB / 1.369 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/1.592, allocations: 139.3 kB / 1.369 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/1.592, allocations: 50.89 kB / 1.369 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.755e-06/1.592, allocations: 4 kB / 1.369 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.11e-05/1.592, allocations: 326.1 kB / 1.37 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.189e-05/1.592, allocations: 27.5 kB / 1.37 GB, free: 153.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.63e-05/1.593, allocations: 136.2 kB / 1.37 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002846/1.593, allocations: 78.12 kB / 1.37 GB, free: 153 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.593, allocations: 0 / 1.37 GB, free: 153 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004083/1.593, allocations: 197.4 kB / 1.37 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/1.593, allocations: 8 kB / 1.37 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.593, allocations: 4 kB / 1.37 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/1.593, allocations: 4 kB / 1.37 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/1.593, allocations: 63.66 kB / 1.37 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/1.593, allocations: 7.938 kB / 1.37 GB, free: 152.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/1.594, allocations: 27.64 kB / 1.37 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/1.594, allocations: 15.98 kB / 1.37 GB, free: 152.7 MB / 0.8542 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.41e-05/1.594, allocations: 116.8 kB / 1.37 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.319e-05/1.594, allocations: 15.81 kB / 1.37 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004478/1.594, allocations: 160.9 kB / 1.371 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.594, allocations: 6 kB / 1.371 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.594, allocations: 0 / 1.371 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.594, allocations: 0 / 1.371 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001836/1.594, allocations: 192.4 kB / 1.371 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.594, allocations: 0 / 1.371 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/1.595, allocations: 35.91 kB / 1.371 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/1.595, allocations: 4 kB / 1.371 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/1.595, allocations: 4 kB / 1.371 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.595, allocations: 0 / 1.371 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.595, allocations: 0 / 1.371 GB, free: 152.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003668/1.595, allocations: 238.3 kB / 1.371 GB, free: 152 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/1.595, allocations: 108.2 kB / 1.371 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/1.595, allocations: 0 / 1.371 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/1.595, allocations: 11.98 kB / 1.371 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.697e-05/1.595, allocations: 15.48 kB / 1.371 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/1.595, allocations: 12.05 kB / 1.371 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.306e-05/1.595, allocations: 101.5 kB / 1.371 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.595, allocations: 0 / 1.371 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00037/1.596, allocations: 78.92 kB / 1.371 GB, free: 151.6 MB / 0.8542 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.000242/1.596, allocations: 188.4 kB / 1.372 GB, free: 151.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001699/1.596, allocations: 108.6 kB / 1.372 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.596, allocations: 3.938 kB / 1.372 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.4e-05/1.596, allocations: 39.61 kB / 1.372 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/1.597, allocations: 29.16 kB / 1.372 GB, free: 151.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000443/1.597, allocations: 164.9 kB / 1.372 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/1.597, allocations: 0.7228 MB / 1.373 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001651/1.597, allocations: 42.66 kB / 1.373 GB, free: 150.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/1.597, allocations: 23.42 kB / 1.373 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/1.597, allocations: 0 / 1.373 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.005294/1.603, allocations: 2.898 MB / 1.375 GB, free: 147.5 MB / 0.8542 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)