Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006177/0.006182, allocations: 101.3 kB / 15.88 MB, free: 6.312 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.001228/0.001228, allocations: 195.2 kB / 16.79 MB, free: 6.242 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.375/1.375, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7585/0.7585, allocations: 126.1 MB / 416.7 MB, free: 8.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.56 kB / 0.4943 GB, free: 10.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1605, allocations: 78.71 MB / 0.5712 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003484/0.1641, allocations: 2.117 MB / 0.5732 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.1651, allocations: 0.5611 MB / 0.5738 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.1652, allocations: 0 / 0.5738 GB, free: 9.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.1654, allocations: 19.84 kB / 0.5738 GB, free: 9.594 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.1655, allocations: 35.72 kB / 0.5738 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.1658, allocations: 71.94 kB / 0.5739 GB, free: 9.488 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.166, allocations: 243.4 kB / 0.5741 GB, free: 9.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002311/0.1663, allocations: 118.8 kB / 0.5743 GB, free: 9.133 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001676/0.1665, allocations: 95.61 kB / 0.5743 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1666, allocations: 111.5 kB / 0.5745 GB, free: 8.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.1666, allocations: 16 kB / 0.5745 GB, free: 8.914 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.46e-05/0.1667, allocations: 12 kB / 0.5745 GB, free: 8.902 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.504e-05/0.1667, allocations: 51.77 kB / 0.5745 GB, free: 8.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.1669, allocations: 107.4 kB / 0.5746 GB, free: 8.746 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.1671, allocations: 255.4 kB / 0.5749 GB, free: 8.496 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.1671, allocations: 0 / 0.5749 GB, free: 8.496 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1671, allocations: 0 / 0.5749 GB, free: 8.496 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1671, allocations: 0 / 0.5749 GB, free: 8.496 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001246/0.1684, allocations: 0.6487 MB / 0.5755 GB, free: 7.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1684, allocations: 8.031 kB / 0.5755 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.44e-05/0.1685, allocations: 28.66 kB / 0.5755 GB, free: 7.742 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002659/0.1688, allocations: 248.4 kB / 0.5758 GB, free: 7.461 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.1688, allocations: 16.75 kB / 0.5758 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.1689, allocations: 23.94 kB / 0.5758 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.1695, allocations: 275.9 kB / 0.5761 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1695, allocations: 0 / 0.5761 GB, free: 7.141 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.805e-05/0.1696, allocations: 8 kB / 0.5761 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.1696, allocations: 4 kB / 0.5761 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.1703, allocations: 191.8 kB / 0.5763 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.1715, allocations: 0.6247 MB / 0.5769 GB, free: 6.266 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008442/0.1723, allocations: 222.5 kB / 0.5771 GB, free: 6.039 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.1727, allocations: 84.78 kB / 0.5772 GB, free: 5.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.522e-05/0.1727, allocations: 3.938 kB / 0.5772 GB, free: 5.949 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005716/0.1733, allocations: 195.1 kB / 0.5774 GB, free: 5.746 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.954e-06/0.1733, allocations: 0 / 0.5774 GB, free: 5.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.001112/0.1744, allocations: 331.1 kB / 0.5777 GB, free: 5.418 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.52e-05/0.1745, allocations: 110.8 kB / 0.5778 GB, free: 5.285 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.1747, allocations: 200.9 kB / 0.578 GB, free: 5.082 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.505e-05/0.1747, allocations: 37.64 kB / 0.578 GB, free: 5.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.1748, allocations: 160.1 kB / 0.5782 GB, free: 4.879 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.1749, allocations: 43.45 kB / 0.5782 GB, free: 4.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.175, allocations: 65.69 kB / 0.5783 GB, free: 4.766 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.1751, allocations: 330.8 kB / 0.5786 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.1755, allocations: 112.2 kB / 0.5787 GB, free: 4.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.1759, allocations: 179.2 kB / 0.5789 GB, free: 4.121 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.1767, allocations: 301.1 kB / 0.5792 GB, free: 3.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1767, allocations: 3.938 kB / 0.5792 GB, free: 3.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009563/0.1777, allocations: 428.5 kB / 0.5796 GB, free: 3.352 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.94e-05/0.1777, allocations: 93.05 kB / 0.5797 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1778, allocations: 4 kB / 0.5797 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1778, allocations: 0 / 0.5797 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.178, allocations: 51.89 kB / 0.5797 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.178, allocations: 0 / 0.5797 GB, free: 3.188 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.1784, allocations: 59.94 kB / 0.5798 GB, free: 3.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.978e-05/0.1784, allocations: 8 kB / 0.5798 GB, free: 3.121 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,antFre.intConOne.y,antFre.disErr.local_set,antFre.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 3 * 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 0.0001637/0.1786, allocations: 148 kB / 0.5799 GB, free: 2.969 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.949e-05/0.1786, allocations: 27.64 kB / 0.5799 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007951/0.1794, allocations: 261.6 kB / 0.5802 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1794, allocations: 0 / 0.5802 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1795, allocations: 0 / 0.5802 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.1795, allocations: 0 / 0.5802 GB, free: 2.684 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.1805, allocations: 0.584 MB / 0.5808 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1805, allocations: 0 / 0.5808 GB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.1807, allocations: 35.91 kB / 0.5808 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1807, allocations: 0 / 0.5808 GB, free: 2.008 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.1807, allocations: 11.98 kB / 0.5808 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.1807, allocations: 0 / 0.5808 GB, free: 1.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1807, allocations: 4 kB / 0.5808 GB, free: 1.992 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000772/0.1815, allocations: 341.2 kB / 0.5811 GB, free: 1.645 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.1816, allocations: 92.92 kB / 0.5812 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.82e-05/0.1816, allocations: 11.98 kB / 0.5812 GB, free: 1.523 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003074/0.1819, allocations: 39.95 kB / 0.5813 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.1821, allocations: 51.84 kB / 0.5813 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.569e-05/0.1821, allocations: 11.94 kB / 0.5813 GB, free: 1.422 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1823, allocations: 147 kB / 0.5815 GB, free: 1.277 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1823, allocations: 0 / 0.5815 GB, free: 1.277 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003239/0.1826, allocations: 59.84 kB / 0.5815 GB, free: 1.219 MB / 446.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: 13 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001812/0.1828, allocations: 115.2 kB / 0.5816 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009109/0.1837, allocations: 414.1 kB / 0.582 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1837, allocations: 4.062 kB / 0.582 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.1841, allocations: 115.8 kB / 0.5822 GB, free: 0.5352 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1845, allocations: 31.91 kB / 0.5822 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008065/0.1853, allocations: 434 kB / 0.5826 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2238/0.4091, allocations: 0.7343 MB / 0.5833 GB, free: 19.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001939/0.4094, allocations: 19.88 kB / 0.5833 GB, free: 19.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.794e-05/0.4095, allocations: 19.64 kB / 0.5833 GB, free: 19.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.4095, allocations: 0 / 0.5833 GB, free: 19.49 MB / 446.1 MB Notification: Performance of Templates: time 0.006789/0.4163, allocations: 2.776 MB / 0.5861 GB, free: 19.43 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1)