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.001731/0.001731, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001376/0.001376, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.428/1.428, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002593/0.002593, allocations: 286.5 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.507 GB, free: 4.754 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002748/0.002748, allocations: 95.17 kB / 0.6059 GB, free: 24.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1638, allocations: 89.16 MB / 0.693 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.00575/0.1696, allocations: 3.767 MB / 0.6966 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002181/0.1698, allocations: 159.5 kB / 0.6968 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.754e-05/0.1698, allocations: 0 / 0.6968 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.74e-05/0.1699, allocations: 7.938 kB / 0.6968 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.17, allocations: 7.984 kB / 0.6968 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1704, allocations: 76.39 kB / 0.6969 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.893e-05/0.1705, allocations: 35.84 kB / 0.6969 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.1705, allocations: 0 / 0.6969 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.1705, allocations: 15.98 kB / 0.6969 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.069e-05/0.1706, allocations: 19.91 kB / 0.6969 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.749e-06/0.1706, allocations: 0 / 0.6969 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005175/0.1712, allocations: 187.5 kB / 0.6971 GB, free: 456 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.644e-05/0.1712, allocations: 3.984 kB / 0.6971 GB, free: 452 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.27e-05/0.1712, allocations: 15.92 kB / 0.6971 GB, free: 436 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001211/0.1714, allocations: 48.17 kB / 0.6972 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1714, allocations: 0 / 0.6972 GB, free: 388 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1714, allocations: 0 / 0.6972 GB, free: 388 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1714, allocations: 0 / 0.6972 GB, free: 388 kB / 494.1 MB 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.0003902/0.1718, allocations: 331.5 kB / 0.6975 GB, free: 8 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.1718, allocations: 12.08 kB / 0.6975 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.732e-05/0.1719, allocations: 4.938 kB / 0.6975 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.172, allocations: 168.3 kB / 0.6977 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.1721, allocations: 30.2 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.1721, allocations: 8.312 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1722, allocations: 45.62 kB / 0.6978 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1723, allocations: 3.984 kB / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.1723, allocations: 0 / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.1723, allocations: 0 / 0.6978 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.534e-05/0.1724, allocations: 23.98 kB / 0.6978 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004612/0.1728, allocations: 337.9 kB / 0.6981 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.433e-05/0.1729, allocations: 18.52 kB / 0.6981 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.1729, allocations: 4.859 kB / 0.6981 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.023e-05/0.173, allocations: 89.11 kB / 0.6982 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.173, allocations: 34.56 kB / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.173, allocations: 0 / 0.6983 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001432/0.1732, allocations: 37.69 kB / 0.6983 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.1732, allocations: 59.34 kB / 0.6983 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.196e-05/0.1733, allocations: 97.84 kB / 0.6984 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.1734, allocations: 25.7 kB / 0.6985 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.557e-05/0.1734, allocations: 96.03 kB / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.638e-06/0.1734, allocations: 0 / 0.6986 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.1735, allocations: 17.84 kB / 0.6986 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1736, allocations: 322.8 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.1736, allocations: 4 kB / 0.6989 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.447e-05/0.1737, allocations: 13.72 kB / 0.6989 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.194e-05/0.1737, allocations: 17.72 kB / 0.6989 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1737, allocations: 0 / 0.6989 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.18e-05/0.1738, allocations: 57.62 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.1738, allocations: 4 kB / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1738, allocations: 0 / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.1738, allocations: 0 / 0.699 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.101e-05/0.1739, allocations: 7.984 kB / 0.699 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.227e-06/0.1739, allocations: 4 kB / 0.699 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.859e-05/0.1739, allocations: 3.906 kB / 0.699 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.1739, allocations: 0 / 0.699 GB, free: 14.26 MB / 0.4981 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 8.004e-05/0.174, allocations: 117.7 kB / 0.6991 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.1741, allocations: 4.062 kB / 0.6991 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.1742, allocations: 123.2 kB / 0.6992 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.988e-05/0.1743, allocations: 180.2 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.222e-05/0.1743, allocations: 188.2 kB / 0.6996 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-05/0.1744, allocations: 176.3 kB / 0.6997 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.1747, allocations: 417.1 kB / 0.7001 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.992e-05/0.1748, allocations: 101 kB / 0.7002 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.1748, allocations: 108.9 kB / 0.7003 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.815e-05/0.1749, allocations: 176.3 kB / 0.7005 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.203e-05/0.175, allocations: 180.3 kB / 0.7007 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.531e-05/0.1751, allocations: 188.2 kB / 0.7009 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.827e-05/0.1752, allocations: 180.3 kB / 0.701 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001691/0.1753, allocations: 311.7 kB / 0.7013 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.124e-05/0.1754, allocations: 178.1 kB / 0.7015 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.1755, allocations: 188.1 kB / 0.7017 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.1757, allocations: 113 kB / 0.7018 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.1758, allocations: 180.2 kB / 0.702 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.1759, allocations: 101.3 kB / 0.7021 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.1759, allocations: 91.2 kB / 0.7021 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.1759, allocations: 0 / 0.7021 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00024/0.1762, allocations: 12 kB / 0.7021 GB, free: 10.8 MB / 0.4981 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.0002836/0.1765, allocations: 206.4 kB / 0.7023 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.837e-05/0.1765, allocations: 15.94 kB / 0.7024 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1765, allocations: 0 / 0.7024 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.1765, allocations: 0 / 0.7024 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.177, allocations: 464.7 kB / 0.7028 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/0.1772, allocations: 189.8 kB / 0.703 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1776, allocations: 0.677 MB / 0.7036 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.962e-05/0.1776, allocations: 4 kB / 0.7037 GB, free: 9.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.107e-05/0.1776, allocations: 11.44 kB / 0.7037 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1776, allocations: 7.938 kB / 0.7037 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.002957/0.1806, allocations: 0.6248 MB / 0.7043 GB, free: 8.57 MB / 0.4981 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)