Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.524/1.524, allocations: 289.9 MB / 297.4 MB, free: 6.449 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.001057/0.001057, allocations: 184.8 kB / 366.7 MB, free: 1.691 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.468/1.468, allocations: 205.3 MB / 0.626 GB, free: 7.176 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.0008732/0.0008733, allocations: 91.61 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.222e-05/1.224e-05, allocations: 0 / 0.8597 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5845/0.5845, allocations: 116.3 MB / 0.9732 GB, free: 76.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9229/1.507, allocations: 424 MB / 1.387 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/1.508, allocations: 73.02 kB / 1.387 GB, free: 133.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.03179/1.54, allocations: 17.63 MB / 1.405 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.393e-06/1.54, allocations: 0 / 1.405 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.853e-06/1.54, allocations: 4 kB / 1.405 GB, free: 119.1 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.0002693/1.54, allocations: 346.1 kB / 1.405 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/1.54, allocations: 8.031 kB / 1.405 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/1.54, allocations: 7.25 kB / 1.405 GB, free: 118.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.585e-05/1.54, allocations: 174.9 kB / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.662e-05/1.54, allocations: 25.7 kB / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.063e-06/1.54, allocations: 0 / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.522e-05/1.54, allocations: 11.98 kB / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.924e-05/1.54, allocations: 41.38 kB / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/1.54, allocations: 0 / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/1.54, allocations: 0 / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/1.54, allocations: 4 kB / 1.405 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/1.541, allocations: 310.1 kB / 1.406 GB, free: 118 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 3.037e-05/1.541, allocations: 22.55 kB / 1.406 GB, free: 118 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.491e-05/1.541, allocations: 14.41 kB / 1.406 GB, free: 118 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.728e-05/1.541, allocations: 81.11 kB / 1.406 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.622e-05/1.541, allocations: 32.25 kB / 1.406 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/1.541, allocations: 0 / 1.406 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0001637/1.541, allocations: 41.69 kB / 1.406 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.866e-05/1.541, allocations: 51.41 kB / 1.406 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.216e-05/1.541, allocations: 96.62 kB / 1.406 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/1.541, allocations: 25.7 kB / 1.406 GB, free: 117.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.408e-05/1.541, allocations: 87.36 kB / 1.406 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-06/1.541, allocations: 4 kB / 1.406 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/1.541, allocations: 0 / 1.406 GB, free: 117.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.32e-05/1.541, allocations: 318.8 kB / 1.406 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/1.541, allocations: 11.97 kB / 1.406 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/1.541, allocations: 17.34 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.649e-05/1.541, allocations: 8 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/1.541, allocations: 3.984 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.989e-05/1.541, allocations: 43.3 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.541, allocations: 11.98 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/1.541, allocations: 0 / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/1.541, allocations: 4.062 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.858e-05/1.541, allocations: 7.938 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/1.541, allocations: 0 / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.724e-05/1.541, allocations: 4 kB / 1.406 GB, free: 117.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/1.542, allocations: 3.5 kB / 1.406 GB, free: 117.1 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.01e-05/1.542, allocations: 104.9 kB / 1.406 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/1.542, allocations: 4 kB / 1.406 GB, free: 116.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.328e-05/1.542, allocations: 122.8 kB / 1.407 GB, free: 116.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/1.542, allocations: 180.2 kB / 1.407 GB, free: 116.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.637e-05/1.542, allocations: 176.3 kB / 1.407 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/1.542, allocations: 180 kB / 1.407 GB, free: 116.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/1.542, allocations: 385.7 kB / 1.407 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/1.542, allocations: 108.9 kB / 1.408 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/1.542, allocations: 109 kB / 1.408 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.42e-05/1.542, allocations: 184.2 kB / 1.408 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/1.542, allocations: 181.4 kB / 1.408 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.363e-05/1.542, allocations: 180.2 kB / 1.408 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-05/1.542, allocations: 180.2 kB / 1.408 GB, free: 114.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.339e-05/1.542, allocations: 303.8 kB / 1.409 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.665e-05/1.542, allocations: 197.6 kB / 1.409 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/1.542, allocations: 180.2 kB / 1.409 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/1.542, allocations: 105 kB / 1.409 GB, free: 114.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/1.542, allocations: 184.2 kB / 1.409 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/1.542, allocations: 101 kB / 1.409 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.579e-05/1.542, allocations: 90.95 kB / 1.409 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/1.542, allocations: 0 / 1.409 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002201/1.543, allocations: 19.94 kB / 1.409 GB, free: 113.7 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.000206/1.543, allocations: 232.9 kB / 1.41 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 5.695e-05/1.543, allocations: 11.94 kB / 1.41 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/1.543, allocations: 5.25 kB / 1.41 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/1.543, allocations: 0 / 1.41 GB, free: 113.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/1.543, allocations: 0.5262 MB / 1.41 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001341/1.543, allocations: 120.3 kB / 1.41 GB, free: 112.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/1.543, allocations: 0.6806 MB / 1.411 GB, free: 112.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.796e-05/1.543, allocations: 13.22 kB / 1.411 GB, free: 112 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.373e-05/1.543, allocations: 7.438 kB / 1.411 GB, free: 112 MB / 0.8542 GB Notification: Performance of SimCode: time 2.3e-07/1.543, allocations: 4 kB / 1.411 GB, free: 112 MB / 0.8542 GB Notification: Performance of Templates: time 0.002418/1.546, allocations: 0.7958 MB / 1.412 GB, free: 111.3 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)