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.005163/0.005163, allocations: 97.58 kB / 15.73 MB, free: 5.996 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.001112/0.001112, allocations: 187 kB / 16.67 MB, free: 5.926 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002079/0.002079, allocations: 286.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.006/1.006, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 99.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1632, allocations: 86.97 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004722/0.168, allocations: 3.716 MB / 0.77 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001807/0.1682, allocations: 163.5 kB / 0.7701 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.767e-05/0.1682, allocations: 3.938 kB / 0.7702 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.284e-05/0.1683, allocations: 3.938 kB / 0.7702 GB, free: 4.547 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.105e-05/0.1684, allocations: 15.92 kB / 0.7702 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003082/0.1687, allocations: 79 kB / 0.7702 GB, free: 4.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.1688, allocations: 35.84 kB / 0.7703 GB, free: 4.422 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.1688, allocations: 12 kB / 0.7703 GB, free: 4.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.1689, allocations: 11.98 kB / 0.7703 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.1689, allocations: 11.92 kB / 0.7703 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.1689, allocations: 4 kB / 0.7703 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004798/0.1694, allocations: 191.3 kB / 0.7705 GB, free: 4.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.31e-05/0.1695, allocations: 3.938 kB / 0.7705 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.57e-05/0.1695, allocations: 15.92 kB / 0.7705 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1696, allocations: 43.89 kB / 0.7706 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1696, allocations: 0 / 0.7706 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.192e-06/0.1696, allocations: 4 kB / 0.7706 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.004e-06/0.1697, allocations: 4 kB / 0.7706 GB, free: 4.125 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.0003449/0.17, allocations: 335.4 kB / 0.7709 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.17, allocations: 8.031 kB / 0.7709 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.332e-05/0.1701, allocations: 4.938 kB / 0.7709 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.1702, allocations: 168.3 kB / 0.7711 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.982e-05/0.1702, allocations: 26.27 kB / 0.7711 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1703, allocations: 384 / 0.7711 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.1704, allocations: 57.61 kB / 0.7711 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.1704, allocations: 0 / 0.7711 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.1704, allocations: 0 / 0.7711 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.1704, allocations: 3.984 kB / 0.7711 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.377e-05/0.1705, allocations: 23.86 kB / 0.7712 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.1709, allocations: 334 kB / 0.7715 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 3.431e-05/0.1709, allocations: 18.58 kB / 0.7715 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.228e-05/0.1709, allocations: 8.859 kB / 0.7715 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.014e-05/0.171, allocations: 81.17 kB / 0.7716 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1711, allocations: 34.56 kB / 0.7716 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1711, allocations: 0 / 0.7716 GB, free: 2.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001226/0.1712, allocations: 45.58 kB / 0.7717 GB, free: 2.789 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.1712, allocations: 51.41 kB / 0.7717 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.378e-05/0.1713, allocations: 102 kB / 0.7718 GB, free: 2.617 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1713, allocations: 33.7 kB / 0.7718 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.728e-05/0.1714, allocations: 84.09 kB / 0.7719 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.12e-06/0.1714, allocations: 4 kB / 0.7719 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.613e-05/0.1714, allocations: 9.719 kB / 0.7719 GB, free: 2.473 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.993e-05/0.1715, allocations: 322.8 kB / 0.7722 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.1715, allocations: 7.922 kB / 0.7723 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.1716, allocations: 13.72 kB / 0.7723 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.415e-05/0.1716, allocations: 29.66 kB / 0.7723 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.1716, allocations: 0 / 0.7723 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.809e-05/0.1717, allocations: 49.62 kB / 0.7723 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1717, allocations: 8 kB / 0.7724 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1717, allocations: 0 / 0.7724 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1717, allocations: 0 / 0.7724 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.069e-05/0.1718, allocations: 7.984 kB / 0.7724 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1718, allocations: 64 / 0.7724 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.1718, allocations: 11.95 kB / 0.7724 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1718, allocations: 0 / 0.7724 GB, free: 2.004 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.748e-05/0.1719, allocations: 114.4 kB / 0.7725 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.1719, allocations: 0 / 0.7725 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.42e-05/0.172, allocations: 124.9 kB / 0.7726 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.335e-05/0.1721, allocations: 176.3 kB / 0.7728 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-05/0.1721, allocations: 180.3 kB / 0.7729 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.027e-05/0.1722, allocations: 184.2 kB / 0.7731 GB, free: 1.203 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1724, allocations: 405.2 kB / 0.7735 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.588e-05/0.1724, allocations: 104.9 kB / 0.7736 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.1725, allocations: 105 kB / 0.7737 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.435e-05/0.1725, allocations: 188.2 kB / 0.7739 GB, free: 348 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.839e-05/0.1726, allocations: 184.2 kB / 0.7741 GB, free: 156 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3338/0.5064, allocations: 176.3 kB / 0.7742 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.86e-05/0.5064, allocations: 183 kB / 0.7744 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.5066, allocations: 308.3 kB / 0.7747 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.263e-05/0.5066, allocations: 180.7 kB / 0.7749 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.121e-05/0.5067, allocations: 183.7 kB / 0.775 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5068, allocations: 110.9 kB / 0.7751 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.5069, allocations: 183 kB / 0.7753 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.5069, allocations: 103.3 kB / 0.7754 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.036e-05/0.507, allocations: 87.52 kB / 0.7755 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/0.507, allocations: 0 / 0.7755 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003205/0.5073, allocations: 15.48 kB / 0.7755 GB, free: 14.22 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.0002764/0.5076, allocations: 204.7 kB / 0.7757 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.975e-05/0.5077, allocations: 9.625 kB / 0.7757 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5077, allocations: 0 / 0.7757 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.5077, allocations: 2.375 kB / 0.7757 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.5081, allocations: 462.2 kB / 0.7762 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002443/0.5083, allocations: 185.2 kB / 0.7763 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.5084, allocations: 0.6762 MB / 0.777 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.192e-05/0.5085, allocations: 6.047 kB / 0.777 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.871e-05/0.5085, allocations: 10.08 kB / 0.777 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.5085, allocations: 0.625 kB / 0.777 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of Templates: time 0.003145/0.5117, allocations: 0.6413 MB / 0.7776 GB, free: 12.71 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)