Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.63/1.63, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001341/0.001341, allocations: 168.9 kB / 361.4 MB, free: 6.816 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.719/1.719, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.0009403/0.0009402, allocations: 95.06 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.685e-05/2.677e-05, allocations: 7.984 kB / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7298, allocations: 115.3 MB / 0.9643 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9619/1.692, allocations: 380.2 MB / 1.336 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/1.692, allocations: 71.3 kB / 1.336 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04024/1.732, allocations: 19.47 MB / 1.355 GB, free: 169 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.714e-06/1.732, allocations: 0 / 1.355 GB, free: 169 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.732, allocations: 4 kB / 1.355 GB, free: 169 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.0006151/1.733, allocations: 469.5 kB / 1.355 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.733, allocations: 12.03 kB / 1.355 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/1.733, allocations: 24.83 kB / 1.355 GB, free: 168.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/1.733, allocations: 211.6 kB / 1.355 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/1.733, allocations: 8 kB / 1.355 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.055e-05/1.733, allocations: 8 kB / 1.355 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004241/1.734, allocations: 408.8 kB / 1.356 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00027/1.734, allocations: 219.3 kB / 1.356 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/1.734, allocations: 3.938 kB / 1.356 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/1.734, allocations: 0 / 1.356 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/1.734, allocations: 13.39 kB / 1.356 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000932/1.735, allocations: 0.9325 MB / 1.357 GB, free: 166.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/1.735, allocations: 138.5 kB / 1.357 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/1.735, allocations: 51.89 kB / 1.357 GB, free: 166.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/1.737, allocations: 1.914 MB / 1.359 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/1.737, allocations: 42.36 kB / 1.359 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/1.737, allocations: 4 kB / 1.359 GB, free: 164.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=15): time 0.0004646/1.737, allocations: 132.1 kB / 1.359 GB, free: 164.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.603e-05/1.737, allocations: 51.41 kB / 1.359 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/1.737, allocations: 140.2 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/1.737, allocations: 28.8 kB / 1.359 GB, free: 164 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/1.737, allocations: 143 kB / 1.36 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/1.737, allocations: 47.08 kB / 1.36 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.034e-06/1.737, allocations: 0 / 1.36 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.885e-05/1.737, allocations: 330.2 kB / 1.36 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.698e-05/1.737, allocations: 31.23 kB / 1.36 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.461e-05/1.738, allocations: 126.2 kB / 1.36 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/1.738, allocations: 83.62 kB / 1.36 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/1.738, allocations: 4 kB / 1.36 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004281/1.738, allocations: 193.8 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/1.738, allocations: 17.45 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/1.738, allocations: 7.266 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.738, allocations: 4 kB / 1.36 GB, free: 163 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001661/1.739, allocations: 59.34 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/1.739, allocations: 11.94 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/1.739, allocations: 27.64 kB / 1.36 GB, free: 162.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/1.739, allocations: 8 kB / 1.36 GB, free: 162.9 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 6.295e-05/1.739, allocations: 116.7 kB / 1.361 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/1.739, allocations: 21.5 kB / 1.361 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/1.739, allocations: 160.6 kB / 1.361 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.739, allocations: 7.984 kB / 1.361 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/1.739, allocations: 0 / 1.361 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.739, allocations: 0 / 1.361 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001709/1.739, allocations: 184.9 kB / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.739, allocations: 3.938 kB / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001049/1.74, allocations: 35.86 kB / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.74, allocations: 0 / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/1.74, allocations: 8 kB / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/1.74, allocations: 0 / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.74, allocations: 0 / 1.361 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/1.74, allocations: 242.4 kB / 1.361 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 7.385e-05/1.74, allocations: 111.8 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.431e-05/1.74, allocations: 2.5 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/1.74, allocations: 7.938 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/1.74, allocations: 11.98 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/1.74, allocations: 15.55 kB / 1.361 GB, free: 162 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.359e-05/1.74, allocations: 105.2 kB / 1.361 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.74, allocations: 0 / 1.361 GB, free: 161.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003794/1.741, allocations: 67.81 kB / 1.361 GB, free: 161.8 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.0002705/1.741, allocations: 187.6 kB / 1.362 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001946/1.741, allocations: 102.9 kB / 1.362 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.741, allocations: 3.938 kB / 1.362 GB, free: 161.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.401e-05/1.741, allocations: 43.48 kB / 1.362 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/1.742, allocations: 32.61 kB / 1.362 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/1.742, allocations: 166.4 kB / 1.362 GB, free: 161.3 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001537/1.742, allocations: 0.7172 MB / 1.363 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0002042/1.742, allocations: 46.44 kB / 1.363 GB, free: 160.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/1.742, allocations: 19.44 kB / 1.363 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of SimCode: time 3.31e-07/1.742, allocations: 0 / 1.363 GB, free: 160.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005331/1.748, allocations: 2.904 MB / 1.366 GB, free: 157.7 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterProperties.pipe 2>&1)