Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008444/0.0008444, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0008924/0.0008924, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.9105/0.9105, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7666/0.7666, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_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_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.0008975/0.0008975, allocations: 70.48 kB / 0.7191 GB, free: 3.859 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5531/0.554, allocations: 102 MB / 0.8187 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002701/0.5567, allocations: 2.106 MB / 0.8207 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001012/0.5578, allocations: 0.5822 MB / 0.8213 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001274/0.5579, allocations: 6.781 kB / 0.8213 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001382/0.558, allocations: 24.42 kB / 0.8213 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.414e-05/0.5581, allocations: 48.64 kB / 0.8214 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002749/0.5584, allocations: 93.41 kB / 0.8214 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.5587, allocations: 289.2 kB / 0.8217 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002335/0.5589, allocations: 97.77 kB / 0.8218 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.5591, allocations: 116 kB / 0.8219 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.5592, allocations: 121.2 kB / 0.822 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.5593, allocations: 32.47 kB / 0.8221 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 3.042e-05/0.5593, allocations: 32.28 kB / 0.8221 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.5594, allocations: 60.73 kB / 0.8222 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 9.893e-05/0.5595, allocations: 103 kB / 0.8223 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003203/0.5598, allocations: 302.8 kB / 0.8225 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5598, allocations: 1.172 kB / 0.8225 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5598, allocations: 0 / 0.8225 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.5598, allocations: 0 / 0.8225 GB, free: 15.05 MB / 0.6198 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.000909/0.5607, allocations: 0.6147 MB / 0.8231 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.5607, allocations: 13.69 kB / 0.8232 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.296e-05/0.5608, allocations: 31.94 kB / 0.8232 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003574/0.5612, allocations: 201.1 kB / 0.8234 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.5612, allocations: 16.81 kB / 0.8234 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.5612, allocations: 25.33 kB / 0.8234 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005469/0.5618, allocations: 374.4 kB / 0.8238 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.5618, allocations: 0.6094 kB / 0.8238 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.369e-05/0.5618, allocations: 15.05 kB / 0.8238 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.5618, allocations: 4.531 kB / 0.8238 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004511/0.5623, allocations: 203.2 kB / 0.824 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008933/0.5632, allocations: 0.5199 MB / 0.8245 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.5636, allocations: 206.6 kB / 0.8247 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.5638, allocations: 92.27 kB / 0.8248 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.5638, allocations: 2.453 kB / 0.8248 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000385/0.5642, allocations: 197.3 kB / 0.825 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=20): time 1.823e-06/0.5642, allocations: 0 / 0.825 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20): time 0.0007089/0.5649, allocations: 351.7 kB / 0.8253 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.565, allocations: 109.8 kB / 0.8254 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.5652, allocations: 218.8 kB / 0.8256 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.5652, allocations: 36.14 kB / 0.8257 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5653, allocations: 166 kB / 0.8258 GB, free: 13 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.5653, allocations: 62.67 kB / 0.8259 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.39e-05/0.5654, allocations: 65.5 kB / 0.8259 GB, free: 12.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.5655, allocations: 336.1 kB / 0.8263 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002684/0.5658, allocations: 194.4 kB / 0.8264 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/0.5662, allocations: 319.4 kB / 0.8268 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.5666, allocations: 312.7 kB / 0.827 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5666, allocations: 4.031 kB / 0.8271 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006314/0.5672, allocations: 0.51 MB / 0.8276 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.811e-05/0.5673, allocations: 92.44 kB / 0.8276 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.5673, allocations: 1.312 kB / 0.8276 GB, free: 11.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.5673, allocations: 20.67 kB / 0.8277 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.5675, allocations: 44.95 kB / 0.8277 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.5675, allocations: 2.656 kB / 0.8277 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001816/0.5677, allocations: 62.03 kB / 0.8278 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.5677, allocations: 18.03 kB / 0.8278 GB, free: 11.55 MB / 0.6198 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.0001455/0.5678, allocations: 155.5 kB / 0.8279 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.638e-05/0.5679, allocations: 18.7 kB / 0.8279 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005101/0.5684, allocations: 274.5 kB / 0.8282 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5684, allocations: 3.391 kB / 0.8282 GB, free: 11.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.5684, allocations: 5.438 kB / 0.8282 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.5684, allocations: 0.6094 kB / 0.8282 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000711/0.5691, allocations: 0.5247 MB / 0.8287 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.5691, allocations: 4.547 kB / 0.8287 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.529e-05/0.5692, allocations: 37.34 kB / 0.8288 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-06/0.5692, allocations: 1.5 kB / 0.8288 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.5692, allocations: 4.297 kB / 0.8288 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.5692, allocations: 1.156 kB / 0.8288 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.5692, allocations: 3.938 kB / 0.8288 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004896/0.5697, allocations: 358 kB / 0.8291 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.5697, allocations: 26.7 kB / 0.8291 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.5698, allocations: 12.69 kB / 0.8292 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.5699, allocations: 41 kB / 0.8292 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.5701, allocations: 49.59 kB / 0.8292 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.5701, allocations: 7.781 kB / 0.8293 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.908e-05/0.5702, allocations: 146.3 kB / 0.8294 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5702, allocations: 0 / 0.8294 GB, free: 10.65 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002229/0.5704, allocations: 63.36 kB / 0.8295 GB, free: 10.63 MB / 0.6198 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.000124/0.5705, allocations: 118 kB / 0.8296 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006114/0.5711, allocations: 0.4941 MB / 0.83 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5711, allocations: 0 / 0.83 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.5714, allocations: 111 kB / 0.8302 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000252/0.5716, allocations: 32.83 kB / 0.8302 GB, free: 10.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.5723, allocations: 413.7 kB / 0.8306 GB, free: 9.871 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001426/0.5724, allocations: 133.8 kB / 0.8307 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.169e-05/0.5725, allocations: 29.2 kB / 0.8307 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/0.5725, allocations: 4 kB / 0.8307 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of Templates: time 0.005059/0.5776, allocations: 3.17 MB / 0.8338 GB, free: 9.422 MB / 0.6198 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.046366440597922] Failed to read output from testmodel.py, exit status != 0: 0.5841268040239811 0.593011224 0.031188043000000002 Calling exit ...