Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.000778/0.000778, allocations: 84.44 kB / 20.69 MB, free: 3.875 MB / 18.57 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.000741/0.000741, allocations: 165.9 kB / 23.96 MB, free: 0.6016 MB / 18.57 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 0.8825/0.8825, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5765/0.5765, allocations: 114 MB / 374.7 MB, free: 8.699 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5555 GB, free: 2.191 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.915e-05/2.077e-05, allocations: 2.281 kB / 0.5555 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002324/0.002344, allocations: 2.081 MB / 0.5575 GB, free: 100 kB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008004/0.003145, allocations: 0.5921 MB / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.804e-05/0.003243, allocations: 0 / 0.5581 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001099/0.003353, allocations: 27.67 kB / 0.5581 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.516e-05/0.003428, allocations: 39.59 kB / 0.5582 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.003668, allocations: 99.81 kB / 0.5583 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.004106, allocations: 291.2 kB / 0.5585 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.004303, allocations: 91.58 kB / 0.5586 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00015/0.004453, allocations: 175.6 kB / 0.5588 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.004558, allocations: 91.69 kB / 0.5589 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.004595, allocations: 28 kB / 0.5589 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.449e-05/0.00462, allocations: 32 kB / 0.5589 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.004672, allocations: 63.8 kB / 0.559 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.004741, allocations: 87.73 kB / 0.5591 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002658/0.005007, allocations: 319 kB / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.005009, allocations: 4 kB / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.82e-07/0.00501, allocations: 0 / 0.5594 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.005014, allocations: 0 / 0.5594 GB, free: 14.18 MB / 0.5261 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.0007805/0.005794, allocations: 0.5968 MB / 0.56 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.00583, allocations: 15.97 kB / 0.56 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.005888, allocations: 36.75 kB / 0.56 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.006157, allocations: 202.8 kB / 0.5602 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.006175, allocations: 16.88 kB / 0.5602 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.923e-05/0.006204, allocations: 24.38 kB / 0.5603 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004027/0.006607, allocations: 377.4 kB / 0.5606 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.006617, allocations: 3.984 kB / 0.5606 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.006642, allocations: 8 kB / 0.5606 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006649, allocations: 8 kB / 0.5606 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.007007, allocations: 213.8 kB / 0.5608 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.007712, allocations: 0.518 MB / 0.5613 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.008068, allocations: 198.3 kB / 0.5615 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/0.008222, allocations: 92.78 kB / 0.5616 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.008242, allocations: 4 kB / 0.5616 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.008525, allocations: 199.2 kB / 0.5618 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.008526, allocations: 0 / 0.5618 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=20): time 0.0005901/0.009116, allocations: 346.5 kB / 0.5622 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.009167, allocations: 114.8 kB / 0.5623 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.009298, allocations: 215 kB / 0.5625 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.009323, allocations: 37.7 kB / 0.5625 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.009405, allocations: 168.6 kB / 0.5627 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.009436, allocations: 55.62 kB / 0.5627 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.009509, allocations: 69.97 kB / 0.5628 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.426e-05/0.009594, allocations: 334.8 kB / 0.5631 GB, free: 10.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.009813, allocations: 193.3 kB / 0.5633 GB, free: 9.949 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/0.01007, allocations: 320 kB / 0.5636 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003539/0.01042, allocations: 322.4 kB / 0.5639 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.01042, allocations: 0 / 0.5639 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005312/0.01096, allocations: 0.5123 MB / 0.5644 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.011, allocations: 89.09 kB / 0.5645 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.01101, allocations: 11.88 kB / 0.5645 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.01102, allocations: 0 / 0.5645 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.01114, allocations: 56.05 kB / 0.5645 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/0.01115, allocations: 4 kB / 0.5646 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.01131, allocations: 63.72 kB / 0.5646 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.01132, allocations: 12 kB / 0.5646 GB, free: 8.422 MB / 0.5261 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.0001034/0.01143, allocations: 151.9 kB / 0.5648 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.01145, allocations: 23.86 kB / 0.5648 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004304/0.01188, allocations: 277.4 kB / 0.5651 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.01189, allocations: 0 / 0.5651 GB, free: 7.965 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.01189, allocations: 3.984 kB / 0.5651 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.01189, allocations: 0 / 0.5651 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008108/0.01271, allocations: 0.525 MB / 0.5656 GB, free: 7.398 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.01271, allocations: 7.922 kB / 0.5656 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.424e-05/0.01278, allocations: 23.97 kB / 0.5656 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.01279, allocations: 11.98 kB / 0.5656 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.0128, allocations: 11.98 kB / 0.5656 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.0128, allocations: 0 / 0.5656 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01281, allocations: 4 kB / 0.5656 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.01318, allocations: 357.2 kB / 0.566 GB, free: 6.977 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 1.996e-05/0.0132, allocations: 35.66 kB / 0.566 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.01323, allocations: 8 kB / 0.566 GB, free: 6.934 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.01337, allocations: 47.94 kB / 0.5661 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.818e-05/0.01346, allocations: 43.92 kB / 0.5661 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.01348, allocations: 11.98 kB / 0.5661 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.11e-05/0.01356, allocations: 152.2 kB / 0.5663 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.01356, allocations: 0 / 0.5663 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001991/0.01376, allocations: 55.89 kB / 0.5663 GB, free: 6.629 MB / 0.5261 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 9.441e-05/0.01385, allocations: 123.2 kB / 0.5664 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005108/0.01436, allocations: 495.5 kB / 0.5669 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01436, allocations: 320 / 0.5669 GB, free: 5.957 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.01455, allocations: 118.1 kB / 0.567 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002417/0.01479, allocations: 44.25 kB / 0.5671 GB, free: 5.805 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005293/0.01532, allocations: 409 kB / 0.5674 GB, free: 5.375 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.024e-05/0.0154, allocations: 138.1 kB / 0.5676 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.102e-05/0.01548, allocations: 28.48 kB / 0.5676 GB, free: 5.191 MB / 0.5261 GB Notification: Performance of SimCode: time 4.91e-07/0.01548, allocations: 3.938 kB / 0.5676 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of Templates: time 0.003244/0.01873, allocations: 3.158 MB / 0.5707 GB, free: 2.047 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.066261055879295] Failed to read output from testmodel.py, exit status != 0: 0.023844449780881405 0.031922213000000005 0.025298711 Calling exit ...