Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.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.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 118.8 kB / 17.09 MB, free: 6.008 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.001763/0.001764, allocations: 193.6 kB / 18.03 MB, free: 5.086 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.411/1.411, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7866/0.7866, allocations: 126.1 MB / 417.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 60.52 kB / 0.5738 GB, free: 27.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1618, allocations: 78.7 MB / 0.6507 GB, free: 4.074 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.007331/0.1692, allocations: 5.113 MB / 0.6556 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004253/0.1735, allocations: 2.366 MB / 0.658 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009138/0.1744, allocations: 23.94 kB / 0.658 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1755, allocations: 329.9 kB / 0.6583 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.177, allocations: 417.5 kB / 0.6587 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001767/0.1788, allocations: 0.7086 MB / 0.6594 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002541/0.1814, allocations: 1.908 MB / 0.6612 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.1834, allocations: 1.009 MB / 0.6622 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001221/0.1846, allocations: 0.724 MB / 0.6629 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.1858, allocations: 0.8247 MB / 0.6637 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006169/0.1865, allocations: 236 kB / 0.664 GB, free: 6.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008143/0.1873, allocations: 283.9 kB / 0.6642 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007656/0.1881, allocations: 0.5181 MB / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001395/0.1895, allocations: 0.8593 MB / 0.6656 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002891/0.1924, allocations: 2.857 MB / 0.6684 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1924, allocations: 0 / 0.6684 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1924, allocations: 0 / 0.6684 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.339e-05/0.1924, allocations: 0 / 0.6684 GB, free: 1.832 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: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.004434/0.1969, allocations: 2.272 MB / 0.6706 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1969, allocations: 8.031 kB / 0.6706 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003083/0.1973, allocations: 182.9 kB / 0.6708 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001974/0.1992, allocations: 1.18 MB / 0.6719 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.698e-05/0.1993, allocations: 98.17 kB / 0.672 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.1995, allocations: 124 kB / 0.6721 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.2022, allocations: 1.324 MB / 0.6734 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.447e-05/0.2022, allocations: 0 / 0.6734 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/0.2024, allocations: 51.97 kB / 0.6735 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.2024, allocations: 28 kB / 0.6735 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/0.2049, allocations: 0.9689 MB / 0.6745 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005946/0.2108, allocations: 3.533 MB / 0.6779 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/0.2132, allocations: 0.9072 MB / 0.6788 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/0.2142, allocations: 462.6 kB / 0.6792 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001053/0.2144, allocations: 12.64 kB / 0.6792 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.2158, allocations: 0.6654 MB / 0.6799 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=90): time 3.257e-06/0.2159, allocations: 0 / 0.6799 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90): time 0.003554/0.2194, allocations: 1.378 MB / 0.6812 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/0.2196, allocations: 264.3 kB / 0.6815 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.2217, allocations: 1.245 MB / 0.6827 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.2218, allocations: 81.69 kB / 0.6828 GB, free: 2.645 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006326/0.2225, allocations: 0.6184 MB / 0.6834 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.2228, allocations: 246.2 kB / 0.6836 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004755/0.2232, allocations: 254.9 kB / 0.6839 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2234, allocations: 353.9 kB / 0.6842 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/0.2247, allocations: 430.4 kB / 0.6846 GB, free: 0.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/0.2261, allocations: 0.6672 MB / 0.6853 GB, free: 16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.2282, allocations: 1.049 MB / 0.6863 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.105e-06/0.2282, allocations: 4 kB / 0.6863 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003201/0.2314, allocations: 1.441 MB / 0.6877 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001339/0.2316, allocations: 209.5 kB / 0.6879 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.2316, allocations: 4 kB / 0.6879 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.712e-05/0.2316, allocations: 12.5 kB / 0.6879 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006947/0.2323, allocations: 159.7 kB / 0.6881 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/0.2324, allocations: 15.94 kB / 0.6881 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.2335, allocations: 195.1 kB / 0.6883 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.2337, allocations: 43.98 kB / 0.6883 GB, free: 12.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 115 (safCtr.opeEnv.disErr.y,$PRE.safCtr.opeEnv.disErr.y,safCtr.onOffCtr.onOffFuzLog.devTurOff,$PRE.safCtr.onOffCtr.onOffFuzLog.devTurOff,safCtr.antFre.disErr.y,$PRE.safCtr.antFre.disErr.y,safCtr.minVolFloRatSaf.disErr.y,$PRE.safCtr.minVolFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,TEvaInEmu.count,$PRE.TEvaInEmu.count,TEvaInEmu.T_start,$PRE.TEvaInEmu.T_start,TConOutEmu.count,$PRE.TConOutEmu.count,TConOutEmu.T_start,$PRE.TConOutEmu.T_start,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,safCtr.minVolFloRatSaf.hysEva.y,$PRE.safCtr.minVolFloRatSaf.hysEva.y,safCtr.minVolFloRatSaf.hysCon.y,$PRE.safCtr.minVolFloRatSaf.hysCon.y,safCtr.minVolFloRatSaf.booPasThr.y,safCtr.antFre.hys.y,$PRE.safCtr.antFre.hys.y,safCtr.onOffCtr.onOffFuzLog.devNorOpe,$PRE.safCtr.onOffCtr.onOffFuzLog.devNorOpe,safCtr.onOffCtr.onOffFuzLog.devRunMin,$PRE.safCtr.onOffCtr.onOffFuzLog.devRunMin,safCtr.onOffCtr.onOffFuzLog.staOn,safCtr.onOffCtr.onOffFuzLog.staOff,safCtr.onOffCtr.onOffFuzLog.turOff,$PRE.safCtr.onOffCtr.onOffFuzLog.turOff,safCtr.onOffCtr.onOffFuzLog.turOn,$PRE.safCtr.onOffCtr.onOffFuzLog.turOn,safCtr.onOffCtr.andIsAblToTurOn.y,safCtr.onOffCtr.runTimCtr.runTim.entryTime,$PRE.safCtr.onOffCtr.runTimCtr.runTim.entryTime,safCtr.onOffCtr.notIsOn.y,safCtr.onOffCtr.locTimCtr.runTim.entryTime,$PRE.safCtr.onOffCtr.locTimCtr.runTim.entryTime,safCtr.onOffCtr.locTimCtr.y,safCtr.onOffCtr.cycRatBou.triAdd.y,$PRE.safCtr.onOffCtr.cycRatBou.triAdd.y,safCtr.onOffCtr.cycRatBou.y,safCtr.onOffCtr.preOnOff.u,$PRE.safCtr.onOffCtr.preOnOff.u,safCtr.onOffCtr.isAblToTurOff.y,safCtr.onOffCtr.ySetOn.y,$PRE.safCtr.onOffCtr.ySetOn.y,safCtr.opeEnv.bouMapCoo.hysBou.y,$PRE.safCtr.opeEnv.bouMapCoo.hysBou.y,safCtr.opeEnv.bouMapCoo.hysRig.y,$PRE.safCtr.opeEnv.bouMapCoo.hysRig.y,safCtr.opeEnv.bouMapCoo.hysLef.y,$PRE.safCtr.opeEnv.bouMapCoo.hysLef.y,safCtr.opeEnv.bouMapCoo.noErr,safCtr.opeEnv.bouMapHea.hysBou.y,$PRE.safCtr.opeEnv.bouMapHea.hysBou.y,safCtr.opeEnv.bouMapHea.hysRig.y,$PRE.safCtr.opeEnv.bouMapHea.hysRig.y,safCtr.opeEnv.bouMapHea.hysLef.y,$PRE.safCtr.opeEnv.bouMapHea.hysLef.y,safCtr.opeEnv.booPasThr.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition16,$whenCondition17,$whenCondition18,conHea.y,safCtr.minVolFloRatSaf.intConOne.y,safCtr.minVolFloRatSaf.disErr.local_set,safCtr.minVolFloRatSaf.disErr.local_reset,safCtr.antFre.intConOne.y,safCtr.antFre.disErr.local_set,safCtr.antFre.disErr.local_reset,safCtr.onOffCtr.cycRatBou.intConPluOne.y,safCtr.onOffCtr.cycRatBou.triAdd.local_set,safCtr.onOffCtr.cycRatBou.triAdd.local_reset,safCtr.opeEnv.intConOne.y,safCtr.opeEnv.disErr.local_set,safCtr.opeEnv.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 7 * 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.0009536/0.2346, allocations: 457.4 kB / 0.6888 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/0.235, allocations: 127.2 kB / 0.6889 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002617/0.2376, allocations: 1.092 MB / 0.6899 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2376, allocations: 3.984 kB / 0.6899 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2376, allocations: 4 kB / 0.6899 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.238, allocations: 220.2 kB / 0.6902 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002821/0.2383, allocations: 43.98 kB / 0.6902 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/0.2392, allocations: 123.7 kB / 0.6903 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004213/0.2396, allocations: 188.8 kB / 0.6905 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002845/0.2425, allocations: 1.13 MB / 0.6916 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002464/0.245, allocations: 1.226 MB / 0.6928 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001123/0.2461, allocations: 0.566 MB / 0.6934 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001389/0.2475, allocations: 0.815 MB / 0.6941 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of Backend: time 4.21e-07/0.2475, allocations: 0 / 0.6941 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003448/0.251, allocations: 1.465 MB / 0.6956 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004169/0.2552, allocations: 2.528 MB / 0.698 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of Templates: time 0.03677/0.2919, allocations: 20.03 MB / 0.7176 GB, free: 14.74 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe 2>&1)