Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.592/1.592, allocations: 289.7 MB / 302.2 MB, free: 2.211 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.00126/0.001261, allocations: 182.3 kB / 371.6 MB, free: 3.371 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.823/1.823, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009722/0.0009721, allocations: 90.94 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.289e-05/4.292e-05, allocations: 0 / 0.8662 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 116.3 MB / 0.9798 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.108/1.412, allocations: 378.6 MB / 1.35 GB, free: 2.137 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002874/1.412, allocations: 73.09 kB / 1.35 GB, free: 2.102 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.02531/1.438, allocations: 11.99 MB / 1.361 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.164e-06/1.438, allocations: 0 / 1.361 GB, free: 8.863 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.919e-06/1.438, allocations: 0 / 1.361 GB, free: 8.863 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003556/1.438, allocations: 335.6 kB / 1.362 GB, free: 8.496 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.438, allocations: 8.031 kB / 1.362 GB, free: 8.488 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.921e-05/1.438, allocations: 5.719 kB / 1.362 GB, free: 8.484 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/1.438, allocations: 165 kB / 1.362 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/1.438, allocations: 32.95 kB / 1.362 GB, free: 8.25 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/1.438, allocations: 4 kB / 1.362 GB, free: 8.246 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/1.439, allocations: 37.27 kB / 1.362 GB, free: 8.207 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/1.439, allocations: 6.953 kB / 1.362 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/1.439, allocations: 0 / 1.362 GB, free: 8.203 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.571e-05/1.439, allocations: 3.984 kB / 1.362 GB, free: 8.199 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.304e-05/1.439, allocations: 11.38 kB / 1.362 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/1.439, allocations: 338 kB / 1.362 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.787e-05/1.439, allocations: 14.58 kB / 1.362 GB, free: 7.777 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.572e-05/1.439, allocations: 4.859 kB / 1.362 GB, free: 7.77 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.746e-05/1.439, allocations: 89.17 kB / 1.362 GB, free: 7.664 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.67e-05/1.439, allocations: 38.48 kB / 1.362 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/1.439, allocations: 0 / 1.362 GB, free: 7.621 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/1.44, allocations: 29.7 kB / 1.362 GB, free: 7.586 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.44, allocations: 55.34 kB / 1.362 GB, free: 7.52 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.15e-05/1.44, allocations: 103 kB / 1.363 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/1.44, allocations: 28.33 kB / 1.363 GB, free: 7.387 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/1.44, allocations: 92.69 kB / 1.363 GB, free: 7.293 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 7.615e-06/1.44, allocations: 4 kB / 1.363 GB, free: 7.289 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-06/1.44, allocations: 0 / 1.363 GB, free: 7.289 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.44, allocations: 313.8 kB / 1.363 GB, free: 6.977 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.71e-05/1.44, allocations: 4 kB / 1.363 GB, free: 6.973 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.114e-05/1.44, allocations: 17.89 kB / 1.363 GB, free: 6.949 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.607e-05/1.44, allocations: 11.86 kB / 1.363 GB, free: 6.941 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/1.44, allocations: 4 kB / 1.363 GB, free: 6.938 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.559e-05/1.44, allocations: 41.64 kB / 1.363 GB, free: 6.891 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/1.44, allocations: 7.984 kB / 1.363 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/1.44, allocations: 0 / 1.363 GB, free: 6.883 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.44, allocations: 4 kB / 1.363 GB, free: 6.879 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.914e-05/1.44, allocations: 4 kB / 1.363 GB, free: 6.875 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/1.44, allocations: 4.531 kB / 1.363 GB, free: 6.875 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.044e-05/1.44, allocations: 7.844 kB / 1.363 GB, free: 6.867 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/1.44, allocations: 11.83 kB / 1.363 GB, free: 6.859 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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.742e-05/1.44, allocations: 105 kB / 1.363 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.161e-05/1.441, allocations: 0 / 1.363 GB, free: 6.75 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/1.441, allocations: 125.3 kB / 1.363 GB, free: 6.625 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.261e-05/1.441, allocations: 180.3 kB / 1.363 GB, free: 6.441 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.41e-05/1.441, allocations: 180.2 kB / 1.364 GB, free: 6.258 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.309e-05/1.441, allocations: 180.3 kB / 1.364 GB, free: 6.074 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/1.441, allocations: 413 kB / 1.364 GB, free: 5.617 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.544e-05/1.441, allocations: 104.9 kB / 1.364 GB, free: 5.508 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/1.441, allocations: 106.6 kB / 1.364 GB, free: 5.398 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001049/1.441, allocations: 184.2 kB / 1.365 GB, free: 5.211 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/1.441, allocations: 179.8 kB / 1.365 GB, free: 5.031 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.142e-05/1.441, allocations: 182.4 kB / 1.365 GB, free: 4.848 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.515e-05/1.442, allocations: 180.2 kB / 1.365 GB, free: 4.664 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001485/1.442, allocations: 311.1 kB / 1.365 GB, free: 4.34 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.038e-05/1.442, allocations: 182.1 kB / 1.366 GB, free: 4.137 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/1.442, allocations: 188.2 kB / 1.366 GB, free: 3.945 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.442, allocations: 105 kB / 1.366 GB, free: 3.836 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/1.442, allocations: 179.5 kB / 1.366 GB, free: 3.656 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/1.442, allocations: 108.9 kB / 1.366 GB, free: 3.543 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 6.466e-05/1.442, allocations: 87.83 kB / 1.366 GB, free: 3.461 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.11e-07/1.442, allocations: 0 / 1.366 GB, free: 3.461 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002347/1.442, allocations: 12 kB / 1.366 GB, free: 3.449 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0002791/1.443, allocations: 209.9 kB / 1.366 GB, free: 3.238 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 8.031e-05/1.443, allocations: 8.062 kB / 1.366 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/1.443, allocations: 0 / 1.366 GB, free: 3.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 4.378e-06/1.443, allocations: 7.125 kB / 1.366 GB, free: 3.227 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/1.443, allocations: 0.527 MB / 1.367 GB, free: 2.695 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002657/1.444, allocations: 135.6 kB / 1.367 GB, free: 2.547 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004149/1.444, allocations: 0.6849 MB / 1.368 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.988e-05/1.444, allocations: 4.969 kB / 1.368 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/1.444, allocations: 11.44 kB / 1.368 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of SimCode: time 2.4e-07/1.444, allocations: 1.594 kB / 1.368 GB, free: 1.82 MB / 0.9323 GB Notification: Performance of Templates: time 0.003607/1.448, allocations: 0.8341 MB / 1.369 GB, free: 1.016 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)