Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.001947/0.001947, allocations: 105.9 kB / 16.4 MB, free: 6.508 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.002084/0.002084, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7705/0.7705, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 61.36 kB / 0.5577 GB, free: 32.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1535, allocations: 76.18 MB / 0.6321 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005744/0.1593, allocations: 3.285 MB / 0.6353 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000125/0.1594, allocations: 43.86 kB / 0.6353 GB, free: 1.059 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.998e-05/0.1595, allocations: 4 kB / 0.6353 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000137/0.1596, allocations: 7.922 kB / 0.6353 GB, free: 1.047 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.651e-05/0.1598, allocations: 8 kB / 0.6353 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007902/0.1606, allocations: 199.1 kB / 0.6355 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.1607, allocations: 31.8 kB / 0.6356 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.408e-05/0.1608, allocations: 7.984 kB / 0.6356 GB, free: 0.8047 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.1608, allocations: 15.98 kB / 0.6356 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.1609, allocations: 8 kB / 0.6356 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.1609, allocations: 0 / 0.6356 GB, free: 0.7812 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004582/0.1614, allocations: 175.5 kB / 0.6358 GB, free: 0.6094 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.324e-05/0.1615, allocations: 15.92 kB / 0.6358 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.1615, allocations: 4 kB / 0.6358 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003461/0.1618, allocations: 143.6 kB / 0.6359 GB, free: 460 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1619, allocations: 0 / 0.6359 GB, free: 460 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1619, allocations: 0 / 0.6359 GB, free: 460 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1619, allocations: 0 / 0.6359 GB, free: 460 kB / 478.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.0004585/0.1623, allocations: 343.5 kB / 0.6362 GB, free: 68 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.1624, allocations: 12.02 kB / 0.6363 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.1625, allocations: 8.844 kB / 0.6363 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.1626, allocations: 164.4 kB / 0.6364 GB, free: 15.85 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.566e-05/0.1627, allocations: 26.27 kB / 0.6364 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.1627, allocations: 8.359 kB / 0.6365 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.1628, allocations: 45.56 kB / 0.6365 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.1629, allocations: 0 / 0.6365 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1629, allocations: 0 / 0.6365 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.095e-05/0.1629, allocations: 4 kB / 0.6365 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.586e-05/0.163, allocations: 19.98 kB / 0.6365 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.1637, allocations: 0.5755 MB / 0.6371 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.706e-05/0.1637, allocations: 26.52 kB / 0.6371 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.857e-05/0.1637, allocations: 8.797 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002365/0.164, allocations: 344.4 kB / 0.6374 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.164, allocations: 38.56 kB / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.164, allocations: 0 / 0.6375 GB, free: 14.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.1642, allocations: 33.7 kB / 0.6375 GB, free: 14.49 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.1643, allocations: 51.41 kB / 0.6376 GB, free: 14.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.161e-05/0.1644, allocations: 105.8 kB / 0.6377 GB, free: 14.32 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.1644, allocations: 25.7 kB / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.34e-05/0.1644, allocations: 84.05 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.038e-05/0.1645, allocations: 15.95 kB / 0.6378 GB, free: 14.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.1645, allocations: 21.7 kB / 0.6378 GB, free: 14.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1646, allocations: 318.8 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.362e-05/0.1646, allocations: 0 / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.1647, allocations: 17.72 kB / 0.6381 GB, free: 13.81 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.733e-05/0.1647, allocations: 25.7 kB / 0.6381 GB, free: 13.78 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1647, allocations: 4 kB / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.665e-05/0.1648, allocations: 49.62 kB / 0.6382 GB, free: 13.72 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.1648, allocations: 9.719 kB / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1649, allocations: 0 / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1649, allocations: 0 / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.1649, allocations: 8 kB / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1649, allocations: 0 / 0.6382 GB, free: 13.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.356e-05/0.165, allocations: 7.938 kB / 0.6382 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.165, allocations: 0 / 0.6382 GB, free: 13.7 MB / 494.1 MB 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.92e-05/0.1651, allocations: 121.8 kB / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.662e-05/0.1651, allocations: 0 / 0.6383 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.1652, allocations: 120.9 kB / 0.6385 GB, free: 13.44 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.077e-05/0.1653, allocations: 176.3 kB / 0.6386 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.135e-05/0.1654, allocations: 180.2 kB / 0.6388 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.295e-05/0.1655, allocations: 188.2 kB / 0.639 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002292/0.1657, allocations: 409.2 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-05/0.1657, allocations: 105 kB / 0.6395 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.1658, allocations: 105 kB / 0.6396 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.878e-05/0.1658, allocations: 184.2 kB / 0.6397 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.902e-05/0.1659, allocations: 176.3 kB / 0.6399 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.264e-05/0.166, allocations: 184.2 kB / 0.6401 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-05/0.166, allocations: 188.5 kB / 0.6403 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.1662, allocations: 311.6 kB / 0.6406 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.1663, allocations: 182.1 kB / 0.6407 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.798e-05/0.1664, allocations: 188.2 kB / 0.6409 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1665, allocations: 109 kB / 0.641 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.168e-05/0.1666, allocations: 176.3 kB / 0.6412 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.1667, allocations: 116.9 kB / 0.6413 GB, free: 10.33 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.06e-05/0.1667, allocations: 83.27 kB / 0.6414 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1667, allocations: 0 / 0.6414 GB, free: 10.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003089/0.1671, allocations: 36 kB / 0.6414 GB, free: 10.21 MB / 494.1 MB 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.0002919/0.1674, allocations: 233.3 kB / 0.6416 GB, free: 9.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.458e-05/0.1674, allocations: 16.06 kB / 0.6417 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1675, allocations: 3.938 kB / 0.6417 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-06/0.1675, allocations: 0 / 0.6417 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004646/0.1679, allocations: 456.5 kB / 0.6421 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.1682, allocations: 185.9 kB / 0.6423 GB, free: 9.293 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.1685, allocations: 0.6807 MB / 0.6429 GB, free: 8.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.96e-05/0.1685, allocations: 4 kB / 0.6429 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.976e-05/0.1686, allocations: 7.438 kB / 0.6429 GB, free: 8.574 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1686, allocations: 0 / 0.6429 GB, free: 8.574 MB / 494.1 MB Notification: Performance of Templates: time 0.004015/0.1726, allocations: 1.202 MB / 0.6441 GB, free: 7.414 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1)