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.00108/0.00108, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.0009082/0.0009082, allocations: 170 kB / 23.27 MB, free: 1.227 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.9412/0.9412, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.7887/0.7887, allocations: 154.9 MB / 415.1 MB, free: 252 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.382e-05/1.542e-05, allocations: 3.297 kB / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00253/0.002545, allocations: 2.134 MB / 0.5233 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.0007589/0.003304, allocations: 0.5939 MB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.871e-05/0.003403, allocations: 5.812 kB / 0.5239 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.003509, allocations: 23.67 kB / 0.5239 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 8.013e-05/0.003589, allocations: 49.02 kB / 0.5239 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.003801, allocations: 103.7 kB / 0.524 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.004024, allocations: 287.2 kB / 0.5243 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.004206, allocations: 96.12 kB / 0.5244 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.00441, allocations: 172.8 kB / 0.5246 GB, free: 14.01 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.004515, allocations: 99.66 kB / 0.5247 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.922e-05/0.004554, allocations: 28 kB / 0.5247 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.7e-05/0.004581, allocations: 28.72 kB / 0.5247 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.004627, allocations: 67.73 kB / 0.5248 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.004689, allocations: 76.44 kB / 0.5248 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001941/0.004883, allocations: 211.2 kB / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.004885, allocations: 1.281 kB / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of FrontEnd: time 5.21e-07/0.004886, allocations: 0 / 0.5251 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.486e-06/0.004889, allocations: 0 / 0.5251 GB, free: 13.51 MB / 0.4948 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.0006443/0.005534, allocations: 0.6858 MB / 0.5257 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.005568, allocations: 8.031 kB / 0.5257 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.91e-05/0.005627, allocations: 48.75 kB / 0.5258 GB, free: 12.72 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.00581, allocations: 205 kB / 0.526 GB, free: 12.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.005828, allocations: 16.88 kB / 0.526 GB, free: 12.47 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.005856, allocations: 28.31 kB / 0.526 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.00615, allocations: 288.7 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006157, allocations: 0.8125 kB / 0.5263 GB, free: 12.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.006173, allocations: 8.375 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.00618, allocations: 8.5 kB / 0.5263 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.006264, allocations: 59.97 kB / 0.5264 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005614/0.006826, allocations: 0.5202 MB / 0.5269 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.006965, allocations: 94.94 kB / 0.527 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.884e-05/0.007004, allocations: 27.95 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.007021, allocations: 0.8125 kB / 0.527 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.007173, allocations: 143.2 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.303e-06/0.007175, allocations: 1.969 kB / 0.5271 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20): time 0.0002407/0.007415, allocations: 170.6 kB / 0.5273 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.007463, allocations: 114.8 kB / 0.5274 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001283/0.007591, allocations: 261.4 kB / 0.5277 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.007616, allocations: 41.64 kB / 0.5277 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.081e-05/0.007707, allocations: 207.6 kB / 0.5279 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.00774, allocations: 60.06 kB / 0.5279 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.702e-05/0.007817, allocations: 79.56 kB / 0.528 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.007939, allocations: 0.5046 MB / 0.5285 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.26e-05/0.008021, allocations: 129.1 kB / 0.5286 GB, free: 9.586 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.00815, allocations: 251.3 kB / 0.5289 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.008293, allocations: 214.7 kB / 0.5291 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.008295, allocations: 0 / 0.5291 GB, free: 9.023 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002928/0.008588, allocations: 384 kB / 0.5294 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.318e-05/0.008631, allocations: 89.09 kB / 0.5295 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.008636, allocations: 0 / 0.5295 GB, free: 8.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.008646, allocations: 4 kB / 0.5295 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.00877, allocations: 47.91 kB / 0.5296 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/0.008776, allocations: 7.984 kB / 0.5296 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.008903, allocations: 53.69 kB / 0.5296 GB, free: 8.395 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.469e-05/0.008918, allocations: 11.94 kB / 0.5297 GB, free: 8.383 MB / 0.4948 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,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.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) * 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.0001082/0.009026, allocations: 187.5 kB / 0.5298 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.009057, allocations: 36.56 kB / 0.5299 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.009419, allocations: 159.3 kB / 0.53 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.009422, allocations: 4.656 kB / 0.53 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.009424, allocations: 0 / 0.53 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.00943, allocations: 7.078 kB / 0.53 GB, free: 7.988 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003416/0.009772, allocations: 440.7 kB / 0.5304 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.009773, allocations: 0 / 0.5304 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.912e-05/0.009832, allocations: 23.92 kB / 0.5305 GB, free: 7.504 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.009836, allocations: 4 kB / 0.5305 GB, free: 7.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.009846, allocations: 3.984 kB / 0.5305 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.009847, allocations: 0 / 0.5305 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.009848, allocations: 0 / 0.5305 GB, free: 7.496 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/0.01003, allocations: 314.7 kB / 0.5308 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.616e-05/0.01004, allocations: 19.8 kB / 0.5308 GB, free: 7.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.01007, allocations: 11.94 kB / 0.5308 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.01018, allocations: 35.95 kB / 0.5308 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.01025, allocations: 51.84 kB / 0.5309 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.01027, allocations: 4 kB / 0.5309 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.919e-05/0.01034, allocations: 174.1 kB / 0.5311 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01034, allocations: 0 / 0.5311 GB, free: 6.883 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001867/0.01052, allocations: 63.89 kB / 0.5311 GB, free: 6.82 MB / 0.4948 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 8.273e-05/0.0106, allocations: 116.7 kB / 0.5312 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002515/0.01086, allocations: 372.2 kB / 0.5316 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.01086, allocations: 0 / 0.5316 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.781e-05/0.01094, allocations: 74.48 kB / 0.5317 GB, free: 6.207 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002319/0.01117, allocations: 44.22 kB / 0.5317 GB, free: 6.168 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005919/0.01176, allocations: 385 kB / 0.5321 GB, free: 5.762 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.0118, allocations: 78.86 kB / 0.5321 GB, free: 5.668 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 6.667e-05/0.01187, allocations: 21.05 kB / 0.5322 GB, free: 5.645 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.01201, allocations: 122.2 kB / 0.5323 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of SimCode: time 5.01e-07/0.01201, allocations: 0 / 0.5323 GB, free: 5.523 MB / 0.4948 GB Notification: Performance of Templates: time 0.005258/0.01727, allocations: 3.976 MB / 0.5362 GB, free: 1.801 MB / 0.4948 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.576185530051589]