Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001474/0.001474, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.783/1.783, allocations: 205.3 MB / 0.62 GB, free: 11.62 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.0009079/0.0009079, allocations: 89.12 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.666e-05/1.684e-05, allocations: 0 / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7014/0.7015, allocations: 115.3 MB / 0.9643 GB, free: 79.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9538/1.655, allocations: 377 MB / 1.332 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.656, allocations: 67.31 kB / 1.333 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.02078/1.676, allocations: 11.95 MB / 1.344 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.443e-06/1.676, allocations: 3.938 kB / 1.344 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.581e-06/1.676, allocations: 0 / 1.344 GB, free: 177.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002543/1.677, allocations: 332.1 kB / 1.345 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/1.677, allocations: 9.594 kB / 1.345 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.9e-05/1.677, allocations: 4.219 kB / 1.345 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.1e-05/1.677, allocations: 171 kB / 1.345 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.063e-05/1.677, allocations: 29.69 kB / 1.345 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/1.677, allocations: 3.531 kB / 1.345 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.541e-05/1.677, allocations: 10.97 kB / 1.345 GB, free: 176.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.801e-05/1.677, allocations: 40.69 kB / 1.345 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/1.677, allocations: 0 / 1.345 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/1.677, allocations: 4 kB / 1.345 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/1.677, allocations: 0 / 1.345 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/1.678, allocations: 316.7 kB / 1.345 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.01e-05/1.678, allocations: 18.52 kB / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/1.678, allocations: 8.641 kB / 1.345 GB, free: 176.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/1.678, allocations: 80.86 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/1.678, allocations: 34.56 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.678, allocations: 0 / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001506/1.678, allocations: 37.19 kB / 1.345 GB, free: 176.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.737e-05/1.678, allocations: 52.62 kB / 1.345 GB, free: 176 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.095e-05/1.678, allocations: 96.17 kB / 1.345 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/1.678, allocations: 25.7 kB / 1.345 GB, free: 175.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/1.678, allocations: 95.66 kB / 1.346 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/1.678, allocations: 0 / 1.346 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.825e-06/1.678, allocations: 4.031 kB / 1.346 GB, free: 175.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.065e-05/1.678, allocations: 314.8 kB / 1.346 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.788e-06/1.678, allocations: 7.812 kB / 1.346 GB, free: 175.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/1.678, allocations: 16.91 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.895e-05/1.678, allocations: 7.734 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.678, allocations: 0 / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.006e-05/1.678, allocations: 48.72 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.678, allocations: 3.75 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/1.678, allocations: 9.312 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/1.678, allocations: 0 / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.219e-05/1.678, allocations: 7.094 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/1.678, allocations: 0 / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/1.678, allocations: 12.97 kB / 1.346 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/1.678, allocations: 3.625 kB / 1.346 GB, free: 175.4 MB / 0.8542 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 4.542e-05/1.678, allocations: 109.8 kB / 1.346 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.168e-05/1.679, allocations: 3.984 kB / 1.346 GB, free: 175.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.28e-05/1.679, allocations: 116.8 kB / 1.346 GB, free: 175.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.297e-05/1.679, allocations: 180.2 kB / 1.346 GB, free: 175 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.409e-05/1.679, allocations: 179.4 kB / 1.347 GB, free: 174.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/1.679, allocations: 183.9 kB / 1.347 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/1.679, allocations: 392.9 kB / 1.347 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/1.679, allocations: 101 kB / 1.347 GB, free: 174.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/1.679, allocations: 105 kB / 1.347 GB, free: 174 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-05/1.679, allocations: 183.4 kB / 1.347 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/1.679, allocations: 176.3 kB / 1.348 GB, free: 173.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.632e-05/1.679, allocations: 179.7 kB / 1.348 GB, free: 173.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.984e-05/1.679, allocations: 192.9 kB / 1.348 GB, free: 173.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.278e-05/1.679, allocations: 295 kB / 1.348 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.769e-05/1.679, allocations: 193.7 kB / 1.348 GB, free: 172.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.809e-05/1.679, allocations: 181.4 kB / 1.349 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.679, allocations: 108.2 kB / 1.349 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.331e-05/1.679, allocations: 180.2 kB / 1.349 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/1.679, allocations: 108.2 kB / 1.349 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.423e-05/1.679, allocations: 82.22 kB / 1.349 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.3e-07/1.679, allocations: 0 / 1.349 GB, free: 172.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002166/1.68, allocations: 16.81 kB / 1.349 GB, free: 172.1 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 (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.0001716/1.68, allocations: 208.6 kB / 1.349 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.173e-05/1.68, allocations: 17.92 kB / 1.349 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.68, allocations: 0 / 1.349 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/1.68, allocations: 0 / 1.349 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/1.68, allocations: 0.5243 MB / 1.35 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001439/1.68, allocations: 134.1 kB / 1.35 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/1.68, allocations: 0.6752 MB / 1.351 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.947e-05/1.68, allocations: 12.7 kB / 1.351 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.397e-05/1.68, allocations: 7.438 kB / 1.351 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of SimCode: time 2.51e-07/1.68, allocations: 0 / 1.351 GB, free: 170.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.002369/1.683, allocations: 0.671 MB / 1.351 GB, free: 170.2 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)