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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.0008417/0.0008417, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009565/0.0009566, allocations: 181.8 kB / 16.92 MB, free: 6.918 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.348/1.348, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9923/0.9923, allocations: 143.2 MB / 435.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003751/0.0003753, allocations: 12 kB / 0.5171 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1499, allocations: 83.4 MB / 0.5985 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003601/0.1536, allocations: 2.999 MB / 0.6014 GB, free: 4.758 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 8.959e-05/0.1537, allocations: 43.88 kB / 0.6015 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.4e-05/0.1537, allocations: 4 kB / 0.6015 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.632e-05/0.1538, allocations: 0 / 0.6015 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.651e-05/0.1539, allocations: 11.91 kB / 0.6015 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004885/0.1543, allocations: 181.7 kB / 0.6017 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.643e-05/0.1544, allocations: 51.88 kB / 0.6017 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.1545, allocations: 3.938 kB / 0.6017 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.1545, allocations: 23.92 kB / 0.6017 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.941e-05/0.1546, allocations: 7.984 kB / 0.6017 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1546, allocations: 4 kB / 0.6017 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003221/0.1549, allocations: 171.5 kB / 0.6019 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.155, allocations: 3.984 kB / 0.6019 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.974e-05/0.155, allocations: 45.62 kB / 0.602 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001926/0.1552, allocations: 92.11 kB / 0.602 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1552, allocations: 0 / 0.602 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1553, allocations: 0 / 0.602 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.116e-06/0.1553, allocations: 0 / 0.602 GB, free: 4.121 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.0003509/0.1556, allocations: 335.5 kB / 0.6024 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1557, allocations: 12.03 kB / 0.6024 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1557, allocations: 4.844 kB / 0.6024 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/0.1558, allocations: 164.4 kB / 0.6025 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.382e-05/0.1559, allocations: 38.27 kB / 0.6026 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.1559, allocations: 384 / 0.6026 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.156, allocations: 45.61 kB / 0.6026 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.1561, allocations: 0 / 0.6026 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.1561, allocations: 0 / 0.6026 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.863e-05/0.1561, allocations: 4 kB / 0.6026 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.1561, allocations: 23.91 kB / 0.6026 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006495/0.1568, allocations: 0.5755 MB / 0.6032 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.949e-05/0.1569, allocations: 30.58 kB / 0.6032 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.462e-05/0.1569, allocations: 4.859 kB / 0.6032 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002339/0.1571, allocations: 340.5 kB / 0.6036 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1572, allocations: 34.56 kB / 0.6036 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.425e-06/0.1572, allocations: 0 / 0.6036 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.000138/0.1573, allocations: 45.62 kB / 0.6036 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.1573, allocations: 55.53 kB / 0.6037 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.446e-05/0.1574, allocations: 105.8 kB / 0.6038 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1575, allocations: 25.7 kB / 0.6038 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.1575, allocations: 88.05 kB / 0.6039 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-06/0.1575, allocations: 3.906 kB / 0.6039 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/0.1575, allocations: 9.719 kB / 0.6039 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.1577, allocations: 318.8 kB / 0.6042 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.1577, allocations: 4 kB / 0.6042 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.81e-05/0.1577, allocations: 21.7 kB / 0.6042 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.581e-05/0.1577, allocations: 29.66 kB / 0.6043 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.1578, allocations: 0 / 0.6043 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.653e-05/0.1578, allocations: 53.56 kB / 0.6043 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1579, allocations: 4 kB / 0.6043 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1579, allocations: 0 / 0.6043 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.1579, allocations: 4.062 kB / 0.6043 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.128e-05/0.1579, allocations: 8 kB / 0.6043 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1579, allocations: 0 / 0.6043 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.066e-05/0.158, allocations: 3.938 kB / 0.6043 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.158, allocations: 7.984 kB / 0.6044 GB, free: 1.371 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 7.377e-05/0.1581, allocations: 109.8 kB / 0.6045 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1581, allocations: 4 kB / 0.6045 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.549e-05/0.1582, allocations: 116.9 kB / 0.6046 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.008e-05/0.1583, allocations: 188.2 kB / 0.6048 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.845e-05/0.1583, allocations: 176.3 kB / 0.6049 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.947e-05/0.1584, allocations: 180.2 kB / 0.6051 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/0.1586, allocations: 409.2 kB / 0.6055 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-05/0.1586, allocations: 104.9 kB / 0.6056 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.2758/0.4344, allocations: 102.2 kB / 0.6057 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.405e-05/0.4345, allocations: 177 kB / 0.6058 GB, free: 41.43 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.4346, allocations: 185 kB / 0.606 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/0.4346, allocations: 179.8 kB / 0.6062 GB, free: 41.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.778e-05/0.4346, allocations: 184.9 kB / 0.6064 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001068/0.4347, allocations: 308.8 kB / 0.6067 GB, free: 40.58 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.711e-05/0.4348, allocations: 184 kB / 0.6068 GB, free: 40.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.4349, allocations: 184.6 kB / 0.607 GB, free: 40.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001874/0.4351, allocations: 106.4 kB / 0.6071 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.4351, allocations: 183.5 kB / 0.6073 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.4352, allocations: 110.5 kB / 0.6074 GB, free: 39.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.4352, allocations: 84.64 kB / 0.6075 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4352, allocations: 0.75 kB / 0.6075 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004485/0.4357, allocations: 36.17 kB / 0.6075 GB, free: 39.74 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.0003016/0.436, allocations: 235.7 kB / 0.6077 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.894e-05/0.4361, allocations: 9.312 kB / 0.6077 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4361, allocations: 4.531 kB / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.746e-06/0.4361, allocations: 3.844 kB / 0.6078 GB, free: 39.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.4365, allocations: 0.5255 MB / 0.6083 GB, free: 39.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000246/0.4368, allocations: 214.5 kB / 0.6085 GB, free: 38.85 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.4369, allocations: 0.6758 MB / 0.6091 GB, free: 38.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.4369, allocations: 13.41 kB / 0.6091 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.4369, allocations: 0 / 0.6091 GB, free: 38.15 MB / 0.4981 GB Notification: Performance of Templates: time 0.002731/0.4397, allocations: 1.243 MB / 0.6104 GB, free: 38.03 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (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)