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.0008031/0.0008031, allocations: 84.44 kB / 19.91 MB, free: 4 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.0007935/0.0007935, allocations: 169.6 kB / 23.19 MB, free: 1.375 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.8679/0.8679, allocations: 177.2 MB / 203.6 MB, free: 5.781 MB / 186.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.7027/0.7027, allocations: 154.7 MB / 414.7 MB, free: 0.7422 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.0009296/0.0009296, allocations: 65.44 kB / 0.6196 GB, free: 13.07 MB / 0.5886 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.4523/0.4533, allocations: 102 MB / 0.7192 GB, free: 23.63 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002871/0.4561, allocations: 2.096 MB / 0.7212 GB, free: 22.23 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.4571, allocations: 0.592 MB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001237/0.4572, allocations: 3.312 kB / 0.7218 GB, free: 21.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000149/0.4574, allocations: 26.25 kB / 0.7218 GB, free: 21.8 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.4575, allocations: 45.09 kB / 0.7219 GB, free: 21.77 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.4577, allocations: 103.8 kB / 0.722 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.4581, allocations: 284.4 kB / 0.7222 GB, free: 21.57 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002367/0.4583, allocations: 99.14 kB / 0.7223 GB, free: 21.52 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000206/0.4585, allocations: 176.6 kB / 0.7225 GB, free: 21.43 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.4587, allocations: 118 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.4587, allocations: 28.34 kB / 0.7226 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 5.169e-05/0.4588, allocations: 28.03 kB / 0.7227 GB, free: 21.38 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.4588, allocations: 69.62 kB / 0.7227 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.771e-05/0.4589, allocations: 97.78 kB / 0.7228 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.4593, allocations: 339.5 kB / 0.7232 GB, free: 21.12 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4593, allocations: 4 kB / 0.7232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4593, allocations: 1.156 kB / 0.7232 GB, free: 21.11 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.4593, allocations: 0 / 0.7232 GB, free: 21.11 MB / 0.6355 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.0009818/0.4603, allocations: 0.6058 MB / 0.7238 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/0.4604, allocations: 9.031 kB / 0.7238 GB, free: 20.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.008e-05/0.4604, allocations: 36.66 kB / 0.7238 GB, free: 20.61 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003696/0.4608, allocations: 197.8 kB / 0.724 GB, free: 20.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.4608, allocations: 27.47 kB / 0.724 GB, free: 20.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.4609, allocations: 26.78 kB / 0.724 GB, free: 20.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004774/0.4614, allocations: 375 kB / 0.7244 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.4614, allocations: 0 / 0.7244 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.996e-05/0.4614, allocations: 7.234 kB / 0.7244 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.4614, allocations: 9.719 kB / 0.7244 GB, free: 20.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.4618, allocations: 203.9 kB / 0.7246 GB, free: 20.13 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.4626, allocations: 0.5234 MB / 0.7251 GB, free: 19.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.4631, allocations: 191.3 kB / 0.7253 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001816/0.4632, allocations: 90.97 kB / 0.7254 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.4633, allocations: 5.312 kB / 0.7254 GB, free: 19.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.4636, allocations: 204.1 kB / 0.7256 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 1.923e-06/0.4636, allocations: 0 / 0.7256 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.000721/0.4644, allocations: 347.4 kB / 0.7259 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.4644, allocations: 113.8 kB / 0.726 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.4645, allocations: 214.5 kB / 0.7262 GB, free: 19.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.567e-05/0.4646, allocations: 40.55 kB / 0.7263 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.661e-05/0.4647, allocations: 165.7 kB / 0.7264 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.4647, allocations: 58.03 kB / 0.7265 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.4648, allocations: 69.91 kB / 0.7266 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.98e-05/0.4648, allocations: 331.3 kB / 0.7269 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.4651, allocations: 199.6 kB / 0.7271 GB, free: 18.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.4653, allocations: 310.7 kB / 0.7274 GB, free: 18.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003952/0.4657, allocations: 312.5 kB / 0.7277 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.4657, allocations: 1.219 kB / 0.7277 GB, free: 18.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005948/0.4663, allocations: 0.5138 MB / 0.7282 GB, free: 17.76 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.763e-05/0.4664, allocations: 94.91 kB / 0.7282 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.4664, allocations: 1.375 kB / 0.7282 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4664, allocations: 11.16 kB / 0.7283 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.4666, allocations: 49.47 kB / 0.7283 GB, free: 17.65 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.4666, allocations: 7.281 kB / 0.7283 GB, free: 17.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.4668, allocations: 69.64 kB / 0.7284 GB, free: 17.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.306e-05/0.4668, allocations: 13.92 kB / 0.7284 GB, free: 17.62 MB / 0.6355 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 9.935e-05/0.4669, allocations: 156.4 kB / 0.7285 GB, free: 17.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.4669, allocations: 18.58 kB / 0.7286 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004687/0.4674, allocations: 280.3 kB / 0.7288 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.4674, allocations: 1.219 kB / 0.7288 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.4674, allocations: 0 / 0.7288 GB, free: 17.37 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.684e-05/0.4674, allocations: 24.08 kB / 0.7288 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.4674, allocations: 7.781 kB / 0.7289 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.4676, allocations: 45.38 kB / 0.7289 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/0.4677, allocations: 50.16 kB / 0.7289 GB, free: 17.33 MB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004724/0.4682, allocations: 350.2 kB / 0.7293 GB, free: 17.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004612/0.4686, allocations: 436.6 kB / 0.7297 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002144/0.4688, allocations: 116.8 kB / 0.7298 GB, free: 16.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.43e-05/0.4689, allocations: 146.2 kB / 0.7299 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of Backend: time 6.82e-07/0.4689, allocations: 0 / 0.7299 GB, free: 16.78 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000597/0.4695, allocations: 492.9 kB / 0.7304 GB, free: 16.38 MB / 0.6355 GB Notification: Performance of SimCode: time 0.0006169/0.4701, allocations: 0.8073 MB / 0.7312 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of Templates: time 0.007123/0.4773, allocations: 4.26 MB / 0.7354 GB, free: 15.29 MB / 0.6355 GB " [Timeout remaining time 660] 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: 4.1170740011148155] Failed to read output from testmodel.py, exit status != 0: 0.48298685788176954 0.49185561499999997 0.030713811 Calling exit ...