Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009143/0.0009144, allocations: 99.86 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.0009988/0.0009988, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9416/0.9416, allocations: 143.3 MB / 434.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003877, allocations: 12 kB / 0.5158 GB, free: 11.28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1586, allocations: 83.4 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004039/0.1626, allocations: 3.159 MB / 0.6003 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001774/0.1629, allocations: 127.8 kB / 0.6005 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.479e-05/0.1629, allocations: 0 / 0.6005 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.821e-05/0.163, allocations: 3.938 kB / 0.6005 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.514e-05/0.163, allocations: 7.984 kB / 0.6005 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002986/0.1633, allocations: 63.88 kB / 0.6005 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.987e-05/0.1634, allocations: 15.97 kB / 0.6006 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.467e-05/0.1635, allocations: 7.938 kB / 0.6006 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.1635, allocations: 15.98 kB / 0.6006 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.554e-05/0.1636, allocations: 7.984 kB / 0.6006 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1636, allocations: 0 / 0.6006 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000507/0.1641, allocations: 151.7 kB / 0.6007 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.993e-05/0.1641, allocations: 7.984 kB / 0.6007 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.53e-05/0.1642, allocations: 33.64 kB / 0.6008 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.278e-05/0.1643, allocations: 23.98 kB / 0.6008 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1643, allocations: 4 kB / 0.6008 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1643, allocations: 0 / 0.6008 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.1643, allocations: 0 / 0.6008 GB, free: 4.168 MB / 0.4981 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.0003534/0.1647, allocations: 327.6 kB / 0.6011 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1647, allocations: 12.03 kB / 0.6011 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.1648, allocations: 7.859 kB / 0.6011 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1649, allocations: 163.1 kB / 0.6013 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.863e-05/0.1649, allocations: 29.7 kB / 0.6013 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.021e-05/0.165, allocations: 4 kB / 0.6013 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.1651, allocations: 45.67 kB / 0.6014 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.1651, allocations: 0 / 0.6014 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1651, allocations: 0 / 0.6014 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.1651, allocations: 4 kB / 0.6014 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.557e-05/0.1652, allocations: 19.88 kB / 0.6014 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.1657, allocations: 334 kB / 0.6017 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.1657, allocations: 18.58 kB / 0.6017 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.196e-05/0.1658, allocations: 89.17 kB / 0.6018 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.1658, allocations: 34.5 kB / 0.6018 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1658, allocations: 0 / 0.6018 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.166, allocations: 41.58 kB / 0.6019 GB, free: 2.852 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.166, allocations: 55.41 kB / 0.6019 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.015e-05/0.1661, allocations: 97.86 kB / 0.602 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1661, allocations: 29.83 kB / 0.6021 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.1662, allocations: 95.97 kB / 0.6021 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-06/0.1662, allocations: 3.906 kB / 0.6021 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.1662, allocations: 4 kB / 0.6022 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.1663, allocations: 310.8 kB / 0.6024 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/0.1663, allocations: 4 kB / 0.6025 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.1664, allocations: 17.7 kB / 0.6025 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.194e-05/0.1664, allocations: 12 kB / 0.6025 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1664, allocations: 0 / 0.6025 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.154e-05/0.1665, allocations: 49.62 kB / 0.6025 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1665, allocations: 4 kB / 0.6025 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1665, allocations: 0 / 0.6025 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1665, allocations: 7.953 kB / 0.6025 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.383e-05/0.1666, allocations: 4 kB / 0.6025 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.1666, allocations: 0 / 0.6025 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.911e-05/0.1666, allocations: 4 kB / 0.6025 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1666, allocations: 8.062 kB / 0.6026 GB, free: 2.105 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.452e-05/0.1667, allocations: 111.7 kB / 0.6027 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.1667, allocations: 4 kB / 0.6027 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.865e-05/0.1668, allocations: 117.2 kB / 0.6028 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.561e-05/0.1669, allocations: 188.2 kB / 0.603 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.184e-05/0.167, allocations: 180.2 kB / 0.6031 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.144e-05/0.167, allocations: 188.2 kB / 0.6033 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.1673, allocations: 409.2 kB / 0.6037 GB, free: 0.8398 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/0.1673, allocations: 101 kB / 0.6038 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.968e-05/0.1673, allocations: 104.9 kB / 0.6039 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.795e-05/0.1674, allocations: 180.3 kB / 0.6041 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-05/0.1675, allocations: 180.3 kB / 0.6042 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.914e-05/0.1675, allocations: 188.1 kB / 0.6044 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2681/0.4357, allocations: 178.2 kB / 0.6046 GB, free: 41.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.911e-05/0.4358, allocations: 303.5 kB / 0.6049 GB, free: 41.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.791e-05/0.4359, allocations: 188.8 kB / 0.6051 GB, free: 40.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.4359, allocations: 184.2 kB / 0.6052 GB, free: 40.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001642/0.4361, allocations: 106.2 kB / 0.6053 GB, free: 40.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.4361, allocations: 181.6 kB / 0.6055 GB, free: 40.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.4362, allocations: 106.7 kB / 0.6056 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.102e-05/0.4362, allocations: 87.19 kB / 0.6057 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4362, allocations: 1.594 kB / 0.6057 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003069/0.4365, allocations: 12 kB / 0.6057 GB, free: 40.3 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 (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.0001426/0.4367, allocations: 192.8 kB / 0.6059 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.311e-05/0.4368, allocations: 12.36 kB / 0.6059 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4368, allocations: 0 / 0.6059 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.4368, allocations: 1.938 kB / 0.6059 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.437, allocations: 0.5275 MB / 0.6064 GB, free: 39.62 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002098/0.4372, allocations: 187.9 kB / 0.6066 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.985e-05/0.4373, allocations: 0.6792 MB / 0.6073 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.4374, allocations: 7.922 kB / 0.6073 GB, free: 38.75 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.532e-05/0.4374, allocations: 14.94 kB / 0.6073 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.4374, allocations: 0 / 0.6073 GB, free: 38.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.002223/0.4396, allocations: 0.5458 MB / 0.6078 GB, free: 38.74 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: