Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.747/1.747, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 186.8 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 223.2 MB / 0.6626 GB, free: 4.312 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008508/0.0008512, allocations: 98.97 kB / 0.7808 GB, free: 50.45 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004453, allocations: 11.94 kB / 0.9088 GB, free: 2.887 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9051/0.9055, allocations: 120.3 MB / 1.026 GB, free: 55.83 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/2.05, allocations: 427.2 MB / 1.443 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/2.05, allocations: 75.09 kB / 1.444 GB, free: 247.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.04693/2.097, allocations: 18.72 MB / 1.462 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.405e-06/2.097, allocations: 1.094 kB / 1.462 GB, free: 244.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 9.618e-06/2.097, allocations: 0 / 1.462 GB, free: 244.9 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.0005159/2.098, allocations: 364.7 kB / 1.462 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/2.098, allocations: 8.781 kB / 1.462 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.812e-05/2.098, allocations: 2.281 kB / 1.462 GB, free: 244.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/2.098, allocations: 162.4 kB / 1.462 GB, free: 244.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/2.098, allocations: 31.16 kB / 1.462 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/2.098, allocations: 1.75 kB / 1.462 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/2.098, allocations: 47.88 kB / 1.462 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/2.098, allocations: 3.938 kB / 1.462 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/2.098, allocations: 4.75 kB / 1.462 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/2.098, allocations: 5.281 kB / 1.462 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/2.098, allocations: 18.02 kB / 1.462 GB, free: 244.3 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/2.099, allocations: 333.4 kB / 1.463 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 4.612e-05/2.099, allocations: 20.64 kB / 1.463 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.769e-05/2.099, allocations: 5.703 kB / 1.463 GB, free: 243.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/2.099, allocations: 86.11 kB / 1.463 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.186e-05/2.099, allocations: 31.94 kB / 1.463 GB, free: 243.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.502e-06/2.099, allocations: 3.938 kB / 1.463 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001634/2.099, allocations: 39.3 kB / 1.463 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/2.099, allocations: 53.75 kB / 1.463 GB, free: 243.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.702e-05/2.099, allocations: 102.6 kB / 1.463 GB, free: 243.6 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/2.099, allocations: 26.52 kB / 1.463 GB, free: 243.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/2.099, allocations: 85.2 kB / 1.463 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/2.099, allocations: 9.094 kB / 1.463 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-06/2.099, allocations: 0 / 1.463 GB, free: 243.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.431e-05/2.099, allocations: 315.6 kB / 1.463 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/2.099, allocations: 6.359 kB / 1.463 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/2.099, allocations: 12.91 kB / 1.464 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.007e-05/2.099, allocations: 27.78 kB / 1.464 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/2.099, allocations: 5.062 kB / 1.464 GB, free: 243.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.714e-05/2.1, allocations: 53.75 kB / 1.464 GB, free: 243 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/2.1, allocations: 5.344 kB / 1.464 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/2.1, allocations: 3.844 kB / 1.464 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/2.1, allocations: 8.703 kB / 1.464 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/2.1, allocations: 4.906 kB / 1.464 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/2.1, allocations: 0 / 1.464 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.184e-05/2.1, allocations: 1.312 kB / 1.464 GB, free: 243 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/2.1, allocations: 2.25 kB / 1.464 GB, free: 243 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 7.324e-05/2.1, allocations: 115.9 kB / 1.464 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.772e-05/2.1, allocations: 1.281 kB / 1.464 GB, free: 242.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001176/2.1, allocations: 124.5 kB / 1.464 GB, free: 242.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.664e-05/2.1, allocations: 177.1 kB / 1.464 GB, free: 242.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.035e-05/2.1, allocations: 177.3 kB / 1.464 GB, free: 242.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-05/2.1, allocations: 188.7 kB / 1.464 GB, free: 242.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/2.1, allocations: 407.3 kB / 1.465 GB, free: 241.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.346e-05/2.1, allocations: 106.2 kB / 1.465 GB, free: 241.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/2.1, allocations: 102.8 kB / 1.465 GB, free: 241.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.033e-05/2.1, allocations: 177.2 kB / 1.465 GB, free: 241.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/2.1, allocations: 188.4 kB / 1.465 GB, free: 241.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.456e-05/2.101, allocations: 185.3 kB / 1.465 GB, free: 241 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-05/2.101, allocations: 181.2 kB / 1.466 GB, free: 240.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/2.101, allocations: 312.9 kB / 1.466 GB, free: 240.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 5.317e-05/2.101, allocations: 183 kB / 1.466 GB, free: 240.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.362e-05/2.101, allocations: 183.5 kB / 1.466 GB, free: 240.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/2.101, allocations: 111.8 kB / 1.466 GB, free: 240 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.034e-05/2.101, allocations: 177 kB / 1.467 GB, free: 239.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/2.101, allocations: 109.5 kB / 1.467 GB, free: 239.8 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 4.248e-05/2.101, allocations: 88.11 kB / 1.467 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.5e-07/2.101, allocations: 0 / 1.467 GB, free: 239.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0003207/2.101, allocations: 22.06 kB / 1.467 GB, free: 239.7 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.0003083/2.102, allocations: 233.1 kB / 1.467 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.547e-05/2.102, allocations: 6.219 kB / 1.467 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/2.102, allocations: 3.938 kB / 1.467 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.587e-06/2.102, allocations: 5.016 kB / 1.467 GB, free: 239.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/2.102, allocations: 0.5277 MB / 1.468 GB, free: 239 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/2.102, allocations: 188.7 kB / 1.468 GB, free: 238.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001816/2.103, allocations: 0.676 MB / 1.468 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 5.201e-05/2.103, allocations: 10.75 kB / 1.468 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.395e-05/2.103, allocations: 8.562 kB / 1.468 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of SimCode: time 4.21e-07/2.103, allocations: 0 / 1.468 GB, free: 238.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.004267/2.107, allocations: 1.155 MB / 1.47 GB, free: 238 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)