Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 113.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.005534/0.005534, allocations: 192.5 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.373/1.373, allocations: 225.6 MB / 250.7 MB, free: 13.36 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.038/1.038, allocations: 175.7 MB / 481.6 MB, free: 7.844 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.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00211/0.00211, allocations: 68.3 kB / 0.6701 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.5058, allocations: 94.52 MB / 0.7624 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00291/0.5087, allocations: 2.108 MB / 0.7644 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0008033/0.5095, allocations: 0.57 MB / 0.765 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.139e-05/0.5096, allocations: 2.969 kB / 0.765 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.5097, allocations: 24.75 kB / 0.765 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.014e-05/0.5098, allocations: 37.8 kB / 0.765 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.5101, allocations: 89.56 kB / 0.7651 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002733/0.5103, allocations: 263.3 kB / 0.7654 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.5105, allocations: 88.55 kB / 0.7655 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.5106, allocations: 114.9 kB / 0.7656 GB, free: 8.383 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.5108, allocations: 123.8 kB / 0.7657 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.42e-05/0.5108, allocations: 25.97 kB / 0.7657 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-05/0.5109, allocations: 26.38 kB / 0.7657 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.066e-05/0.5109, allocations: 55.08 kB / 0.7658 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.511, allocations: 113.1 kB / 0.7659 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.5113, allocations: 283.9 kB / 0.7662 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5113, allocations: 1.062 kB / 0.7662 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5113, allocations: 0 / 0.7662 GB, free: 8.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.68e-06/0.5113, allocations: 0 / 0.7662 GB, free: 8.09 MB / 0.5762 GB 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.0009398/0.5122, allocations: 0.6431 MB / 0.7668 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.5123, allocations: 8.969 kB / 0.7668 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.5123, allocations: 29.48 kB / 0.7668 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.5126, allocations: 255.2 kB / 0.7671 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.5126, allocations: 18.42 kB / 0.7671 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.5126, allocations: 23.67 kB / 0.7671 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005574/0.5132, allocations: 264.9 kB / 0.7674 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.5132, allocations: 5.578 kB / 0.7674 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.5132, allocations: 13.17 kB / 0.7674 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.5132, allocations: 4.562 kB / 0.7674 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006251/0.5139, allocations: 197.2 kB / 0.7676 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/0.5148, allocations: 0.6111 MB / 0.7682 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007407/0.5155, allocations: 214.2 kB / 0.7684 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.5158, allocations: 90.5 kB / 0.7685 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.5158, allocations: 6.469 kB / 0.7685 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004114/0.5162, allocations: 198.3 kB / 0.7687 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.713e-06/0.5162, allocations: 4 kB / 0.7687 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.000962/0.5172, allocations: 326 kB / 0.769 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.5172, allocations: 116.3 kB / 0.7691 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.5174, allocations: 201.3 kB / 0.7693 GB, free: 6.141 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.5174, allocations: 39.94 kB / 0.7693 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.5175, allocations: 156.1 kB / 0.7695 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.5175, allocations: 50.52 kB / 0.7695 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.5176, allocations: 67.09 kB / 0.7696 GB, free: 5.887 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.5176, allocations: 335.5 kB / 0.7699 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.518, allocations: 110.9 kB / 0.77 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003457/0.5183, allocations: 170 kB / 0.7702 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006013/0.5189, allocations: 314.6 kB / 0.7705 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5189, allocations: 0 / 0.7705 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008019/0.5197, allocations: 418.8 kB / 0.7709 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.5198, allocations: 95.45 kB / 0.771 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.5198, allocations: 1.75 kB / 0.771 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.5198, allocations: 3.406 kB / 0.771 GB, free: 4.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.52, allocations: 48.16 kB / 0.771 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.52, allocations: 6.109 kB / 0.771 GB, free: 4.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.5203, allocations: 60.28 kB / 0.7711 GB, free: 4.891 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.5204, allocations: 11.58 kB / 0.7711 GB, free: 4.891 MB / 0.5762 GB 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.000108/0.5205, allocations: 150.2 kB / 0.7712 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.5205, allocations: 24.27 kB / 0.7713 GB, free: 4.742 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006936/0.5212, allocations: 260.2 kB / 0.7715 GB, free: 4.652 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.5212, allocations: 5.688 kB / 0.7715 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5212, allocations: 0 / 0.7715 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.477e-05/0.5212, allocations: 91.45 kB / 0.7716 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/0.5213, allocations: 8.703 kB / 0.7716 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.5215, allocations: 36.83 kB / 0.7716 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.5216, allocations: 46.77 kB / 0.7717 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008356/0.5225, allocations: 350.9 kB / 0.772 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006858/0.5232, allocations: 428.6 kB / 0.7724 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003185/0.5235, allocations: 104.2 kB / 0.7725 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.432e-05/0.5236, allocations: 144.4 kB / 0.7727 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of Backend: time 9.42e-07/0.5236, allocations: 1 kB / 0.7727 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008565/0.5244, allocations: 406.5 kB / 0.7731 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0007709/0.5252, allocations: 0.7932 MB / 0.7738 GB, free: 2.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.00731/0.5325, allocations: 3.652 MB / 0.7774 GB, free: 2.758 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.8656745159532875] Failed to read output from testmodel.py, exit status != 0: 0.5398075199918821 0.552372419 0.038189727 Calling exit ...