Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 118.9 kB / 17.09 MB, free: 6.012 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.001126/0.001127, allocations: 192.7 kB / 18.02 MB, free: 5.094 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.36/1.36, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7294/0.7294, allocations: 115.3 MB / 407.2 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 69.56 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.1533, allocations: 76.17 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005624/0.1589, allocations: 4.01 MB / 0.6366 GB, free: 372 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.000221/0.1592, allocations: 167.5 kB / 0.6368 GB, free: 204 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.1592, allocations: 0 / 0.6368 GB, free: 204 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.1594, allocations: 0 / 0.6368 GB, free: 204 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.1595, allocations: 15.92 kB / 0.6368 GB, free: 188 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.1598, allocations: 75.69 kB / 0.6369 GB, free: 112 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001097/0.16, allocations: 35.91 kB / 0.6369 GB, free: 76 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.16, allocations: 0 / 0.6369 GB, free: 76 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.1601, allocations: 23.91 kB / 0.6369 GB, free: 52 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.1601, allocations: 11.94 kB / 0.6369 GB, free: 40 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1602, allocations: 0 / 0.6369 GB, free: 40 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1604, allocations: 63.81 kB / 0.637 GB, free: 15.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.427e-05/0.1605, allocations: 7.969 kB / 0.637 GB, free: 15.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.627e-05/0.1605, allocations: 11.94 kB / 0.637 GB, free: 15.96 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.1606, allocations: 43.89 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1606, allocations: 0 / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1607, allocations: 0 / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.1607, allocations: 0 / 0.6371 GB, free: 15.91 MB / 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.0004146/0.1611, allocations: 339.4 kB / 0.6374 GB, free: 15.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1611, allocations: 12.03 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.1612, allocations: 0.9375 kB / 0.6374 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.1613, allocations: 168.3 kB / 0.6376 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.255e-05/0.1614, allocations: 30.27 kB / 0.6376 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-06/0.1614, allocations: 384 / 0.6376 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.1615, allocations: 45.56 kB / 0.6376 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.1616, allocations: 4 kB / 0.6376 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.1616, allocations: 4 kB / 0.6376 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.1616, allocations: 4 kB / 0.6376 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.878e-05/0.1617, allocations: 11.98 kB / 0.6377 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.1621, allocations: 334 kB / 0.638 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.576e-05/0.1622, allocations: 18.58 kB / 0.638 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.681e-05/0.1622, allocations: 12.8 kB / 0.638 GB, free: 14.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-05/0.1623, allocations: 85.17 kB / 0.6381 GB, free: 14.67 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1623, allocations: 38.55 kB / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.1623, allocations: 0 / 0.6381 GB, free: 14.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001553/0.1625, allocations: 33.7 kB / 0.6382 GB, free: 14.59 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.301e-05/0.1625, allocations: 51.41 kB / 0.6382 GB, free: 14.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.21e-05/0.1626, allocations: 109.8 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.1626, allocations: 25.7 kB / 0.6383 GB, free: 14.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.107e-05/0.1627, allocations: 88.17 kB / 0.6384 GB, free: 14.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.661e-06/0.1627, allocations: 3.906 kB / 0.6384 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-05/0.1627, allocations: 17.72 kB / 0.6384 GB, free: 14.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1629, allocations: 326.7 kB / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.1629, allocations: 0 / 0.6387 GB, free: 13.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.59e-05/0.1629, allocations: 17.72 kB / 0.6388 GB, free: 13.91 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.958e-05/0.163, allocations: 25.7 kB / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.163, allocations: 0 / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.825e-05/0.1631, allocations: 45.64 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1631, allocations: 4 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1631, allocations: 4 kB / 0.6388 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1631, allocations: 3.984 kB / 0.6388 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.367e-05/0.1632, allocations: 4 kB / 0.6388 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.1632, allocations: 0 / 0.6388 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.013e-05/0.1632, allocations: 3.938 kB / 0.6388 GB, free: 13.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.1632, allocations: 8.062 kB / 0.6389 GB, free: 13.8 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 7.689e-05/0.1633, allocations: 113.8 kB / 0.639 GB, free: 13.68 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.1633, allocations: 4 kB / 0.639 GB, free: 13.67 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1634, allocations: 125.1 kB / 0.6391 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.973e-05/0.1635, allocations: 180.2 kB / 0.6393 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.175e-05/0.1636, allocations: 184.2 kB / 0.6394 GB, free: 13.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.678e-05/0.1637, allocations: 188.2 kB / 0.6396 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.1639, allocations: 409.1 kB / 0.64 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/0.1639, allocations: 109 kB / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.164, allocations: 105 kB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-05/0.1641, allocations: 180.2 kB / 0.6404 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.804e-05/0.1641, allocations: 180.3 kB / 0.6406 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.252e-05/0.1642, allocations: 180.2 kB / 0.6407 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.079e-05/0.1642, allocations: 180.3 kB / 0.6409 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.1644, allocations: 311.7 kB / 0.6412 GB, free: 11.24 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.1645, allocations: 182.1 kB / 0.6414 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.729e-05/0.1645, allocations: 180.2 kB / 0.6415 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.1647, allocations: 109 kB / 0.6416 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.1648, allocations: 180.3 kB / 0.6418 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.004e-05/0.1648, allocations: 108.9 kB / 0.6419 GB, free: 10.44 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.33e-05/0.1649, allocations: 87.27 kB / 0.642 GB, free: 10.36 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1649, allocations: 0 / 0.642 GB, free: 10.36 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.1651, allocations: 23.94 kB / 0.642 GB, free: 10.33 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.0002523/0.1654, allocations: 202.4 kB / 0.6422 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.1655, allocations: 8 kB / 0.6422 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.1655, allocations: 0 / 0.6422 GB, free: 10.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.588e-06/0.1655, allocations: 3.938 kB / 0.6422 GB, free: 10.11 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.1659, allocations: 465.8 kB / 0.6427 GB, free: 9.656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.1661, allocations: 199.6 kB / 0.6429 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1664, allocations: 0.6768 MB / 0.6435 GB, free: 8.723 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.387e-05/0.1664, allocations: 11.44 kB / 0.6435 GB, free: 8.711 MB / 494.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1664, allocations: 0 / 0.6435 GB, free: 8.711 MB / 494.1 MB Notification: Performance of Templates: time 0.002345/0.1688, allocations: 0.757 MB / 0.6443 GB, free: 7.957 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)