Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004769/0.004769, allocations: 100.8 kB / 15.73 MB, free: 6.047 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.001035/0.001035, allocations: 188 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002104/0.002104, allocations: 275.1 kB / 290.8 MB, free: 1.941 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9977/0.9977, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 111.8 kB / 0.6814 GB, free: 15.52 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1607, allocations: 86.97 MB / 0.7664 GB, free: 8.469 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00473/0.1655, allocations: 3.719 MB / 0.77 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001781/0.1657, allocations: 155.5 kB / 0.7701 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.189e-05/0.1657, allocations: 3.938 kB / 0.7701 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.571e-05/0.1658, allocations: 4 kB / 0.7702 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.519e-05/0.1659, allocations: 11.92 kB / 0.7702 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.1662, allocations: 85.56 kB / 0.7702 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.948e-05/0.1663, allocations: 31.91 kB / 0.7703 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.1664, allocations: 4 kB / 0.7703 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.66e-05/0.1664, allocations: 19.91 kB / 0.7703 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.78e-05/0.1665, allocations: 15.94 kB / 0.7703 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.1665, allocations: 0 / 0.7703 GB, free: 4.402 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004913/0.167, allocations: 195.3 kB / 0.7705 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.501e-05/0.167, allocations: 7.984 kB / 0.7705 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.205e-05/0.1671, allocations: 7.938 kB / 0.7705 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001134/0.1672, allocations: 39.89 kB / 0.7706 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1672, allocations: 4 kB / 0.7706 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1672, allocations: 0 / 0.7706 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.1672, allocations: 0 / 0.7706 GB, free: 4.152 MB / 0.5606 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.0003585/0.1676, allocations: 339.5 kB / 0.7709 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.1676, allocations: 8.031 kB / 0.7709 GB, free: 3.766 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1677, allocations: 8.938 kB / 0.7709 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.326e-05/0.1678, allocations: 160.4 kB / 0.7711 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.156e-05/0.1678, allocations: 30.2 kB / 0.7711 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.776e-06/0.1679, allocations: 4.359 kB / 0.7711 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.168, allocations: 49.62 kB / 0.7711 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.168, allocations: 0 / 0.7711 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.168, allocations: 0 / 0.7711 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.168, allocations: 4 kB / 0.7711 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.1681, allocations: 19.98 kB / 0.7712 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004098/0.1685, allocations: 341.8 kB / 0.7715 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.265e-05/0.1685, allocations: 22.52 kB / 0.7715 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.315e-05/0.1685, allocations: 4.859 kB / 0.7715 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.1686, allocations: 81.17 kB / 0.7716 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.089e-05/0.1687, allocations: 38.56 kB / 0.7716 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.1687, allocations: 0 / 0.7716 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.1688, allocations: 37.69 kB / 0.7717 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.1689, allocations: 55.34 kB / 0.7717 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.1689, allocations: 101.8 kB / 0.7718 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.1689, allocations: 29.7 kB / 0.7718 GB, free: 2.605 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.936e-05/0.169, allocations: 84.05 kB / 0.7719 GB, free: 2.52 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.991e-06/0.169, allocations: 8.125 kB / 0.7719 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.169, allocations: 13.72 kB / 0.7719 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.1691, allocations: 318.8 kB / 0.7722 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.1692, allocations: 7.922 kB / 0.7722 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.89e-05/0.1692, allocations: 13.72 kB / 0.7723 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.436e-05/0.1692, allocations: 25.72 kB / 0.7723 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1692, allocations: 0 / 0.7723 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.745e-05/0.1693, allocations: 53.53 kB / 0.7723 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1693, allocations: 10.19 kB / 0.7723 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.918e-06/0.1693, allocations: 0 / 0.7723 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.1694, allocations: 288 / 0.7723 GB, free: 2.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.1694, allocations: 7.984 kB / 0.7724 GB, free: 2.039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.1694, allocations: 4 kB / 0.7724 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.674e-05/0.1694, allocations: 0 / 0.7724 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.1694, allocations: 0 / 0.7724 GB, free: 2.035 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.874e-05/0.1695, allocations: 126.4 kB / 0.7725 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.647e-05/0.1696, allocations: 3.984 kB / 0.7725 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.884e-05/0.1697, allocations: 121 kB / 0.7726 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-05/0.1697, allocations: 176.3 kB / 0.7728 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-05/0.1698, allocations: 180.2 kB / 0.7729 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/0.1698, allocations: 184.3 kB / 0.7731 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000204/0.17, allocations: 409.1 kB / 0.7735 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.523e-05/0.1701, allocations: 105 kB / 0.7736 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.1701, allocations: 104.9 kB / 0.7737 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.835e-05/0.1702, allocations: 184.2 kB / 0.7739 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.966e-05/0.1702, allocations: 180.2 kB / 0.7741 GB, free: 180 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3329/0.5032, allocations: 188.2 kB / 0.7742 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.866e-05/0.5033, allocations: 179.8 kB / 0.7744 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.5034, allocations: 305.1 kB / 0.7747 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.616e-05/0.5034, allocations: 181.9 kB / 0.7749 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.5035, allocations: 183.5 kB / 0.775 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.5036, allocations: 106.6 kB / 0.7751 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.5037, allocations: 182.5 kB / 0.7753 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.5037, allocations: 106.4 kB / 0.7754 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.065e-05/0.5038, allocations: 86.61 kB / 0.7755 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5038, allocations: 0 / 0.7755 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003276/0.5041, allocations: 16.08 kB / 0.7755 GB, free: 14.25 MB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002059/0.5043, allocations: 198.5 kB / 0.7757 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.129e-05/0.5044, allocations: 13.36 kB / 0.7757 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5044, allocations: 0.625 kB / 0.7757 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.5044, allocations: 1.219 kB / 0.7757 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.5047, allocations: 462.1 kB / 0.7762 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.505, allocations: 191.3 kB / 0.7763 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.286e-05/0.5051, allocations: 0.6746 MB / 0.777 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.947e-05/0.5051, allocations: 8.234 kB / 0.777 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.479e-05/0.5052, allocations: 10.11 kB / 0.777 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of SimCode: time 3.81e-07/0.5052, allocations: 0 / 0.777 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of Templates: time 0.002807/0.508, allocations: 0.6451 MB / 0.7776 GB, free: 12.74 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)