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.001369/0.001369, allocations: 74.75 kB / 19.93 MB, free: 1.77 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.001442/0.001442, allocations: 171 kB / 23.22 MB, free: 4.887 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.369/1.369, allocations: 177.1 MB / 203.5 MB, free: 9.168 MB / 190.1 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.8916/0.8916, allocations: 114 MB / 373.9 MB, free: 13.23 MB / 350.1 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.383e-06/1.383e-06, allocations: 0 / 0.5547 GB, free: 2.578 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.489e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.574 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003576/0.003601, allocations: 2.094 MB / 0.5568 GB, free: 484 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.004943, allocations: 0.5844 MB / 0.5574 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001531/0.005096, allocations: 0 / 0.5574 GB, free: 15.89 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.005228, allocations: 23.67 kB / 0.5574 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000127/0.005355, allocations: 47.59 kB / 0.5574 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003128/0.005668, allocations: 107.7 kB / 0.5575 GB, free: 15.71 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004354/0.006103, allocations: 287.2 kB / 0.5578 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.006359, allocations: 92.73 kB / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.006619, allocations: 175.6 kB / 0.5581 GB, free: 15.17 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00016/0.006779, allocations: 99.66 kB / 0.5581 GB, free: 15.07 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.622e-05/0.006835, allocations: 28 kB / 0.5582 GB, free: 15.05 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.81e-05/0.006883, allocations: 28 kB / 0.5582 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.006951, allocations: 63.81 kB / 0.5583 GB, free: 14.96 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.007067, allocations: 87.73 kB / 0.5583 GB, free: 14.87 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.007469, allocations: 319 kB / 0.5586 GB, free: 14.56 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.007476, allocations: 4 kB / 0.5587 GB, free: 14.55 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.007478, allocations: 0 / 0.5587 GB, free: 14.55 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.007486, allocations: 0 / 0.5587 GB, free: 14.55 MB / 478.1 MB 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.001309/0.008795, allocations: 0.6006 MB / 0.5592 GB, free: 13.9 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.008834, allocations: 12.03 kB / 0.5593 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.238e-05/0.008916, allocations: 36.75 kB / 0.5593 GB, free: 13.86 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.009318, allocations: 206.8 kB / 0.5595 GB, free: 13.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.009345, allocations: 24.88 kB / 0.5595 GB, free: 13.6 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.647e-05/0.009392, allocations: 24.36 kB / 0.5595 GB, free: 13.58 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007335/0.01013, allocations: 369.4 kB / 0.5599 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.01014, allocations: 0 / 0.5599 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.01017, allocations: 12 kB / 0.5599 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.01018, allocations: 4 kB / 0.5599 GB, free: 13.17 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007195/0.0109, allocations: 213.8 kB / 0.5601 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/0.01209, allocations: 0.5102 MB / 0.5606 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006975/0.01279, allocations: 198.4 kB / 0.5608 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.01312, allocations: 84.78 kB / 0.5609 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.01315, allocations: 4 kB / 0.5609 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005363/0.01369, allocations: 203.1 kB / 0.5611 GB, free: 11.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=20): time 1.964e-06/0.01369, allocations: 0 / 0.5611 GB, free: 11.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=20): time 0.001238/0.01493, allocations: 354.9 kB / 0.5614 GB, free: 11.56 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.01505, allocations: 106.8 kB / 0.5615 GB, free: 11.43 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.01537, allocations: 215 kB / 0.5617 GB, free: 11.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.01543, allocations: 37.69 kB / 0.5617 GB, free: 11.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.01559, allocations: 160.6 kB / 0.5619 GB, free: 11.01 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.345e-05/0.01565, allocations: 59.58 kB / 0.562 GB, free: 10.95 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.01579, allocations: 69.97 kB / 0.562 GB, free: 10.88 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.016, allocations: 330.8 kB / 0.5623 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004701/0.01647, allocations: 201.3 kB / 0.5625 GB, free: 10.33 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000568/0.01704, allocations: 319.9 kB / 0.5628 GB, free: 9.961 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007732/0.01781, allocations: 318.5 kB / 0.5631 GB, free: 9.613 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01781, allocations: 0 / 0.5631 GB, free: 9.613 MB / 478.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001059/0.01887, allocations: 0.5162 MB / 0.5636 GB, free: 9.055 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.302e-05/0.01894, allocations: 97.03 kB / 0.5637 GB, free: 8.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.01895, allocations: 7.938 kB / 0.5637 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.01897, allocations: 0 / 0.5637 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.01925, allocations: 47.89 kB / 0.5638 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.01925, allocations: 160 / 0.5638 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.01959, allocations: 75.72 kB / 0.5639 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.01962, allocations: 8 kB / 0.5639 GB, free: 8.805 MB / 478.1 MB 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.0001951/0.01981, allocations: 151.9 kB / 0.564 GB, free: 8.648 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.552e-05/0.01986, allocations: 23.86 kB / 0.564 GB, free: 8.625 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008541/0.02071, allocations: 279.2 kB / 0.5643 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.02072, allocations: 0 / 0.5643 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.02072, allocations: 7.875 kB / 0.5643 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.02072, allocations: 0 / 0.5643 GB, free: 8.336 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.02187, allocations: 0.5266 MB / 0.5648 GB, free: 7.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.02188, allocations: 3.938 kB / 0.5648 GB, free: 7.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/0.02205, allocations: 31.91 kB / 0.5649 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.02205, allocations: 4 kB / 0.5649 GB, free: 7.734 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.02207, allocations: 3.984 kB / 0.5649 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.02208, allocations: 4 kB / 0.5649 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02208, allocations: 0 / 0.5649 GB, free: 7.727 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008242/0.0229, allocations: 365.9 kB / 0.5652 GB, free: 7.355 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.795e-05/0.02294, allocations: 23.78 kB / 0.5652 GB, free: 7.332 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.013e-05/0.023, allocations: 4 kB / 0.5652 GB, free: 7.328 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.02333, allocations: 51.94 kB / 0.5653 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.02346, allocations: 51.91 kB / 0.5653 GB, free: 7.227 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.419e-05/0.02349, allocations: 4 kB / 0.5654 GB, free: 7.223 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.02363, allocations: 152.2 kB / 0.5655 GB, free: 7.074 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.02363, allocations: 0 / 0.5655 GB, free: 7.074 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0003309/0.02396, allocations: 67.83 kB / 0.5656 GB, free: 7.008 MB / 478.1 MB 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.0001786/0.02414, allocations: 111.2 kB / 0.5657 GB, free: 6.891 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001057/0.02519, allocations: 0.4917 MB / 0.5661 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.0252, allocations: 0 / 0.5661 GB, free: 6.344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003809/0.02558, allocations: 112.2 kB / 0.5663 GB, free: 6.234 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.02597, allocations: 45.94 kB / 0.5663 GB, free: 6.191 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009185/0.02689, allocations: 383.2 kB / 0.5667 GB, free: 5.789 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.02704, allocations: 130.2 kB / 0.5668 GB, free: 5.641 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 9.823e-05/0.02713, allocations: 29.88 kB / 0.5668 GB, free: 5.613 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.02723, allocations: 32.48 kB / 0.5668 GB, free: 5.582 MB / 478.1 MB Notification: Performance of SimCode: time 6.81e-07/0.02724, allocations: 0 / 0.5668 GB, free: 5.582 MB / 478.1 MB Notification: Performance of Templates: time 0.007941/0.03518, allocations: 3.655 MB / 0.5704 GB, free: 2.031 MB / 478.1 MB " [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.187762871384621] Failed to read output from testmodel.py, exit status != 0: 0.0435330756008625 0.057486564000000004 0.047033007 Calling exit ...