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.001268/0.001268, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001436/0.001436, allocations: 181 kB / 23.36 MB, free: 1.133 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.9708/0.9708, allocations: 177.1 MB / 203.8 MB, free: 5.48 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-545:108: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-545:116: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.822/0.822, allocations: 154.6 MB / 414.9 MB, free: 0.5078 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: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 0.6562 kB / 480.1 MB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.661e-05, allocations: 6.016 kB / 480.1 MB, free: 6.801 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002548/0.002564, allocations: 2.202 MB / 482.3 MB, free: 4.629 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009289/0.003493, allocations: 0.6188 MB / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.003595, allocations: 0 / 482.9 MB, free: 4.012 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.003707, allocations: 28.33 kB / 483 MB, free: 3.984 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.746e-05/0.003804, allocations: 46.41 kB / 483 MB, free: 3.953 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.004046, allocations: 99.8 kB / 483.1 MB, free: 3.855 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002472/0.004293, allocations: 288 kB / 483.4 MB, free: 3.574 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.004479, allocations: 99.77 kB / 483.5 MB, free: 3.477 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.004657, allocations: 171.6 kB / 483.7 MB, free: 3.309 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001052/0.004763, allocations: 96.8 kB / 483.8 MB, free: 3.215 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.004801, allocations: 28 kB / 483.8 MB, free: 3.188 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.664e-05/0.004828, allocations: 31.94 kB / 483.8 MB, free: 3.156 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.004875, allocations: 64.42 kB / 483.9 MB, free: 3.094 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.802e-05/0.004943, allocations: 79.75 kB / 484 MB, free: 3.016 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.005152, allocations: 213.8 kB / 484.2 MB, free: 2.809 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005154, allocations: 0 / 484.2 MB, free: 2.809 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.005155, allocations: 0 / 484.2 MB, free: 2.809 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.00516, allocations: 4 kB / 484.2 MB, free: 2.805 MB / 442.7 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.0005988/0.005759, allocations: 0.5459 MB / 484.7 MB, free: 2.219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.005793, allocations: 12.03 kB / 484.7 MB, free: 2.207 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.201e-05/0.005855, allocations: 37.69 kB / 484.8 MB, free: 2.172 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.006063, allocations: 175.1 kB / 484.9 MB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.006084, allocations: 20.88 kB / 485 MB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.006109, allocations: 25.44 kB / 485 MB, free: 1.93 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002782/0.006387, allocations: 288.1 kB / 485.3 MB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.006395, allocations: 0.8125 kB / 485.3 MB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.00641, allocations: 4.375 kB / 485.3 MB, free: 1.617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.006417, allocations: 8.562 kB / 485.3 MB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.288e-05/0.0065, allocations: 51.47 kB / 485.3 MB, free: 1.562 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.007035, allocations: 388.8 kB / 485.7 MB, free: 1.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.007149, allocations: 74.55 kB / 485.8 MB, free: 1.086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.007183, allocations: 29.5 kB / 485.8 MB, free: 1.055 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.0072, allocations: 5.156 kB / 485.8 MB, free: 1.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.007351, allocations: 144 kB / 486 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.007352, allocations: 1.25 kB / 486 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001815/0.007534, allocations: 122.8 kB / 486.1 MB, free: 0.7773 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.007578, allocations: 114.8 kB / 486.2 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.007699, allocations: 208.3 kB / 486.4 MB, free: 436 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.007724, allocations: 37.69 kB / 486.4 MB, free: 392 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.504e-05/0.007789, allocations: 152.3 kB / 486.6 MB, free: 232 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.007819, allocations: 52.36 kB / 486.6 MB, free: 180 kB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.905e-05/0.007888, allocations: 69.92 kB / 486.7 MB, free: 104 kB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.007983, allocations: 343.3 kB / 487 MB, free: 15.76 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.648e-05/0.008059, allocations: 110.7 kB / 487.1 MB, free: 15.63 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.008171, allocations: 230 kB / 487.4 MB, free: 15.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.008301, allocations: 208.1 kB / 487.6 MB, free: 15.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.008304, allocations: 0 / 487.6 MB, free: 15.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002202/0.008524, allocations: 323.4 kB / 487.9 MB, free: 14.76 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.113e-05/0.008565, allocations: 93.09 kB / 488 MB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.008569, allocations: 0 / 488 MB, free: 14.65 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.008582, allocations: 4.75 kB / 488 MB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.008713, allocations: 53.59 kB / 488 MB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.008717, allocations: 4 kB / 488 MB, free: 14.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.008839, allocations: 47.84 kB / 488.1 MB, free: 14.54 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.408e-05/0.008853, allocations: 9.062 kB / 488.1 MB, free: 14.54 MB / 458.7 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,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 8.997e-05/0.008943, allocations: 145.6 kB / 488.2 MB, free: 14.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.008967, allocations: 20.47 kB / 488.3 MB, free: 14.37 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001589/0.009126, allocations: 122.4 kB / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.009131, allocations: 5.219 kB / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.009132, allocations: 0.7812 kB / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.009136, allocations: 0 / 488.4 MB, free: 14.24 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.009429, allocations: 311.4 kB / 488.7 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.009431, allocations: 4 kB / 488.7 MB, free: 13.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.419e-05/0.009496, allocations: 29.12 kB / 488.7 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.009498, allocations: 0 / 488.7 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.00951, allocations: 4 kB / 488.7 MB, free: 13.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.009514, allocations: 8.469 kB / 488.7 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.009516, allocations: 3.984 kB / 488.7 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001522/0.009669, allocations: 203.3 kB / 488.9 MB, free: 13.65 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.939e-05/0.009688, allocations: 19.8 kB / 488.9 MB, free: 13.63 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.009719, allocations: 13.8 kB / 489 MB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.009827, allocations: 27.97 kB / 489 MB, free: 13.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.009911, allocations: 47.91 kB / 489 MB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.009929, allocations: 18.27 kB / 489.1 MB, free: 13.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.262e-05/0.009972, allocations: 48.94 kB / 489.1 MB, free: 13.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009972, allocations: 0 / 489.1 MB, free: 13.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001887/0.01016, allocations: 63.89 kB / 489.2 MB, free: 13.42 MB / 458.7 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 9.446e-05/0.01025, allocations: 98.03 kB / 489.3 MB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002792/0.01053, allocations: 362.2 kB / 489.6 MB, free: 12.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.01054, allocations: 7.938 kB / 489.6 MB, free: 12.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.581e-05/0.01063, allocations: 56.78 kB / 489.7 MB, free: 12.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.01083, allocations: 47.08 kB / 489.7 MB, free: 12.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006546/0.01148, allocations: 387.9 kB / 490.1 MB, free: 12.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.352e-05/0.01155, allocations: 84.12 kB / 490.2 MB, free: 12.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.786e-05/0.01162, allocations: 26.16 kB / 490.2 MB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.01177, allocations: 103.3 kB / 490.3 MB, free: 12.18 MB / 458.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01177, allocations: 0.9688 kB / 490.3 MB, free: 12.18 MB / 458.7 MB Notification: Performance of Templates: time 0.005323/0.01709, allocations: 3.717 MB / 494 MB, free: 8.77 MB / 458.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6904569719918072]