Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.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.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 88.17 kB / 15.7 MB, free: 460 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.00136/0.00136, allocations: 172 kB / 16.58 MB, free: 6.414 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.388/1.388, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7262/0.7262, allocations: 115.5 MB / 407.2 MB, free: 2.816 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.0003282, allocations: 12.75 kB / 495.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.16, allocations: 77.52 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.001901/0.162, allocations: 1.493 MB / 0.5608 GB, free: 7.887 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.1622, allocations: 115.6 kB / 0.5609 GB, free: 7.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.717e-05/0.1623, allocations: 4 kB / 0.5609 GB, free: 7.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.1625, allocations: 11.86 kB / 0.5609 GB, free: 7.758 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.38e-05/0.1626, allocations: 39.62 kB / 0.5609 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001217/0.1627, allocations: 27.95 kB / 0.561 GB, free: 7.691 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001725/0.1629, allocations: 163.1 kB / 0.5611 GB, free: 7.531 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.163, allocations: 21.09 kB / 0.5611 GB, free: 7.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.1631, allocations: 55.83 kB / 0.5612 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.668e-05/0.1632, allocations: 55.77 kB / 0.5612 GB, free: 7.402 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.1632, allocations: 4 kB / 0.5612 GB, free: 7.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.039e-05/0.1632, allocations: 4 kB / 0.5612 GB, free: 7.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.357e-05/0.1633, allocations: 15.92 kB / 0.5613 GB, free: 7.379 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.1633, allocations: 53.64 kB / 0.5613 GB, free: 7.32 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001094/0.1634, allocations: 76.06 kB / 0.5614 GB, free: 7.246 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.1634, allocations: 0 / 0.5614 GB, free: 7.246 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1634, allocations: 4 kB / 0.5614 GB, free: 7.242 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.1635, allocations: 0 / 0.5614 GB, free: 7.242 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007357/0.1642, allocations: 446.7 kB / 0.5618 GB, free: 6.758 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1642, allocations: 12.03 kB / 0.5618 GB, free: 6.746 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.841e-05/0.1643, allocations: 11.91 kB / 0.5618 GB, free: 6.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.1645, allocations: 208.3 kB / 0.562 GB, free: 6.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1645, allocations: 4 kB / 0.562 GB, free: 6.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.1646, allocations: 4 kB / 0.562 GB, free: 6.484 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1648, allocations: 123.3 kB / 0.5622 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1649, allocations: 3.953 kB / 0.5622 GB, free: 6.348 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.1649, allocations: 8 kB / 0.5622 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1649, allocations: 0 / 0.5622 GB, free: 6.34 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1652, allocations: 115.8 kB / 0.5623 GB, free: 6.227 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006771/0.1659, allocations: 480.7 kB / 0.5627 GB, free: 5.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003457/0.1662, allocations: 129.2 kB / 0.5629 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.1664, allocations: 73.77 kB / 0.5629 GB, free: 5.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.1664, allocations: 8 kB / 0.5629 GB, free: 5.473 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.1664, allocations: 38.56 kB / 0.563 GB, free: 5.426 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.1665, allocations: 0 / 0.563 GB, free: 5.426 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005389/0.167, allocations: 205.3 kB / 0.5632 GB, free: 5.219 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.1671, allocations: 81.11 kB / 0.5632 GB, free: 5.121 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.1672, allocations: 171.4 kB / 0.5634 GB, free: 4.945 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.1672, allocations: 25.7 kB / 0.5634 GB, free: 4.914 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.628e-05/0.1673, allocations: 108.2 kB / 0.5635 GB, free: 4.801 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.1674, allocations: 27.56 kB / 0.5636 GB, free: 4.773 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.1674, allocations: 0 / 0.5636 GB, free: 4.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1675, allocations: 326.8 kB / 0.5639 GB, free: 4.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001495/0.1676, allocations: 51.97 kB / 0.5639 GB, free: 4.395 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.1678, allocations: 65.67 kB / 0.564 GB, free: 4.324 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.1679, allocations: 51.98 kB / 0.564 GB, free: 4.273 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1679, allocations: 3.938 kB / 0.564 GB, free: 4.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003321/0.1683, allocations: 161.4 kB / 0.5642 GB, free: 4.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.1683, allocations: 10.34 kB / 0.5642 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1683, allocations: 0 / 0.5642 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.094e-05/0.1683, allocations: 0 / 0.5642 GB, free: 4.098 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.1685, allocations: 31.92 kB / 0.5642 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1685, allocations: 0 / 0.5642 GB, free: 4.066 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.1686, allocations: 19.98 kB / 0.5643 GB, free: 4.047 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.1686, allocations: 4.375 kB / 0.5643 GB, free: 4.043 MB / 430.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 (10): * Single equations (assignments): 10 * 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 9.755e-05/0.1687, allocations: 121.8 kB / 0.5644 GB, free: 3.914 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.824e-05/0.1688, allocations: 11.81 kB / 0.5644 GB, free: 3.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003958/0.1692, allocations: 182.7 kB / 0.5646 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1692, allocations: 4 kB / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1692, allocations: 0 / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.1692, allocations: 0 / 0.5646 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002689/0.1695, allocations: 221.5 kB / 0.5648 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1695, allocations: 0 / 0.5648 GB, free: 3.453 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.1696, allocations: 31.98 kB / 0.5648 GB, free: 3.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-06/0.1696, allocations: 3.938 kB / 0.5648 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1696, allocations: 0 / 0.5648 GB, free: 3.418 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.1696, allocations: 4 kB / 0.5648 GB, free: 3.414 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.1697, allocations: 7.922 kB / 0.5648 GB, free: 3.406 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003851/0.17, allocations: 322.8 kB / 0.5651 GB, free: 3.074 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.1701, allocations: 96.75 kB / 0.5652 GB, free: 2.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.1701, allocations: 4 kB / 0.5652 GB, free: 2.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.1703, allocations: 19.98 kB / 0.5652 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.1703, allocations: 7.984 kB / 0.5653 GB, free: 2.93 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1704, allocations: 4 kB / 0.5653 GB, free: 2.926 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.715e-05/0.1705, allocations: 125.5 kB / 0.5654 GB, free: 2.805 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1705, allocations: 0 / 0.5654 GB, free: 2.805 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1707, allocations: 24 kB / 0.5654 GB, free: 2.781 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (9): * Single equations (assignments): 9 * 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 9.729e-05/0.1708, allocations: 103.2 kB / 0.5655 GB, free: 2.668 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003384/0.1712, allocations: 115.9 kB / 0.5656 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1712, allocations: 0 / 0.5656 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.1714, allocations: 63.91 kB / 0.5657 GB, free: 2.492 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.1718, allocations: 39.97 kB / 0.5657 GB, free: 2.453 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004471/0.1723, allocations: 248.2 kB / 0.5659 GB, free: 2.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.1725, allocations: 0.7126 MB / 0.5666 GB, free: 1.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.034e-05/0.1726, allocations: 12.44 kB / 0.5667 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.1727, allocations: 15.44 kB / 0.5667 GB, free: 1.414 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1727, allocations: 0 / 0.5667 GB, free: 1.414 MB / 430.1 MB Notification: Performance of Templates: time 0.004173/0.1769, allocations: 1.85 MB / 0.5685 GB, free: 15.62 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)