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.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.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.1-maint.8.1.x/package.mo): time 1.674/1.674, allocations: 293 MB / 309 MB, free: 4.805 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.001124/0.001124, allocations: 182.7 kB / 378.7 MB, free: 0.9883 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.71/1.71, allocations: 205.4 MB / 0.6383 GB, free: 8.207 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.0009335/0.0009338, allocations: 93.28 kB / 0.7527 GB, free: 62.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000388/0.000388, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2594, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.524/1.783, allocations: 424.9 MB / 1.405 GB, free: 280.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/1.784, allocations: 69.19 kB / 1.405 GB, free: 280.2 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.0341/1.818, allocations: 17.4 MB / 1.422 GB, free: 278.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.435e-06/1.818, allocations: 0 / 1.422 GB, free: 278.2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.305e-06/1.818, allocations: 3.094 kB / 1.422 GB, free: 278.2 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.0003332/1.818, allocations: 357.8 kB / 1.423 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/1.818, allocations: 10.34 kB / 1.423 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/1.818, allocations: 1.562 kB / 1.423 GB, free: 277.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/1.818, allocations: 168.2 kB / 1.423 GB, free: 277.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.112e-05/1.819, allocations: 26.27 kB / 1.423 GB, free: 277.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/1.819, allocations: 7.594 kB / 1.423 GB, free: 277.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/1.819, allocations: 46.12 kB / 1.423 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.819, allocations: 3.938 kB / 1.423 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/1.819, allocations: 4.938 kB / 1.423 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/1.819, allocations: 3.281 kB / 1.423 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.021e-05/1.819, allocations: 12.62 kB / 1.423 GB, free: 277.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/1.819, allocations: 334 kB / 1.423 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.897e-05/1.819, allocations: 25.33 kB / 1.423 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/1.819, allocations: 4.859 kB / 1.423 GB, free: 277.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 6.703e-05/1.819, allocations: 94.55 kB / 1.423 GB, free: 277 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.568e-05/1.819, allocations: 30.56 kB / 1.423 GB, free: 277 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/1.819, allocations: 0 / 1.423 GB, free: 277 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001429/1.82, allocations: 32.39 kB / 1.424 GB, free: 276.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/1.82, allocations: 58.5 kB / 1.424 GB, free: 276.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.413e-05/1.82, allocations: 100.2 kB / 1.424 GB, free: 276.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/1.82, allocations: 29.14 kB / 1.424 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/1.82, allocations: 90.52 kB / 1.424 GB, free: 276.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-06/1.82, allocations: 7.906 kB / 1.424 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/1.82, allocations: 0 / 1.424 GB, free: 276.6 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.286e-05/1.82, allocations: 310.9 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.317e-05/1.82, allocations: 11.66 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/1.82, allocations: 20.11 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/1.82, allocations: 23.69 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.82, allocations: 4 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.088e-05/1.82, allocations: 49.31 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/1.82, allocations: 6.625 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/1.82, allocations: 0.6875 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.82, allocations: 3.188 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.95e-05/1.82, allocations: 6.562 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/1.82, allocations: 0 / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.03e-05/1.82, allocations: 1.219 kB / 1.424 GB, free: 276.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/1.82, allocations: 3.344 kB / 1.424 GB, free: 276.3 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 6.198e-05/1.82, allocations: 120.5 kB / 1.424 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.087e-05/1.82, allocations: 4.562 kB / 1.424 GB, free: 276.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.445e-05/1.82, allocations: 115.4 kB / 1.424 GB, free: 276 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/1.82, allocations: 176.3 kB / 1.425 GB, free: 275.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.528e-05/1.82, allocations: 189.9 kB / 1.425 GB, free: 275.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-05/1.82, allocations: 180.3 kB / 1.425 GB, free: 275.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/1.821, allocations: 410.9 kB / 1.425 GB, free: 275 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.861e-05/1.821, allocations: 101.9 kB / 1.425 GB, free: 274.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/1.821, allocations: 101 kB / 1.426 GB, free: 274.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.032e-05/1.821, allocations: 186.8 kB / 1.426 GB, free: 274.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/1.821, allocations: 176.3 kB / 1.426 GB, free: 274.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.671e-05/1.821, allocations: 185.1 kB / 1.426 GB, free: 274.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-05/1.821, allocations: 182.8 kB / 1.426 GB, free: 274.1 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.71e-05/1.821, allocations: 310 kB / 1.427 GB, free: 273.8 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/1.821, allocations: 185.1 kB / 1.427 GB, free: 273.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/1.821, allocations: 187.5 kB / 1.427 GB, free: 273.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.821, allocations: 111.4 kB / 1.427 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/1.821, allocations: 184.1 kB / 1.427 GB, free: 273.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/1.821, allocations: 104.3 kB / 1.427 GB, free: 273 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 2.851e-05/1.821, allocations: 81.77 kB / 1.427 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/1.821, allocations: 0 / 1.427 GB, free: 272.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002734/1.821, allocations: 29.59 kB / 1.427 GB, free: 272.9 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.0002355/1.822, allocations: 233.1 kB / 1.428 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 6.764e-05/1.822, allocations: 10.19 kB / 1.428 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/1.822, allocations: 3.344 kB / 1.428 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/1.822, allocations: 0 / 1.428 GB, free: 272.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/1.822, allocations: 0.5283 MB / 1.428 GB, free: 272.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002263/1.822, allocations: 183.4 kB / 1.428 GB, free: 272 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/1.822, allocations: 0.677 MB / 1.429 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 4.119e-05/1.822, allocations: 13.02 kB / 1.429 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/1.822, allocations: 14.27 kB / 1.429 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of SimCode: time 2.21e-07/1.823, allocations: 0 / 1.429 GB, free: 271.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.003175/1.826, allocations: 1.103 MB / 1.43 GB, free: 271.2 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)