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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 107.6 kB / 18.95 MB, free: 2.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 208.3 kB / 22.24 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.307/1.307, allocations: 203.8 MB / 0.5041 GB, free: 4.648 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 67.89 kB / 0.7187 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5331/0.5353, allocations: 102 MB / 0.8183 GB, free: 28.96 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003568/0.5388, allocations: 2.102 MB / 0.8204 GB, free: 27.58 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.54, allocations: 0.584 MB / 0.8209 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.5401, allocations: 3.812 kB / 0.8209 GB, free: 27.18 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.5402, allocations: 26.25 kB / 0.821 GB, free: 27.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 9.539e-05/0.5403, allocations: 41.72 kB / 0.821 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002737/0.5406, allocations: 101.6 kB / 0.8211 GB, free: 27.07 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0003632/0.5409, allocations: 291.6 kB / 0.8214 GB, free: 26.93 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000251/0.5412, allocations: 91.19 kB / 0.8215 GB, free: 26.88 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001959/0.5414, allocations: 120.1 kB / 0.8216 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002032/0.5416, allocations: 119.6 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 8.109e-05/0.5417, allocations: 28.22 kB / 0.8217 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 6.62e-05/0.5417, allocations: 32.34 kB / 0.8218 GB, free: 26.76 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 7.191e-05/0.5418, allocations: 64.12 kB / 0.8218 GB, free: 26.72 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.5419, allocations: 102.1 kB / 0.8219 GB, free: 26.66 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0004224/0.5424, allocations: 303.3 kB / 0.8222 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5424, allocations: 0 / 0.8222 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5424, allocations: 1.156 kB / 0.8222 GB, free: 26.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.5424, allocations: 0 / 0.8222 GB, free: 26.54 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001252/0.5436, allocations: 0.5993 MB / 0.8228 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.5437, allocations: 12.03 kB / 0.8228 GB, free: 26.06 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.5438, allocations: 36.94 kB / 0.8228 GB, free: 26.04 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.5442, allocations: 206.8 kB / 0.823 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.5442, allocations: 16.84 kB / 0.8231 GB, free: 25.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.935e-05/0.5443, allocations: 24.98 kB / 0.8231 GB, free: 25.85 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/0.545, allocations: 382 kB / 0.8234 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.545, allocations: 0 / 0.8234 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.129e-05/0.545, allocations: 7.562 kB / 0.8234 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.545, allocations: 8.125 kB / 0.8235 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007304/0.5457, allocations: 207.1 kB / 0.8237 GB, free: 25.56 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/0.5469, allocations: 0.5154 MB / 0.8242 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007054/0.5476, allocations: 200.5 kB / 0.8243 GB, free: 25.17 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.5479, allocations: 92.83 kB / 0.8244 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.548, allocations: 2.125 kB / 0.8244 GB, free: 25.14 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005268/0.5485, allocations: 202.6 kB / 0.8246 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=20): time 2.084e-06/0.5485, allocations: 0 / 0.8246 GB, free: 25.06 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20): time 0.001148/0.5496, allocations: 348.3 kB / 0.825 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/0.5497, allocations: 113.9 kB / 0.8251 GB, free: 24.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.5499, allocations: 220.3 kB / 0.8253 GB, free: 24.68 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.679e-05/0.5499, allocations: 40.48 kB / 0.8253 GB, free: 24.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.55, allocations: 158.7 kB / 0.8255 GB, free: 24.5 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 4.672e-05/0.5501, allocations: 61.11 kB / 0.8255 GB, free: 24.45 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.5502, allocations: 66.06 kB / 0.8256 GB, free: 24.42 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.629e-05/0.5503, allocations: 336 kB / 0.8259 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.5507, allocations: 194.9 kB / 0.8261 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004435/0.5511, allocations: 319.6 kB / 0.8264 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006786/0.5518, allocations: 319.1 kB / 0.8267 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5518, allocations: 1.344 kB / 0.8267 GB, free: 23.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009428/0.5527, allocations: 0.5044 MB / 0.8272 GB, free: 23.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.5528, allocations: 90.67 kB / 0.8273 GB, free: 23.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.5528, allocations: 6.453 kB / 0.8273 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.5528, allocations: 7.969 kB / 0.8273 GB, free: 23.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/0.5531, allocations: 49.36 kB / 0.8273 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.5531, allocations: 6.094 kB / 0.8274 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/0.5535, allocations: 63.05 kB / 0.8274 GB, free: 23.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.5535, allocations: 13.23 kB / 0.8274 GB, free: 23.06 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,ySetOn.y,$PRE.ySetOn.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,antFre.errAndSetOn.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 (34): * Single equations (assignments): 31 * 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.000138/0.5536, allocations: 164.5 kB / 0.8276 GB, free: 22.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.05e-05/0.5537, allocations: 22.11 kB / 0.8276 GB, free: 22.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000819/0.5545, allocations: 272.7 kB / 0.8279 GB, free: 22.81 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.5545, allocations: 6.688 kB / 0.8279 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5545, allocations: 1.188 kB / 0.8279 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5545, allocations: 1.312 kB / 0.8279 GB, free: 22.8 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.5555, allocations: 0.5222 MB / 0.8284 GB, free: 22.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5555, allocations: 3.938 kB / 0.8284 GB, free: 22.48 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.5557, allocations: 36.09 kB / 0.8284 GB, free: 22.48 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.5557, allocations: 2.125 kB / 0.8284 GB, free: 22.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.239e-05/0.5557, allocations: 5.562 kB / 0.8284 GB, free: 22.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5557, allocations: 0 / 0.8284 GB, free: 22.48 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5557, allocations: 1.375 kB / 0.8284 GB, free: 22.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/0.5565, allocations: 365.7 kB / 0.8288 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.5565, allocations: 27.41 kB / 0.8288 GB, free: 22.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.682e-05/0.5565, allocations: 7.547 kB / 0.8288 GB, free: 22.26 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003202/0.5569, allocations: 46.2 kB / 0.8289 GB, free: 22.26 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.557, allocations: 48.92 kB / 0.8289 GB, free: 22.25 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.557, allocations: 8.312 kB / 0.8289 GB, free: 22.25 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0001082/0.5571, allocations: 147.3 kB / 0.8291 GB, free: 22.15 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.5571, allocations: 1.375 kB / 0.8291 GB, free: 22.15 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0003484/0.5575, allocations: 70.8 kB / 0.8291 GB, free: 22.12 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$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,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * 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.0001723/0.5577, allocations: 115.8 kB / 0.8292 GB, free: 22.02 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009814/0.5586, allocations: 0.4944 MB / 0.8297 GB, free: 21.68 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.5586, allocations: 0 / 0.8297 GB, free: 21.68 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004006/0.559, allocations: 111.1 kB / 0.8298 GB, free: 21.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.5594, allocations: 45.45 kB / 0.8299 GB, free: 21.63 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.5603, allocations: 384.6 kB / 0.8302 GB, free: 21.39 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.5604, allocations: 134.6 kB / 0.8304 GB, free: 21.31 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.5605, allocations: 22.22 kB / 0.8304 GB, free: 21.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.5606, allocations: 28.98 kB / 0.8304 GB, free: 21.29 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.5606, allocations: 0 / 0.8304 GB, free: 21.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.008901/0.5695, allocations: 3.837 MB / 0.8342 GB, free: 20.94 MB / 0.6387 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: 6.653787329792976] Failed to read output from testmodel.py, exit status != 0: 0.5789443217217922 0.592395823 0.046954951 Calling exit ...