Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001069, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.631/1.631, allocations: 251.9 MB / 0.51 GB, free: 4.863 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007008/0.0007013, allocations: 16 kB / 0.6241 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6667/0.6675, allocations: 106.3 MB / 0.7279 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004614/0.6721, allocations: 3.167 MB / 0.731 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001774/0.6724, allocations: 127.7 kB / 0.7312 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.583e-05/0.6724, allocations: 0 / 0.7312 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.6725, allocations: 0 / 0.7312 GB, free: 8.125 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.406e-05/0.6726, allocations: 15.91 kB / 0.7312 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.6729, allocations: 51.91 kB / 0.7312 GB, free: 8.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.6729, allocations: 19.97 kB / 0.7312 GB, free: 8.039 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.169e-05/0.673, allocations: 3.984 kB / 0.7312 GB, free: 8.035 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.778e-05/0.673, allocations: 11.94 kB / 0.7313 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.211e-05/0.6731, allocations: 8 kB / 0.7313 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.6731, allocations: 0 / 0.7313 GB, free: 8.016 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.6737, allocations: 151.7 kB / 0.7314 GB, free: 7.867 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.477e-05/0.6737, allocations: 7.984 kB / 0.7314 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.876e-05/0.6737, allocations: 33.7 kB / 0.7315 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.6739, allocations: 29.94 kB / 0.7315 GB, free: 7.793 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.6739, allocations: 4 kB / 0.7315 GB, free: 7.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6739, allocations: 0 / 0.7315 GB, free: 7.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.6739, allocations: 0 / 0.7315 GB, free: 7.789 MB / 0.545 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.000437/0.6743, allocations: 331.3 kB / 0.7318 GB, free: 7.418 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6744, allocations: 8.031 kB / 0.7318 GB, free: 7.41 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.987e-05/0.6744, allocations: 7.953 kB / 0.7318 GB, free: 7.402 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.6746, allocations: 163 kB / 0.732 GB, free: 7.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.916e-05/0.6747, allocations: 33.64 kB / 0.732 GB, free: 7.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.518e-06/0.6747, allocations: 4 kB / 0.732 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.6748, allocations: 41.67 kB / 0.732 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.6749, allocations: 0 / 0.732 GB, free: 7.113 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.6749, allocations: 4 kB / 0.7321 GB, free: 7.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.165e-05/0.6749, allocations: 3.953 kB / 0.7321 GB, free: 7.105 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.901e-05/0.675, allocations: 19.98 kB / 0.7321 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.6755, allocations: 330 kB / 0.7324 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.806e-05/0.6755, allocations: 18.58 kB / 0.7324 GB, free: 6.668 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.803e-05/0.6756, allocations: 89.09 kB / 0.7325 GB, free: 6.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.6757, allocations: 30.56 kB / 0.7325 GB, free: 6.523 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.6757, allocations: 4 kB / 0.7325 GB, free: 6.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001653/0.6758, allocations: 45.5 kB / 0.7326 GB, free: 6.469 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.6759, allocations: 55.52 kB / 0.7326 GB, free: 6.402 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.775e-05/0.676, allocations: 105.9 kB / 0.7327 GB, free: 6.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.676, allocations: 25.7 kB / 0.7327 GB, free: 6.258 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.973e-05/0.6761, allocations: 84.05 kB / 0.7328 GB, free: 6.172 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.6761, allocations: 3.984 kB / 0.7328 GB, free: 6.168 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.6761, allocations: 0 / 0.7328 GB, free: 6.168 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.6762, allocations: 318.8 kB / 0.7331 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.225e-05/0.6762, allocations: 0 / 0.7331 GB, free: 5.848 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.283e-05/0.6763, allocations: 17.91 kB / 0.7332 GB, free: 5.824 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.962e-05/0.6763, allocations: 7.984 kB / 0.7332 GB, free: 5.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6763, allocations: 0 / 0.7332 GB, free: 5.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.124e-05/0.6764, allocations: 45.64 kB / 0.7332 GB, free: 5.766 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.6764, allocations: 8 kB / 0.7332 GB, free: 5.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.6764, allocations: 4.078 kB / 0.7332 GB, free: 5.754 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.6764, allocations: 7.938 kB / 0.7332 GB, free: 5.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.163e-05/0.6765, allocations: 4 kB / 0.7332 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6765, allocations: 4.062 kB / 0.7332 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.6765, allocations: 7.938 kB / 0.7332 GB, free: 5.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.6766, allocations: 0 / 0.7332 GB, free: 5.73 MB / 0.545 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 9.467e-05/0.6767, allocations: 113.8 kB / 0.7333 GB, free: 5.609 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.476e-05/0.6767, allocations: 3.906 kB / 0.7333 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.6768, allocations: 122.9 kB / 0.7335 GB, free: 5.477 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.229e-05/0.6769, allocations: 188.2 kB / 0.7336 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.736e-05/0.677, allocations: 188.1 kB / 0.7338 GB, free: 5.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.15e-05/0.6771, allocations: 180.3 kB / 0.734 GB, free: 4.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.6774, allocations: 401.2 kB / 0.7344 GB, free: 4.461 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.757e-05/0.6774, allocations: 112.9 kB / 0.7345 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.849e-05/0.6775, allocations: 101 kB / 0.7346 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/0.6776, allocations: 184.2 kB / 0.7348 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/0.6777, allocations: 176.3 kB / 0.7349 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.953e-05/0.6778, allocations: 184.2 kB / 0.7351 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-05/0.6779, allocations: 184.2 kB / 0.7353 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.6781, allocations: 311.8 kB / 0.7356 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.6782, allocations: 178.1 kB / 0.7357 GB, free: 2.969 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.6783, allocations: 192.2 kB / 0.7359 GB, free: 2.773 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.6785, allocations: 105 kB / 0.736 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.75e-05/0.6786, allocations: 176.3 kB / 0.7362 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.816e-05/0.6786, allocations: 112.9 kB / 0.7363 GB, free: 2.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.15e-05/0.6787, allocations: 99.22 kB / 0.7364 GB, free: 2.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6787, allocations: 0 / 0.7364 GB, free: 2.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003062/0.679, allocations: 12 kB / 0.7364 GB, free: 2.258 MB / 0.545 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.000195/0.6792, allocations: 190.5 kB / 0.7366 GB, free: 2.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.017e-05/0.6793, allocations: 8 kB / 0.7366 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6793, allocations: 0 / 0.7366 GB, free: 2.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.016e-06/0.6793, allocations: 3.938 kB / 0.7366 GB, free: 2.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004108/0.6797, allocations: 0.532 MB / 0.7371 GB, free: 1.516 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002572/0.68, allocations: 191.8 kB / 0.7373 GB, free: 1.301 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.6803, allocations: 0.677 MB / 0.738 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.024e-05/0.6803, allocations: 8.5 kB / 0.738 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.6803, allocations: 7.438 kB / 0.738 GB, free: 0.582 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.6804, allocations: 4 kB / 0.738 GB, free: 0.5781 MB / 0.545 GB Notification: Performance of Templates: time 0.002813/0.6832, allocations: 0.5121 MB / 0.7385 GB, free: 84 kB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: