Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 100.1 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.001501/0.001502, 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.326/1.326, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.06/1.06, allocations: 143.3 MB / 434.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00029/0.0002901, allocations: 12 kB / 0.5158 GB, free: 11.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.152, allocations: 83.41 MB / 0.5973 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003279/0.1553, allocations: 2.462 MB / 0.5997 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003695/0.1557, allocations: 331.3 kB / 0.6 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.508e-05/0.1557, allocations: 0 / 0.6 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.92e-05/0.1558, allocations: 7.922 kB / 0.6 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.838e-05/0.1559, allocations: 7.922 kB / 0.6 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005203/0.1564, allocations: 147.6 kB / 0.6002 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.38e-05/0.1565, allocations: 19.97 kB / 0.6002 GB, free: 4.887 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.1565, allocations: 4 kB / 0.6002 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.348e-05/0.1566, allocations: 7.984 kB / 0.6002 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.13e-05/0.1567, allocations: 8 kB / 0.6002 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.298e-05/0.1567, allocations: 7.938 kB / 0.6002 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00029/0.157, allocations: 99.8 kB / 0.6003 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.157, allocations: 19.97 kB / 0.6003 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.1571, allocations: 25.7 kB / 0.6003 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001619/0.1572, allocations: 60.17 kB / 0.6004 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.1572, allocations: 0 / 0.6004 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1572, allocations: 0 / 0.6004 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1572, allocations: 0 / 0.6004 GB, free: 4.652 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.0003465/0.1576, allocations: 335.4 kB / 0.6007 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1576, allocations: 8.031 kB / 0.6007 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.1577, allocations: 11.86 kB / 0.6007 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.1578, allocations: 167.1 kB / 0.6009 GB, free: 4.055 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.404e-05/0.1579, allocations: 29.7 kB / 0.6009 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.04e-05/0.1579, allocations: 7.938 kB / 0.6009 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.158, allocations: 37.69 kB / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.158, allocations: 0 / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.1581, allocations: 0 / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.1581, allocations: 0 / 0.601 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.786e-05/0.1581, allocations: 27.88 kB / 0.601 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005668/0.1587, allocations: 0.5678 MB / 0.6015 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.902e-05/0.1588, allocations: 18.52 kB / 0.6016 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.159, allocations: 336.5 kB / 0.6019 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.159, allocations: 34.56 kB / 0.6019 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.159, allocations: 0 / 0.6019 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001427/0.1592, allocations: 37.64 kB / 0.602 GB, free: 2.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.1592, allocations: 59.53 kB / 0.602 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.96e-05/0.1593, allocations: 97.86 kB / 0.6021 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.1593, allocations: 25.7 kB / 0.6021 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.1594, allocations: 92.02 kB / 0.6022 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.671e-06/0.1594, allocations: 11.84 kB / 0.6022 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.1594, allocations: 0 / 0.6022 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.602e-05/0.1595, allocations: 314.8 kB / 0.6025 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.308e-05/0.1595, allocations: 4 kB / 0.6025 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.458e-05/0.1595, allocations: 21.89 kB / 0.6026 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.938e-05/0.1596, allocations: 4 kB / 0.6026 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1596, allocations: 7.938 kB / 0.6026 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.545e-05/0.1596, allocations: 45.72 kB / 0.6026 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.1597, allocations: 5.094 kB / 0.6026 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1597, allocations: 0 / 0.6026 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1597, allocations: 11.94 kB / 0.6026 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.1597, allocations: 8 kB / 0.6026 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1598, allocations: 4.062 kB / 0.6026 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.1598, allocations: 3.938 kB / 0.6026 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.1598, allocations: 4 kB / 0.6026 GB, free: 1.977 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 6.952e-05/0.1599, allocations: 105.8 kB / 0.6027 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1599, allocations: 3.984 kB / 0.6028 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.16, allocations: 120.9 kB / 0.6029 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.453e-05/0.1601, allocations: 184.3 kB / 0.603 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.053e-05/0.1601, allocations: 188.2 kB / 0.6032 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.908e-05/0.1602, allocations: 184.2 kB / 0.6034 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002119/0.1604, allocations: 405.2 kB / 0.6038 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-05/0.1605, allocations: 104.9 kB / 0.6039 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.849e-05/0.1605, allocations: 101 kB / 0.604 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.465e-05/0.1606, allocations: 184.3 kB / 0.6042 GB, free: 320 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.298e-05/0.1606, allocations: 184.1 kB / 0.6043 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2681/0.4287, allocations: 176.8 kB / 0.6045 GB, free: 41.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.831e-05/0.4288, allocations: 181.5 kB / 0.6047 GB, free: 41.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.949e-05/0.4289, allocations: 309.7 kB / 0.605 GB, free: 40.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.871e-05/0.429, allocations: 185.9 kB / 0.6051 GB, free: 40.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.514e-05/0.429, allocations: 179.2 kB / 0.6053 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.4292, allocations: 117.1 kB / 0.6054 GB, free: 40.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.4292, allocations: 178.2 kB / 0.6056 GB, free: 40.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.4292, allocations: 107.1 kB / 0.6057 GB, free: 40.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.423e-05/0.4293, allocations: 86.34 kB / 0.6058 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4293, allocations: 1.156 kB / 0.6058 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003374/0.4297, allocations: 30.19 kB / 0.6058 GB, free: 39.96 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.0002519/0.4299, allocations: 223 kB / 0.606 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.344e-05/0.43, allocations: 10.19 kB / 0.606 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.43, allocations: 0.5625 kB / 0.606 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.43, allocations: 0 / 0.606 GB, free: 39.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.4303, allocations: 0.5318 MB / 0.6066 GB, free: 39.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002313/0.4305, allocations: 191.5 kB / 0.6067 GB, free: 39.11 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.4306, allocations: 0.6754 MB / 0.6074 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.214e-05/0.4307, allocations: 10.92 kB / 0.6074 GB, free: 38.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.4307, allocations: 8.656 kB / 0.6074 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of SimCode: time 3.5e-07/0.4307, allocations: 0.5625 kB / 0.6074 GB, free: 38.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.003232/0.4339, allocations: 1.175 MB / 0.6086 GB, free: 38.29 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: