Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.572/2.572, allocations: 287.5 MB / 303.2 MB, free: 8.293 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.001372/0.001372, allocations: 174.6 kB / 371.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 0.6305 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009347/0.0009345, allocations: 103.2 kB / 0.7438 GB, free: 6.516 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006255/0.0006255, allocations: 11.06 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2131, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.502, allocations: 423.7 MB / 1.393 GB, free: 7.68 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/1.502, allocations: 83.19 kB / 1.393 GB, free: 7.633 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.0741/1.576, allocations: 17.39 MB / 1.41 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.687e-06/1.576, allocations: 0 / 1.41 GB, free: 9.48 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 1.079e-05/1.576, allocations: 0 / 1.41 GB, free: 9.48 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.000606/1.577, allocations: 356.6 kB / 1.41 GB, free: 9.086 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.577, allocations: 12.03 kB / 1.41 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/1.577, allocations: 1.562 kB / 1.41 GB, free: 9.074 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/1.577, allocations: 170.9 kB / 1.411 GB, free: 8.871 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/1.577, allocations: 34.27 kB / 1.411 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/1.577, allocations: 384 / 1.411 GB, free: 8.832 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/1.577, allocations: 45.8 kB / 1.411 GB, free: 8.785 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/1.578, allocations: 3.938 kB / 1.411 GB, free: 8.781 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.708e-05/1.578, allocations: 0 / 1.411 GB, free: 8.781 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/1.578, allocations: 4 kB / 1.411 GB, free: 8.777 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.661e-05/1.578, allocations: 15.92 kB / 1.411 GB, free: 8.762 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006779/1.578, allocations: 339.2 kB / 1.411 GB, free: 8.371 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 6.042e-05/1.579, allocations: 18.58 kB / 1.411 GB, free: 8.344 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.702e-05/1.579, allocations: 8.844 kB / 1.411 GB, free: 8.332 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001357/1.579, allocations: 81.17 kB / 1.411 GB, free: 8.234 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/1.579, allocations: 37.61 kB / 1.411 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 2.945e-06/1.579, allocations: 0 / 1.411 GB, free: 8.191 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0002151/1.579, allocations: 41.64 kB / 1.411 GB, free: 8.145 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/1.579, allocations: 55.39 kB / 1.411 GB, free: 8.078 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/1.579, allocations: 101 kB / 1.411 GB, free: 7.973 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/1.579, allocations: 25.7 kB / 1.411 GB, free: 7.941 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 6.807e-05/1.579, allocations: 87.23 kB / 1.411 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/1.579, allocations: 7.891 kB / 1.411 GB, free: 7.848 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/1.579, allocations: 0 / 1.411 GB, free: 7.848 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.58, allocations: 315.1 kB / 1.412 GB, free: 7.531 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.992e-05/1.58, allocations: 7.188 kB / 1.412 GB, free: 7.527 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.659e-05/1.58, allocations: 17.72 kB / 1.412 GB, free: 7.504 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.207e-05/1.58, allocations: 33.02 kB / 1.412 GB, free: 7.469 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/1.58, allocations: 0 / 1.412 GB, free: 7.469 MB / 0.9323 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000169/1.58, allocations: 49.19 kB / 1.412 GB, free: 7.418 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/1.58, allocations: 8.062 kB / 1.412 GB, free: 7.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.58, allocations: 4 kB / 1.412 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/1.58, allocations: 0 / 1.412 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.497e-05/1.58, allocations: 7.938 kB / 1.412 GB, free: 7.398 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/1.58, allocations: 0 / 1.412 GB, free: 7.398 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.407e-05/1.58, allocations: 0 / 1.412 GB, free: 7.398 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/1.58, allocations: 4 kB / 1.412 GB, free: 7.395 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 0.0001264/1.581, allocations: 117.3 kB / 1.412 GB, free: 7.273 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.349e-05/1.581, allocations: 4 kB / 1.412 GB, free: 7.27 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/1.581, allocations: 124.9 kB / 1.412 GB, free: 7.137 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.065e-05/1.581, allocations: 176.3 kB / 1.412 GB, free: 6.957 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-05/1.581, allocations: 179.8 kB / 1.412 GB, free: 6.777 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-05/1.581, allocations: 184.2 kB / 1.413 GB, free: 6.59 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/1.582, allocations: 401.2 kB / 1.413 GB, free: 6.141 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.255e-05/1.582, allocations: 116.3 kB / 1.413 GB, free: 6.023 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/1.582, allocations: 101 kB / 1.413 GB, free: 5.918 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.283e-05/1.582, allocations: 180.3 kB / 1.413 GB, free: 5.734 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.813e-05/1.582, allocations: 180.2 kB / 1.414 GB, free: 5.551 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.179e-05/1.582, allocations: 176.3 kB / 1.414 GB, free: 5.371 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.775e-05/1.582, allocations: 188.2 kB / 1.414 GB, free: 5.18 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002656/1.582, allocations: 307.1 kB / 1.414 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/1.583, allocations: 193.4 kB / 1.414 GB, free: 4.648 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001174/1.583, allocations: 177.8 kB / 1.415 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003036/1.583, allocations: 116.9 kB / 1.415 GB, free: 4.348 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/1.583, allocations: 184.3 kB / 1.415 GB, free: 4.16 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/1.583, allocations: 109 kB / 1.415 GB, free: 4.047 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 9.847e-05/1.583, allocations: 86.78 kB / 1.415 GB, free: 3.965 MB / 0.9323 GB Notification: Performance of sort global known variables: time 9.02e-07/1.583, allocations: 0 / 1.415 GB, free: 3.965 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005729/1.584, allocations: 19.44 kB / 1.415 GB, free: 3.949 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.0004672/1.585, allocations: 230.5 kB / 1.415 GB, free: 3.711 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0001079/1.585, allocations: 11.5 kB / 1.415 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/1.585, allocations: 0 / 1.415 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 3.687e-06/1.585, allocations: 0 / 1.415 GB, free: 3.703 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007108/1.585, allocations: 0.5264 MB / 1.416 GB, free: 3.172 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003955/1.586, allocations: 191.8 kB / 1.416 GB, free: 2.961 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/1.586, allocations: 0.6773 MB / 1.417 GB, free: 2.258 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 9.999e-05/1.586, allocations: 6 kB / 1.417 GB, free: 2.254 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/1.586, allocations: 11.44 kB / 1.417 GB, free: 2.242 MB / 0.9323 GB Notification: Performance of SimCode: time 1.242e-06/1.586, allocations: 4 kB / 1.417 GB, free: 2.238 MB / 0.9323 GB Notification: Performance of Templates: time 0.007295/1.594, allocations: 1.102 MB / 1.418 GB, free: 1.156 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)