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.001368/0.001368, allocations: 114.1 kB / 17.09 MB, free: 5.996 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.00114/0.00114, allocations: 194.7 kB / 18.03 MB, free: 5.074 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.368/1.368, 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.8085/0.8085, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 72.56 kB / 0.5738 GB, free: 27.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1554, allocations: 78.69 MB / 0.6507 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.006949/0.1624, allocations: 5.109 MB / 0.6556 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004145/0.1666, allocations: 2.366 MB / 0.658 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005538/0.1672, allocations: 23.94 kB / 0.658 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008114/0.168, allocations: 330 kB / 0.6583 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009809/0.169, allocations: 413.4 kB / 0.6587 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1704, allocations: 0.7128 MB / 0.6594 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002069/0.1725, allocations: 1.908 MB / 0.6612 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.1739, allocations: 1.001 MB / 0.6622 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00114/0.175, allocations: 0.7202 MB / 0.6629 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.176, allocations: 0.8324 MB / 0.6637 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002787/0.1763, allocations: 232 kB / 0.664 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.1767, allocations: 280 kB / 0.6642 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006366/0.1774, allocations: 0.5181 MB / 0.6647 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0008358/0.1782, allocations: 0.8631 MB / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003087/0.1813, allocations: 2.861 MB / 0.6684 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1814, allocations: 0 / 0.6684 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1814, allocations: 0 / 0.6684 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.961e-05/0.1814, allocations: 0 / 0.6684 GB, free: 1.805 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.004822/0.1862, allocations: 2.272 MB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1863, allocations: 12.03 kB / 0.6706 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004149/0.1867, allocations: 182.9 kB / 0.6708 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002051/0.1888, allocations: 1.172 MB / 0.6719 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.207e-05/0.1889, allocations: 102.2 kB / 0.672 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.1891, allocations: 124 kB / 0.6721 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002715/0.1918, allocations: 1.316 MB / 0.6734 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.463e-05/0.1918, allocations: 0 / 0.6734 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.1919, allocations: 55.95 kB / 0.6735 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.192, allocations: 27.94 kB / 0.6735 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00256/0.1945, allocations: 0.9689 MB / 0.6744 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006539/0.2011, allocations: 3.53 MB / 0.6779 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.2034, allocations: 0.9103 MB / 0.6788 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/0.2045, allocations: 462.6 kB / 0.6792 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.227e-05/0.2046, allocations: 20.95 kB / 0.6792 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001474/0.2061, allocations: 0.6564 MB / 0.6799 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=90): time 3.697e-06/0.2061, allocations: 0 / 0.6799 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=90): time 0.003677/0.2098, allocations: 1.386 MB / 0.6812 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00014/0.2099, allocations: 260.3 kB / 0.6815 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.212, allocations: 1.245 MB / 0.6827 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001729/0.2122, allocations: 81.69 kB / 0.6828 GB, free: 2.617 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007434/0.2129, allocations: 0.6184 MB / 0.6834 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.2132, allocations: 246.2 kB / 0.6836 GB, free: 1.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004592/0.2137, allocations: 258.9 kB / 0.6839 GB, free: 1.492 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2138, allocations: 353.9 kB / 0.6842 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.2151, allocations: 430.4 kB / 0.6846 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.2165, allocations: 0.6672 MB / 0.6853 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/0.2187, allocations: 1.045 MB / 0.6863 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.2187, allocations: 0 / 0.6863 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003153/0.2218, allocations: 1.437 MB / 0.6877 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.222, allocations: 203.9 kB / 0.6879 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.222, allocations: 8 kB / 0.6879 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.592e-05/0.222, allocations: 12.44 kB / 0.6879 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006839/0.2227, allocations: 167.6 kB / 0.6881 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.397e-05/0.2228, allocations: 11.94 kB / 0.6881 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.2239, allocations: 195.1 kB / 0.6883 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.224, allocations: 51.98 kB / 0.6883 GB, free: 12.64 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.0007132/0.2248, allocations: 449.4 kB / 0.6887 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002882/0.2251, allocations: 135.2 kB / 0.6889 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002577/0.2276, allocations: 1.084 MB / 0.6899 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2277, allocations: 3.984 kB / 0.6899 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.2277, allocations: 0 / 0.6899 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003154/0.228, allocations: 228.1 kB / 0.6901 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.2282, allocations: 43.98 kB / 0.6902 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008823/0.2291, allocations: 123.8 kB / 0.6903 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004064/0.2295, allocations: 188.8 kB / 0.6905 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002832/0.2324, allocations: 1.138 MB / 0.6916 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00248/0.2349, allocations: 1.219 MB / 0.6928 GB, free: 8 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001124/0.236, allocations: 0.5661 MB / 0.6933 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001209/0.2372, allocations: 0.815 MB / 0.6941 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of Backend: time 5.21e-07/0.2372, allocations: 0 / 0.6941 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003237/0.2405, allocations: 1.469 MB / 0.6956 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of SimCode: time 0.003853/0.2443, allocations: 2.527 MB / 0.698 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of Templates: time 0.0336/0.278, allocations: 20.03 MB / 0.7176 GB, free: 14.71 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)