Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 114.9 kB / 18.71 MB, free: 3.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004812/0.004812, allocations: 191.3 kB / 21.96 MB, free: 5.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 225.6 MB / 250.7 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.033/1.033, allocations: 175.7 MB / 481.6 MB, free: 7.852 MB / 382.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 73.09 kB / 0.6701 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5084/0.5103, allocations: 94.52 MB / 0.7624 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety): time 0.006308/0.5166, allocations: 5.177 MB / 0.7674 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.003534/0.5201, allocations: 2.387 MB / 0.7698 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005329/0.5207, allocations: 19.22 kB / 0.7698 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.5215, allocations: 334.7 kB / 0.7701 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0007868/0.5223, allocations: 414.1 kB / 0.7705 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.5236, allocations: 0.725 MB / 0.7712 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001726/0.5253, allocations: 1.899 MB / 0.7731 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009045/0.5262, allocations: 0.6175 MB / 0.7737 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.5269, allocations: 0.7155 MB / 0.7744 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008628/0.5278, allocations: 0.8504 MB / 0.7752 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.5281, allocations: 234.5 kB / 0.7754 GB, free: 2.039 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004031/0.5285, allocations: 268.5 kB / 0.7757 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.5289, allocations: 0.5267 MB / 0.7762 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005496/0.5295, allocations: 0.8611 MB / 0.777 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002986/0.5325, allocations: 2.861 MB / 0.7798 GB, free: 4 kB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5325, allocations: 0.6094 kB / 0.7798 GB, free: 4 kB / 0.5762 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5325, allocations: 1.125 kB / 0.7798 GB, free: 4 kB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.951e-05/0.5325, allocations: 1.438 kB / 0.7798 GB, free: 4 kB / 0.5762 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.004517/0.537, allocations: 2.277 MB / 0.782 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5371, allocations: 8.625 kB / 0.7821 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003098/0.5374, allocations: 185.9 kB / 0.7822 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00195/0.5393, allocations: 1.173 MB / 0.7834 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.151e-05/0.5394, allocations: 99.16 kB / 0.7835 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.5396, allocations: 127 kB / 0.7836 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002542/0.5421, allocations: 1.318 MB / 0.7849 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.5421, allocations: 0 / 0.7849 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/0.5423, allocations: 54.06 kB / 0.7849 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.5423, allocations: 25 kB / 0.785 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002372/0.5447, allocations: 0.9713 MB / 0.7859 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005927/0.5506, allocations: 3.535 MB / 0.7894 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002186/0.5528, allocations: 0.8129 MB / 0.7901 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.5538, allocations: 383.7 kB / 0.7905 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.843e-05/0.5538, allocations: 9.984 kB / 0.7905 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001579/0.5554, allocations: 0.6698 MB / 0.7912 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=90): time 2.695e-06/0.5554, allocations: 0 / 0.7912 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=90): time 0.004126/0.5596, allocations: 1.379 MB / 0.7925 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/0.5597, allocations: 258 kB / 0.7928 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002022/0.5617, allocations: 1.251 MB / 0.794 GB, free: 8.844 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001617/0.5619, allocations: 82.3 kB / 0.7941 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/0.5625, allocations: 0.615 MB / 0.7947 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002701/0.5628, allocations: 246.2 kB / 0.7949 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003992/0.5632, allocations: 256.7 kB / 0.7951 GB, free: 7.988 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.5634, allocations: 355.5 kB / 0.7955 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.5645, allocations: 430.1 kB / 0.7959 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.5658, allocations: 0.664 MB / 0.7965 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/0.568, allocations: 1.051 MB / 0.7976 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.568, allocations: 1.625 kB / 0.7976 GB, free: 6.199 MB / 0.5919 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.003081/0.5711, allocations: 1.435 MB / 0.799 GB, free: 5.371 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.5713, allocations: 203.9 kB / 0.7992 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.5713, allocations: 5.625 kB / 0.7992 GB, free: 5.141 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.791e-05/0.5713, allocations: 15 kB / 0.7992 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000652/0.572, allocations: 165.1 kB / 0.7993 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.062e-05/0.572, allocations: 9.188 kB / 0.7994 GB, free: 5.078 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.573, allocations: 193.2 kB / 0.7995 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.5731, allocations: 45.19 kB / 0.7996 GB, free: 4.957 MB / 0.5919 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.0007155/0.5738, allocations: 455.7 kB / 0.8 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.574, allocations: 129.5 kB / 0.8001 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.5766, allocations: 1.088 MB / 0.8012 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.5766, allocations: 3.984 kB / 0.8012 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5766, allocations: 0 / 0.8012 GB, free: 3.996 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002678/0.5768, allocations: 224.8 kB / 0.8014 GB, free: 3.797 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000203/0.577, allocations: 44.83 kB / 0.8015 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007847/0.5778, allocations: 121.3 kB / 0.8016 GB, free: 3.711 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/0.5782, allocations: 188.2 kB / 0.8018 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002723/0.5809, allocations: 1.138 MB / 0.8029 GB, free: 2.996 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002458/0.5834, allocations: 1.221 MB / 0.8041 GB, free: 2.305 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001071/0.5845, allocations: 471.8 kB / 0.8045 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001184/0.5857, allocations: 0.8171 MB / 0.8053 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of Backend: time 4.51e-07/0.5857, allocations: 0 / 0.8053 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003703/0.5894, allocations: 1.431 MB / 0.8067 GB, free: 0.6914 MB / 0.5919 GB Notification: Performance of SimCode: time 0.003964/0.5933, allocations: 2.525 MB / 0.8092 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of Templates: time 0.0342/0.6275, allocations: 20.47 MB / 0.8292 GB, free: 2.004 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.Safety.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.384850932052359] Failed to read output from testmodel.py, exit status != 0: 0.635524581070058 0.648828187 0.11342175 Calling exit ...