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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.717/1.717, allocations: 293 MB / 309 MB, free: 4.82 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.001106/0.001107, allocations: 180.5 kB / 378.7 MB, free: 1.02 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.355/1.355, allocations: 205.4 MB / 0.6383 GB, free: 8.254 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.000716/0.000716, allocations: 84.58 kB / 0.7527 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003977/0.0003978, allocations: 16 kB / 0.8768 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2167, allocations: 116.4 MB / 0.9904 GB, free: 5.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7824/0.9991, allocations: 378.8 MB / 1.36 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.9994, allocations: 76.48 kB / 1.36 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.4465/1.446, allocations: 12 MB / 1.372 GB, free: 281 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.194e-06/1.446, allocations: 0 / 1.372 GB, free: 281 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.446, allocations: 0 / 1.372 GB, free: 281 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.0002896/1.446, allocations: 339.9 kB / 1.372 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/1.446, allocations: 13.28 kB / 1.372 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/1.446, allocations: 4.812 kB / 1.372 GB, free: 280.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.841e-05/1.446, allocations: 162.6 kB / 1.373 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/1.446, allocations: 33.77 kB / 1.373 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.906e-06/1.447, allocations: 384 / 1.373 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/1.447, allocations: 44.77 kB / 1.373 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/1.447, allocations: 3.938 kB / 1.373 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/1.447, allocations: 4.906 kB / 1.373 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/1.447, allocations: 2.922 kB / 1.373 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.902e-05/1.447, allocations: 15.73 kB / 1.373 GB, free: 280.4 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/1.447, allocations: 336.5 kB / 1.373 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.309e-05/1.447, allocations: 16.52 kB / 1.373 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/1.447, allocations: 6.078 kB / 1.373 GB, free: 280 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-05/1.447, allocations: 90 kB / 1.373 GB, free: 279.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/1.447, allocations: 36.09 kB / 1.373 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.362e-06/1.447, allocations: 0 / 1.373 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001397/1.447, allocations: 40.55 kB / 1.373 GB, free: 279.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/1.447, allocations: 51.41 kB / 1.373 GB, free: 279.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.776e-05/1.448, allocations: 102.2 kB / 1.373 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.077e-06/1.448, allocations: 27.58 kB / 1.373 GB, free: 279.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.129e-05/1.448, allocations: 87.42 kB / 1.374 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.019e-06/1.448, allocations: 0 / 1.374 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-06/1.448, allocations: 0 / 1.374 GB, free: 279.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.506e-05/1.448, allocations: 317.3 kB / 1.374 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/1.448, allocations: 5.031 kB / 1.374 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/1.448, allocations: 14.38 kB / 1.374 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.628e-05/1.448, allocations: 32.19 kB / 1.374 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.448, allocations: 0 / 1.374 GB, free: 279.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.797e-05/1.448, allocations: 55.14 kB / 1.374 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/1.448, allocations: 7.156 kB / 1.374 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.448, allocations: 0 / 1.374 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/1.448, allocations: 3.656 kB / 1.374 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/1.448, allocations: 6 kB / 1.374 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/1.448, allocations: 0.625 kB / 1.374 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.229e-05/1.448, allocations: 6.844 kB / 1.374 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/1.448, allocations: 3.328 kB / 1.374 GB, free: 279.1 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 () * Number of clocked 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 5.913e-05/1.448, allocations: 115.9 kB / 1.374 GB, free: 279 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.578e-05/1.448, allocations: 4.625 kB / 1.374 GB, free: 279 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.929e-05/1.448, allocations: 117.1 kB / 1.374 GB, free: 278.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.56e-05/1.448, allocations: 186.6 kB / 1.374 GB, free: 278.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.668e-05/1.448, allocations: 179.5 kB / 1.375 GB, free: 278.5 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/1.448, allocations: 182.7 kB / 1.375 GB, free: 278.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/1.449, allocations: 410.1 kB / 1.375 GB, free: 277.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/1.449, allocations: 108.7 kB / 1.375 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/1.449, allocations: 102.8 kB / 1.375 GB, free: 277.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.072e-05/1.449, allocations: 181.3 kB / 1.375 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/1.449, allocations: 179.5 kB / 1.376 GB, free: 277.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.214e-05/1.449, allocations: 184.8 kB / 1.376 GB, free: 277.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.29e-05/1.449, allocations: 184.7 kB / 1.376 GB, free: 277 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.934e-05/1.449, allocations: 308.2 kB / 1.376 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/1.449, allocations: 192.7 kB / 1.376 GB, free: 276.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.096e-05/1.449, allocations: 177.3 kB / 1.377 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/1.449, allocations: 113.6 kB / 1.377 GB, free: 276.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/1.449, allocations: 180.3 kB / 1.377 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/1.449, allocations: 108.3 kB / 1.377 GB, free: 275.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.234e-05/1.449, allocations: 86.28 kB / 1.377 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.21e-07/1.449, allocations: 0 / 1.377 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002719/1.449, allocations: 14.41 kB / 1.377 GB, free: 275.8 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 (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.0002038/1.45, allocations: 209 kB / 1.377 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.417e-05/1.45, allocations: 8.047 kB / 1.377 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/1.45, allocations: 0 / 1.377 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/1.45, allocations: 0 / 1.377 GB, free: 275.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/1.45, allocations: 0.5354 MB / 1.378 GB, free: 275.1 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/1.45, allocations: 189.1 kB / 1.378 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/1.451, allocations: 0.6762 MB / 1.379 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.625e-05/1.451, allocations: 10.94 kB / 1.379 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.933e-05/1.451, allocations: 9.094 kB / 1.379 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of SimCode: time 2.3e-07/1.451, allocations: 0 / 1.379 GB, free: 274.2 MB / 0.9323 GB Notification: Performance of Templates: time 0.003242/1.454, allocations: 0.7943 MB / 1.379 GB, free: 274.2 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)