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.723/1.723, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001177/0.001177, allocations: 177 kB / 377.1 MB, free: 1.523 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.798/1.798, allocations: 205.4 MB / 0.6367 GB, free: 8.613 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.0009671/0.0009673, allocations: 91.53 kB / 0.751 GB, free: 63.09 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003537/0.0003537, allocations: 8 kB / 0.8748 GB, free: 11.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.327, allocations: 116.3 MB / 0.9883 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.804/2.131, allocations: 424.8 MB / 1.403 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/2.132, allocations: 71.94 kB / 1.403 GB, free: 255.5 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.03539/2.167, allocations: 17.77 MB / 1.421 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.266e-06/2.167, allocations: 0 / 1.421 GB, free: 253.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.067e-05/2.167, allocations: 4.875 kB / 1.421 GB, free: 253.4 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.000443/2.168, allocations: 351.4 kB / 1.421 GB, free: 253 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/2.168, allocations: 10.38 kB / 1.421 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.24e-05/2.168, allocations: 3.562 kB / 1.421 GB, free: 253 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/2.168, allocations: 169.7 kB / 1.421 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.463e-05/2.168, allocations: 29.7 kB / 1.421 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/2.168, allocations: 6.562 kB / 1.421 GB, free: 252.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/2.168, allocations: 47.19 kB / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/2.168, allocations: 0 / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/2.168, allocations: 0 / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/2.168, allocations: 4.359 kB / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.629e-05/2.168, allocations: 13.75 kB / 1.421 GB, free: 252.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000429/2.169, allocations: 337.6 kB / 1.422 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.493e-05/2.169, allocations: 18.58 kB / 1.422 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.87e-05/2.169, allocations: 88.05 kB / 1.422 GB, free: 252.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/2.169, allocations: 32.75 kB / 1.422 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/2.169, allocations: 0 / 1.422 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001572/2.169, allocations: 38.28 kB / 1.422 GB, free: 252.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/2.169, allocations: 55.34 kB / 1.422 GB, free: 252.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.261e-05/2.169, allocations: 102.5 kB / 1.422 GB, free: 252 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/2.169, allocations: 25.7 kB / 1.422 GB, free: 252 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/2.169, allocations: 84.89 kB / 1.422 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.55e-06/2.169, allocations: 0 / 1.422 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/2.169, allocations: 3 kB / 1.422 GB, free: 251.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.021e-05/2.169, allocations: 318 kB / 1.422 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/2.169, allocations: 10.5 kB / 1.422 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.037e-05/2.169, allocations: 16.09 kB / 1.422 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.075e-05/2.17, allocations: 7.219 kB / 1.422 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/2.17, allocations: 0 / 1.422 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.544e-05/2.17, allocations: 46.78 kB / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/2.17, allocations: 11.22 kB / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/2.17, allocations: 4.297 kB / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/2.17, allocations: 0 / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.455e-05/2.17, allocations: 7.375 kB / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/2.17, allocations: 0 / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/2.17, allocations: 10.25 kB / 1.422 GB, free: 251.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/2.17, allocations: 288 / 1.422 GB, free: 251.5 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.087e-05/2.17, allocations: 114 kB / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.669e-05/2.17, allocations: 0 / 1.422 GB, free: 251.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/2.17, allocations: 122.6 kB / 1.423 GB, free: 251.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/2.17, allocations: 183.4 kB / 1.423 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.052e-05/2.17, allocations: 183.3 kB / 1.423 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.087e-05/2.17, allocations: 184.3 kB / 1.423 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/2.17, allocations: 403.6 kB / 1.424 GB, free: 250.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.85e-05/2.17, allocations: 108.9 kB / 1.424 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.692e-05/2.17, allocations: 107.1 kB / 1.424 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.724e-05/2.17, allocations: 179.8 kB / 1.424 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/2.17, allocations: 184.8 kB / 1.424 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.722e-05/2.17, allocations: 179.9 kB / 1.424 GB, free: 249.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-05/2.17, allocations: 180.2 kB / 1.424 GB, free: 249.3 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.934e-05/2.171, allocations: 305 kB / 1.425 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/2.171, allocations: 198.8 kB / 1.425 GB, free: 248.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/2.171, allocations: 177 kB / 1.425 GB, free: 248.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/2.171, allocations: 113.7 kB / 1.425 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/2.171, allocations: 181.1 kB / 1.425 GB, free: 248.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/2.171, allocations: 104.2 kB / 1.425 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 3.915e-05/2.171, allocations: 88.77 kB / 1.426 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.21e-07/2.171, allocations: 0 / 1.426 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000292/2.171, allocations: 23.19 kB / 1.426 GB, free: 248.2 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.0002663/2.171, allocations: 237.8 kB / 1.426 GB, free: 248 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 7.575e-05/2.172, allocations: 6.219 kB / 1.426 GB, free: 248 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/2.172, allocations: 4.125 kB / 1.426 GB, free: 248 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/2.172, allocations: 0 / 1.426 GB, free: 248 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/2.172, allocations: 0.5257 MB / 1.426 GB, free: 247.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002571/2.172, allocations: 190.3 kB / 1.426 GB, free: 247.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001446/2.172, allocations: 0.6832 MB / 1.427 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.856e-05/2.172, allocations: 2.875 kB / 1.427 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.201e-05/2.172, allocations: 7.438 kB / 1.427 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of SimCode: time 4.21e-07/2.172, allocations: 3.219 kB / 1.427 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of Templates: time 0.003673/2.176, allocations: 1.099 MB / 1.428 GB, free: 246.4 MB / 0.9323 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)