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.001331/0.001331, allocations: 80.81 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.001322/0.001322, allocations: 173 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.9727/0.9727, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.7934/0.7934, allocations: 154.9 MB / 415.1 MB, free: 228 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.443e-06/1.443e-06, allocations: 0 / 480.5 MB, free: 6.434 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.119e-05, allocations: 5.359 kB / 480.5 MB, free: 6.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002669/0.00269, allocations: 2.204 MB / 482.7 MB, free: 4.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.003628, allocations: 0.61 MB / 483.3 MB, free: 3.652 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.003735, allocations: 7.938 kB / 483.3 MB, free: 3.645 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.003849, allocations: 29.31 kB / 483.3 MB, free: 3.617 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.003943, allocations: 44.48 kB / 483.4 MB, free: 3.586 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002435/0.004187, allocations: 100.5 kB / 483.5 MB, free: 3.488 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.004433, allocations: 291.2 kB / 483.8 MB, free: 3.203 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.004618, allocations: 98.67 kB / 483.8 MB, free: 3.109 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.004803, allocations: 175.6 kB / 484 MB, free: 2.938 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.004915, allocations: 99.66 kB / 484.1 MB, free: 2.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.071e-05/0.004955, allocations: 29.06 kB / 484.1 MB, free: 2.812 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.789e-05/0.004983, allocations: 28 kB / 484.2 MB, free: 2.785 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 4.566e-05/0.005029, allocations: 60.97 kB / 484.2 MB, free: 2.727 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.005094, allocations: 87.73 kB / 484.3 MB, free: 2.641 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.005303, allocations: 207.2 kB / 484.5 MB, free: 2.438 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.934e-06/0.005304, allocations: 0.5 kB / 484.5 MB, free: 2.438 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.32e-07/0.005305, allocations: 0 / 484.5 MB, free: 2.438 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.005309, allocations: 1.719 kB / 484.5 MB, free: 2.438 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.0005948/0.005903, allocations: 0.5568 MB / 485.1 MB, free: 1.844 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.005932, allocations: 8.031 kB / 485.1 MB, free: 1.836 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.005987, allocations: 36.91 kB / 485.1 MB, free: 1.801 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.006182, allocations: 174.9 kB / 485.3 MB, free: 1.602 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.006201, allocations: 18.12 kB / 485.3 MB, free: 1.586 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.006226, allocations: 20.38 kB / 485.3 MB, free: 1.566 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.006505, allocations: 289 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.006515, allocations: 1.266 kB / 485.6 MB, free: 1.258 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.006533, allocations: 13.25 kB / 485.6 MB, free: 1.246 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.006541, allocations: 11.88 kB / 485.6 MB, free: 1.234 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.176e-05/0.006623, allocations: 47.47 kB / 485.7 MB, free: 1.188 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.007165, allocations: 393 kB / 486.1 MB, free: 0.793 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001187/0.007284, allocations: 83.09 kB / 486.2 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.007318, allocations: 20.86 kB / 486.2 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.007335, allocations: 4.625 kB / 486.2 MB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.007491, allocations: 137.3 kB / 486.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 1.282e-06/0.007492, allocations: 0 / 486.3 MB, free: 0.5312 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001937/0.007686, allocations: 125.4 kB / 486.4 MB, free: 416 kB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.00773, allocations: 115.4 kB / 486.5 MB, free: 276 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.007844, allocations: 208.6 kB / 486.7 MB, free: 56 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.007869, allocations: 39.47 kB / 486.8 MB, free: 12 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.754e-05/0.007947, allocations: 152.6 kB / 486.9 MB, free: 15.86 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.007978, allocations: 51.62 kB / 487 MB, free: 15.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.401e-05/0.008052, allocations: 77.91 kB / 487.1 MB, free: 15.73 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.008132, allocations: 334.7 kB / 487.4 MB, free: 15.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.008211, allocations: 116.6 kB / 487.5 MB, free: 15.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.008328, allocations: 228.1 kB / 487.7 MB, free: 14.98 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001361/0.008464, allocations: 201.8 kB / 487.9 MB, free: 14.75 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.008467, allocations: 0 / 487.9 MB, free: 14.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002247/0.008691, allocations: 324.9 kB / 488.2 MB, free: 14.39 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.008733, allocations: 94.59 kB / 488.3 MB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.329e-06/0.008737, allocations: 0 / 488.3 MB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.008749, allocations: 4 kB / 488.3 MB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.00916, allocations: 51.91 kB / 488.4 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.009163, allocations: 1.906 kB / 488.4 MB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001277/0.009291, allocations: 51.84 kB / 488.4 MB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.009307, allocations: 12 kB / 488.5 MB, free: 14.16 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 9.716e-05/0.009404, allocations: 142.5 kB / 488.6 MB, free: 14.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.009428, allocations: 25.12 kB / 488.6 MB, free: 14 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.009574, allocations: 119.4 kB / 488.7 MB, free: 13.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.009576, allocations: 3.938 kB / 488.7 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.009577, allocations: 0 / 488.7 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.009582, allocations: 2.266 kB / 488.7 MB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.009874, allocations: 310.5 kB / 489 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009876, allocations: 0.5625 kB / 489 MB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.128e-05/0.009937, allocations: 25.06 kB / 489.1 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.00994, allocations: 4 kB / 489.1 MB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.009951, allocations: 4.875 kB / 489.1 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009953, allocations: 3.984 kB / 489.1 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009954, allocations: 0 / 489.1 MB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.01009, allocations: 206.7 kB / 489.3 MB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.799e-05/0.0101, allocations: 27.8 kB / 489.3 MB, free: 13.26 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.763e-05/0.01013, allocations: 11.98 kB / 489.3 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.01024, allocations: 33.22 kB / 489.4 MB, free: 13.21 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.01032, allocations: 48.5 kB / 489.4 MB, free: 13.17 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.01033, allocations: 11.92 kB / 489.4 MB, free: 13.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.01037, allocations: 58.98 kB / 489.5 MB, free: 13.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01037, allocations: 0 / 489.5 MB, free: 13.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001852/0.01056, allocations: 67.88 kB / 489.5 MB, free: 13.03 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 8.112e-05/0.01064, allocations: 90.7 kB / 489.6 MB, free: 12.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003126/0.01095, allocations: 361 kB / 490 MB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.01096, allocations: 4 kB / 490 MB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 7.747e-05/0.01103, allocations: 62.75 kB / 490 MB, free: 12.46 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.01122, allocations: 42.14 kB / 490.1 MB, free: 12.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005895/0.01181, allocations: 371.4 kB / 490.4 MB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.573e-05/0.01186, allocations: 91.42 kB / 490.5 MB, free: 11.94 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.216e-05/0.01193, allocations: 26.14 kB / 490.6 MB, free: 11.92 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.01206, allocations: 95.34 kB / 490.7 MB, free: 11.82 MB / 458.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01207, allocations: 0 / 490.7 MB, free: 11.82 MB / 458.7 MB Notification: Performance of Templates: time 0.005354/0.01742, allocations: 3.723 MB / 494.4 MB, free: 8.406 MB / 458.7 MB " [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 -s gbode -gbm=radauIIA3 -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.5767989638261497]