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.001691/0.001691, allocations: 88.72 kB / 19.44 MB, free: 352 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.001566/0.001566, allocations: 157.7 kB / 22.75 MB, free: 1.68 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 1.441/1.441, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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 1.21/1.21, allocations: 154.8 MB / 414.4 MB, free: 480 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 178] 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.683e-06/1.683e-06, allocations: 0 / 0.5199 GB, free: 2.234 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.952e-05, allocations: 4.828 kB / 0.5199 GB, free: 2.23 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003899/0.003928, allocations: 2.101 MB / 0.522 GB, free: 144 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.005229, allocations: 0.5787 MB / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001321/0.005361, allocations: 0 / 0.5225 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.005514, allocations: 31.61 kB / 0.5226 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001161/0.00563, allocations: 45.16 kB / 0.5226 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.005937, allocations: 95.86 kB / 0.5227 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.006322, allocations: 287.9 kB / 0.523 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002441/0.006566, allocations: 95.56 kB / 0.5231 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.006812, allocations: 168.9 kB / 0.5232 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.006971, allocations: 95.72 kB / 0.5233 GB, free: 14.76 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 6.898e-05/0.007039, allocations: 35.94 kB / 0.5234 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.911e-05/0.007089, allocations: 28.94 kB / 0.5234 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 7.632e-05/0.007165, allocations: 63.8 kB / 0.5234 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001225/0.007287, allocations: 89.27 kB / 0.5235 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.007711, allocations: 323 kB / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.007715, allocations: 0 / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.262e-06/0.007716, allocations: 0 / 0.5238 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.007722, allocations: 0 / 0.5238 GB, free: 14.23 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.001314/0.009036, allocations: 0.5919 MB / 0.5244 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.009073, allocations: 12.03 kB / 0.5244 GB, free: 13.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001208/0.009194, allocations: 45.44 kB / 0.5245 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.00967, allocations: 215.7 kB / 0.5247 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.009705, allocations: 16.88 kB / 0.5247 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.282e-05/0.009758, allocations: 28.98 kB / 0.5247 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007817/0.01054, allocations: 370.9 kB / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.01055, allocations: 2.312 kB / 0.5251 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.01059, allocations: 12.12 kB / 0.5251 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.01059, allocations: 4 kB / 0.5251 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.01135, allocations: 216.2 kB / 0.5253 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.01256, allocations: 0.5195 MB / 0.5258 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007103/0.01327, allocations: 192.7 kB / 0.526 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.0136, allocations: 92.66 kB / 0.5261 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.01363, allocations: 7.984 kB / 0.5261 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005379/0.01417, allocations: 195.1 kB / 0.5263 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 1.723e-06/0.01417, allocations: 0 / 0.5263 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=20): time 0.001195/0.01536, allocations: 356 kB / 0.5266 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.01545, allocations: 106.8 kB / 0.5267 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.0157, allocations: 227.1 kB / 0.5269 GB, free: 10.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.01575, allocations: 38.72 kB / 0.527 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.01589, allocations: 156.4 kB / 0.5271 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.473e-05/0.01596, allocations: 59.58 kB / 0.5272 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.01608, allocations: 75.06 kB / 0.5272 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.01626, allocations: 334.8 kB / 0.5276 GB, free: 10.21 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004581/0.01672, allocations: 208.5 kB / 0.5278 GB, free: 9.992 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005484/0.01727, allocations: 314 kB / 0.5281 GB, free: 9.629 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008292/0.0181, allocations: 310.1 kB / 0.5284 GB, free: 9.293 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0181, allocations: 5.406 kB / 0.5284 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00109/0.01919, allocations: 0.5225 MB / 0.5289 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.302e-05/0.01927, allocations: 93.72 kB / 0.529 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.01928, allocations: 1.5 kB / 0.529 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.0193, allocations: 4 kB / 0.529 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.01955, allocations: 43.89 kB / 0.529 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.01956, allocations: 8.906 kB / 0.529 GB, free: 8.562 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003597/0.01992, allocations: 72.91 kB / 0.5291 GB, free: 8.492 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.853e-05/0.01995, allocations: 11.94 kB / 0.5291 GB, free: 8.48 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,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.00017/0.02012, allocations: 142.5 kB / 0.5292 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.21e-05/0.02018, allocations: 39.78 kB / 0.5293 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008383/0.02102, allocations: 271.1 kB / 0.5295 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.02103, allocations: 4 kB / 0.5295 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.02103, allocations: 7.938 kB / 0.5295 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.02104, allocations: 0 / 0.5295 GB, free: 8.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.02219, allocations: 0.53 MB / 0.5301 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/0.02219, allocations: 3.938 kB / 0.5301 GB, free: 7.453 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.02236, allocations: 27.97 kB / 0.5301 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.02236, allocations: 1.281 kB / 0.5301 GB, free: 7.426 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.816e-05/0.02239, allocations: 15.92 kB / 0.5301 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.02239, allocations: 0 / 0.5301 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.02239, allocations: 1.562 kB / 0.5301 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008565/0.02325, allocations: 368.7 kB / 0.5305 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.899e-05/0.02327, allocations: 11.91 kB / 0.5305 GB, free: 7.023 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.34e-05/0.02333, allocations: 20.86 kB / 0.5305 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.02364, allocations: 42.41 kB / 0.5305 GB, free: 6.965 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.02379, allocations: 47.92 kB / 0.5306 GB, free: 6.918 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.02382, allocations: 11.98 kB / 0.5306 GB, free: 6.906 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000145/0.02396, allocations: 144.4 kB / 0.5307 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.02396, allocations: 0 / 0.5307 GB, free: 6.766 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000338/0.0243, allocations: 67.84 kB / 0.5308 GB, free: 6.699 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 0.000165/0.02447, allocations: 113.3 kB / 0.5309 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00105/0.02552, allocations: 0.492 MB / 0.5314 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.02552, allocations: 0 / 0.5314 GB, free: 6.039 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003989/0.02592, allocations: 113.7 kB / 0.5315 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.02632, allocations: 56.52 kB / 0.5315 GB, free: 5.879 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.02725, allocations: 394.8 kB / 0.5319 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.02742, allocations: 133 kB / 0.532 GB, free: 5.316 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000109/0.02753, allocations: 25.5 kB / 0.5321 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.02764, allocations: 28.48 kB / 0.5321 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of SimCode: time 6.21e-07/0.02764, allocations: 1.75 kB / 0.5321 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of Templates: time 0.008471/0.03611, allocations: 3.682 MB / 0.5357 GB, free: 1.789 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.72821061394643]