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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 112.1 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 190.8 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.416/1.416, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.069/1.069, allocations: 177.8 MB / 481.2 MB, free: 1.449 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001968/0.001968, allocations: 72.36 kB / 0.6695 GB, free: 9.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1893, allocations: 95.09 MB / 0.7624 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003808/0.1931, allocations: 2.084 MB / 0.7644 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1942, allocations: 0.5766 MB / 0.765 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.1943, allocations: 0 / 0.765 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.1944, allocations: 23.67 kB / 0.765 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.477e-05/0.1945, allocations: 35.66 kB / 0.7651 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002829/0.1948, allocations: 91.88 kB / 0.7652 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1952, allocations: 275.3 kB / 0.7654 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002351/0.1954, allocations: 86.88 kB / 0.7655 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.1956, allocations: 111.6 kB / 0.7656 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1957, allocations: 123.4 kB / 0.7657 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.035e-05/0.1958, allocations: 28 kB / 0.7657 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.096e-05/0.1958, allocations: 28 kB / 0.7658 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.233e-05/0.1959, allocations: 51.83 kB / 0.7658 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.196, allocations: 111.4 kB / 0.7659 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003684/0.1964, allocations: 282.8 kB / 0.7662 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1964, allocations: 0 / 0.7662 GB, free: 9.672 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1964, allocations: 4 kB / 0.7662 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.772e-06/0.1964, allocations: 0 / 0.7662 GB, free: 9.668 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001326/0.1977, allocations: 0.6447 MB / 0.7668 GB, free: 8.953 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1978, allocations: 8.031 kB / 0.7668 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.1978, allocations: 24.8 kB / 0.7669 GB, free: 8.922 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.1982, allocations: 260.5 kB / 0.7671 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1982, allocations: 16.5 kB / 0.7671 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.545e-05/0.1983, allocations: 27.98 kB / 0.7672 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006303/0.1989, allocations: 266.1 kB / 0.7674 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.1989, allocations: 0 / 0.7674 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.199, allocations: 15.98 kB / 0.7674 GB, free: 8.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.199, allocations: 4 kB / 0.7674 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.1997, allocations: 191.8 kB / 0.7676 GB, free: 8.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.2008, allocations: 0.617 MB / 0.7682 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000869/0.2017, allocations: 218.5 kB / 0.7684 GB, free: 7.215 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.202, allocations: 84.72 kB / 0.7685 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.202, allocations: 4 kB / 0.7685 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.2025, allocations: 191.1 kB / 0.7687 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.724e-06/0.2025, allocations: 0 / 0.7687 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001157/0.2037, allocations: 335.1 kB / 0.769 GB, free: 6.594 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.2038, allocations: 114.7 kB / 0.7691 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.204, allocations: 202.5 kB / 0.7693 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.799e-05/0.204, allocations: 33.7 kB / 0.7693 GB, free: 6.211 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.2042, allocations: 164.3 kB / 0.7695 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.2042, allocations: 51.67 kB / 0.7695 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.2043, allocations: 61.66 kB / 0.7696 GB, free: 5.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2045, allocations: 334.8 kB / 0.7699 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.2049, allocations: 108.2 kB / 0.77 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.2053, allocations: 179.2 kB / 0.7702 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007095/0.206, allocations: 307.7 kB / 0.7705 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.206, allocations: 0 / 0.7705 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009629/0.207, allocations: 416.7 kB / 0.7709 GB, free: 4.52 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.207, allocations: 97.03 kB / 0.771 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.2071, allocations: 7.938 kB / 0.771 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.2071, allocations: 8 kB / 0.771 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.2073, allocations: 39.97 kB / 0.771 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.2073, allocations: 16.08 kB / 0.7711 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.2077, allocations: 51.84 kB / 0.7711 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.2077, allocations: 8 kB / 0.7711 GB, free: 4.277 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 25 (antFre.disErr.y,$PRE.antFre.disErr.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,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 (31): * Single equations (assignments): 28 * 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.0001646/0.2079, allocations: 148 kB / 0.7713 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.2079, allocations: 27.73 kB / 0.7713 GB, free: 4.098 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007965/0.2087, allocations: 255.4 kB / 0.7715 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2087, allocations: 4 kB / 0.7715 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2087, allocations: 0 / 0.7715 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2087, allocations: 0 / 0.7715 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.2098, allocations: 0.5775 MB / 0.7721 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2098, allocations: 0 / 0.7721 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.21, allocations: 35.95 kB / 0.7721 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.21, allocations: 0 / 0.7721 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.21, allocations: 4 kB / 0.7721 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.21, allocations: 4 kB / 0.7721 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.21, allocations: 0 / 0.7721 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.2108, allocations: 349.4 kB / 0.7725 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.2108, allocations: 104.9 kB / 0.7726 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.131e-05/0.2109, allocations: 12 kB / 0.7726 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003133/0.2112, allocations: 39.94 kB / 0.7726 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.2113, allocations: 47.89 kB / 0.7727 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.2113, allocations: 7.984 kB / 0.7727 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001288/0.2115, allocations: 140.5 kB / 0.7728 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2115, allocations: 0 / 0.7728 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00032/0.2118, allocations: 51.95 kB / 0.7729 GB, free: 2.395 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($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) * Number of discrete states: 6 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 11 * 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.0001635/0.212, allocations: 114.1 kB / 0.773 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009373/0.2129, allocations: 422 kB / 0.7734 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2129, allocations: 0 / 0.7734 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003702/0.2133, allocations: 99.86 kB / 0.7735 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.2136, allocations: 39.83 kB / 0.7735 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.2146, allocations: 395.5 kB / 0.7739 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.2149, allocations: 0.732 MB / 0.7746 GB, free: 0.5117 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.215, allocations: 23.44 kB / 0.7746 GB, free: 500 kB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.215, allocations: 4 kB / 0.7746 GB, free: 496 kB / 0.5762 GB Notification: Performance of Templates: time 0.005052/0.2201, allocations: 2.882 MB / 0.7774 GB, free: 13.61 MB / 0.5919 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: 8.387345046037808] Failed to read output from testmodel.py, exit status != 0: 0.2276926590129733 0.24068835799999996 0.041518137000000004 Calling exit ...