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.0009407/0.0009407, allocations: 80.94 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.0009679/0.0009679, 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.9543/0.9543, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.7818/0.7818, allocations: 154.9 MB / 415.1 MB, free: 248 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.533e-06/1.533e-06, allocations: 0 / 480.4 MB, free: 6.488 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.056e-05/2.209e-05, allocations: 8.766 kB / 480.4 MB, free: 6.484 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002429/0.002451, allocations: 2.147 MB / 482.6 MB, free: 4.363 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.003377, allocations: 0.6195 MB / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.003491, allocations: 0 / 483.2 MB, free: 3.75 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.003606, allocations: 28.66 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 8.887e-05/0.003695, allocations: 48 kB / 483.3 MB, free: 3.691 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.003937, allocations: 108.9 kB / 483.4 MB, free: 3.586 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002512/0.004188, allocations: 283.2 kB / 483.7 MB, free: 3.309 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.004367, allocations: 97.5 kB / 483.8 MB, free: 3.215 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000207/0.004574, allocations: 176.3 kB / 483.9 MB, free: 3.043 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.004687, allocations: 104.5 kB / 484 MB, free: 2.941 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 4.08e-05/0.004728, allocations: 28 kB / 484.1 MB, free: 2.914 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.591e-05/0.004754, allocations: 24 kB / 484.1 MB, free: 2.891 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 5.034e-05/0.004805, allocations: 68.8 kB / 484.2 MB, free: 2.824 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.937e-05/0.004874, allocations: 79.75 kB / 484.2 MB, free: 2.746 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002198/0.005094, allocations: 203.9 kB / 484.4 MB, free: 2.547 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005097, allocations: 4 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005098, allocations: 1.312 kB / 484.4 MB, free: 2.543 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.005103, allocations: 0 / 484.4 MB, free: 2.543 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.000751/0.005854, allocations: 0.5575 MB / 485 MB, free: 1.949 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.005886, allocations: 12.03 kB / 485 MB, free: 1.938 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.005941, allocations: 33.97 kB / 485 MB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.006131, allocations: 175.1 kB / 485.2 MB, free: 1.707 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.006152, allocations: 17.78 kB / 485.2 MB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.006179, allocations: 28.31 kB / 485.3 MB, free: 1.664 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.006466, allocations: 280.9 kB / 485.5 MB, free: 1.363 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.006475, allocations: 4.188 kB / 485.5 MB, free: 1.359 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.006491, allocations: 12.91 kB / 485.5 MB, free: 1.348 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.0065, allocations: 11.62 kB / 485.6 MB, free: 1.34 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.006582, allocations: 51.47 kB / 485.6 MB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005379/0.00712, allocations: 384.5 kB / 486 MB, free: 0.9023 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.007243, allocations: 86.41 kB / 486.1 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.471e-05/0.007278, allocations: 24.86 kB / 486.1 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.007296, allocations: 0 / 486.1 MB, free: 0.7812 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.007452, allocations: 132.7 kB / 486.2 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of pre-optimization done (n=20): time 9.62e-07/0.007453, allocations: 0 / 486.2 MB, free: 0.6406 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001995/0.007653, allocations: 131.8 kB / 486.4 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.007702, allocations: 106.8 kB / 486.5 MB, free: 388 kB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.007827, allocations: 210.2 kB / 486.7 MB, free: 164 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.996e-05/0.007857, allocations: 42.75 kB / 486.7 MB, free: 116 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.237e-05/0.007939, allocations: 148.8 kB / 486.8 MB, free: 15.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.007971, allocations: 52.23 kB / 486.9 MB, free: 15.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.00804, allocations: 73.91 kB / 487 MB, free: 15.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.008122, allocations: 339.4 kB / 487.3 MB, free: 15.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.0082, allocations: 111.2 kB / 487.4 MB, free: 15.37 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000125/0.008325, allocations: 228.8 kB / 487.6 MB, free: 15.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.008456, allocations: 212.3 kB / 487.8 MB, free: 14.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.008459, allocations: 0.8438 kB / 487.8 MB, free: 14.84 MB / 458.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000219/0.008678, allocations: 318.4 kB / 488.2 MB, free: 14.49 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.4e-05/0.008722, allocations: 93.09 kB / 488.2 MB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.008728, allocations: 4 kB / 488.2 MB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.008741, allocations: 5.438 kB / 488.3 MB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.008861, allocations: 43.91 kB / 488.3 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.008865, allocations: 4 kB / 488.3 MB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.008992, allocations: 53.22 kB / 488.4 MB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.009005, allocations: 8 kB / 488.4 MB, free: 14.27 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.423e-05/0.0091, allocations: 145.5 kB / 488.5 MB, free: 14.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/0.009124, allocations: 23.97 kB / 488.5 MB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001467/0.009271, allocations: 130.2 kB / 488.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.009274, allocations: 6.031 kB / 488.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.009276, allocations: 0 / 488.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009279, allocations: 0 / 488.7 MB, free: 13.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.009552, allocations: 306.6 kB / 489 MB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.009554, allocations: 0 / 489 MB, free: 13.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.486e-05/0.009608, allocations: 24.64 kB / 489 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.009611, allocations: 0 / 489 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.009621, allocations: 5.609 kB / 489 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.009623, allocations: 0 / 489 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.009624, allocations: 4 kB / 489 MB, free: 13.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001279/0.009751, allocations: 205.1 kB / 489.2 MB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.009769, allocations: 23.8 kB / 489.2 MB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.009796, allocations: 9.75 kB / 489.2 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.009899, allocations: 35.95 kB / 489.3 MB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.009977, allocations: 49.16 kB / 489.3 MB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.009994, allocations: 15.92 kB / 489.3 MB, free: 13.26 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.025e-05/0.01003, allocations: 57.75 kB / 489.4 MB, free: 13.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 0.6562 kB / 489.4 MB, free: 13.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001876/0.01022, allocations: 59.89 kB / 489.4 MB, free: 13.14 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 0.0001032/0.01033, allocations: 103.1 kB / 489.5 MB, free: 13.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.01057, allocations: 356.5 kB / 489.9 MB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.01058, allocations: 4 kB / 489.9 MB, free: 12.63 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.157e-05/0.01066, allocations: 70.5 kB / 490 MB, free: 12.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.01085, allocations: 41.89 kB / 490 MB, free: 12.52 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.01146, allocations: 374.3 kB / 490.4 MB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.613e-05/0.01151, allocations: 85.89 kB / 490.5 MB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 7.383e-05/0.01158, allocations: 23.67 kB / 490.5 MB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.01172, allocations: 103.3 kB / 490.6 MB, free: 11.92 MB / 458.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01172, allocations: 0 / 490.6 MB, free: 11.92 MB / 458.7 MB Notification: Performance of Templates: time 0.005773/0.01749, allocations: 3.728 MB / 494.3 MB, free: 8.504 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 -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.662063725758344]