Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001117/0.001117, 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.0008717/0.0008717, allocations: 177 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.9282/0.9282, 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/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001648/0.001648, allocations: 246.4 kB / 260.5 MB, free: 12.68 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7164/0.7164, allocations: 138.4 MB / 402.2 MB, free: 0.5391 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 462.4 MB, free: 0.9062 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.342e-05, allocations: 2.312 kB / 462.4 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003856/0.00388, allocations: 2.114 MB / 464.5 MB, free: 15.56 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.005401, allocations: 0.6028 MB / 465.1 MB, free: 15.16 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001633/0.005564, allocations: 8.25 kB / 465.1 MB, free: 15.15 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000171/0.005735, allocations: 19.69 kB / 465.1 MB, free: 15.14 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.005839, allocations: 43.64 kB / 465.2 MB, free: 15.11 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.006112, allocations: 94.25 kB / 465.3 MB, free: 15.06 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.006396, allocations: 266.4 kB / 465.5 MB, free: 14.93 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001891/0.006585, allocations: 95.41 kB / 465.6 MB, free: 14.88 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002152/0.0068, allocations: 153.6 kB / 465.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.00694, allocations: 92.39 kB / 465.8 MB, free: 14.78 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.00699, allocations: 25.81 kB / 465.9 MB, free: 14.78 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.551e-05/0.007026, allocations: 27.06 kB / 465.9 MB, free: 14.78 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.007082, allocations: 57.02 kB / 466 MB, free: 14.74 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.379e-05/0.007166, allocations: 78.97 kB / 466 MB, free: 14.7 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.007428, allocations: 193 kB / 466.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007432, allocations: 1.312 kB / 466.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007433, allocations: 1.562 kB / 466.2 MB, free: 14.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.007439, allocations: 1.312 kB / 466.2 MB, free: 14.59 MB / 426.7 MB 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.00068/0.008119, allocations: 0.5337 MB / 466.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.008153, allocations: 10.56 kB / 466.8 MB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.008219, allocations: 43.89 kB / 466.8 MB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.008413, allocations: 170.1 kB / 467 MB, free: 13.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.008433, allocations: 17.31 kB / 467 MB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/0.00846, allocations: 20.38 kB / 467 MB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002855/0.008746, allocations: 269.2 kB / 467.3 MB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.008755, allocations: 0.75 kB / 467.3 MB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.008771, allocations: 10.34 kB / 467.3 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.008779, allocations: 8.656 kB / 467.3 MB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.469e-05/0.008854, allocations: 47.09 kB / 467.3 MB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.009377, allocations: 365.4 kB / 467.7 MB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.009564, allocations: 98.83 kB / 467.8 MB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.009598, allocations: 24 kB / 467.8 MB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.009617, allocations: 4 kB / 467.8 MB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.009776, allocations: 131.5 kB / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.523e-06/0.009777, allocations: 0 / 467.9 MB, free: 12.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001851/0.009962, allocations: 119.8 kB / 468.1 MB, free: 12.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.01001, allocations: 112 kB / 468.2 MB, free: 12.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.01013, allocations: 190.5 kB / 468.4 MB, free: 12.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.613e-05/0.01015, allocations: 33.7 kB / 468.4 MB, free: 12.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.01022, allocations: 145.2 kB / 468.5 MB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.01025, allocations: 55.61 kB / 468.6 MB, free: 12.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.01032, allocations: 62.94 kB / 468.7 MB, free: 12.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.01041, allocations: 338.7 kB / 469 MB, free: 11.81 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.762e-05/0.0105, allocations: 113.4 kB / 469.1 MB, free: 11.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.01062, allocations: 231.8 kB / 469.3 MB, free: 11.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/0.01075, allocations: 193.2 kB / 469.5 MB, free: 11.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01075, allocations: 1.219 kB / 469.5 MB, free: 11.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002229/0.01098, allocations: 314.6 kB / 469.8 MB, free: 10.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.01102, allocations: 89.11 kB / 469.9 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.01103, allocations: 6.375 kB / 469.9 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.01104, allocations: 3.984 kB / 469.9 MB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.01116, allocations: 52.56 kB / 470 MB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.01116, allocations: 9.172 kB / 470 MB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.01128, allocations: 48.56 kB / 470 MB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.0113, allocations: 13.55 kB / 470 MB, free: 10.59 MB / 426.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: 25 (antFre.disErr.y,$PRE.antFre.disErr.y,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.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) * 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 9.154e-05/0.01139, allocations: 136.9 kB / 470.2 MB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.01141, allocations: 16.77 kB / 470.2 MB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.01155, allocations: 107.4 kB / 470.3 MB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.01156, allocations: 6.281 kB / 470.3 MB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-06/0.01156, allocations: 0 / 470.3 MB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01156, allocations: 0 / 470.3 MB, free: 10.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000228/0.01179, allocations: 300.8 kB / 470.6 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01179, allocations: 0 / 470.6 MB, free: 10.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.693e-05/0.01185, allocations: 25.09 kB / 470.6 MB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01185, allocations: 0 / 470.6 MB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01186, allocations: 0 / 470.6 MB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01186, allocations: 1.062 kB / 470.6 MB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.01186, allocations: 7.984 kB / 470.6 MB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001257/0.01199, allocations: 194.4 kB / 470.8 MB, free: 9.773 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.01201, allocations: 20.52 kB / 470.8 MB, free: 9.754 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.01203, allocations: 4 kB / 470.8 MB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.01214, allocations: 37.3 kB / 470.9 MB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.053e-05/0.01221, allocations: 39.92 kB / 470.9 MB, free: 9.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.01222, allocations: 12.73 kB / 470.9 MB, free: 9.664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.154e-05/0.01226, allocations: 55.98 kB / 471 MB, free: 9.609 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01226, allocations: 1.531 kB / 471 MB, free: 9.609 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.01244, allocations: 59.89 kB / 471 MB, free: 9.551 MB / 426.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: 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.0001126/0.01255, allocations: 97.23 kB / 471.1 MB, free: 9.449 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.01279, allocations: 352.7 kB / 471.5 MB, free: 9.047 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.0128, allocations: 4.969 kB / 471.5 MB, free: 9.043 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.048e-05/0.01287, allocations: 58.42 kB / 471.5 MB, free: 8.984 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001922/0.01306, allocations: 39.27 kB / 471.6 MB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.01368, allocations: 355 kB / 471.9 MB, free: 8.586 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.783e-05/0.01373, allocations: 76.58 kB / 472 MB, free: 8.492 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.12e-05/0.0138, allocations: 20.69 kB / 472 MB, free: 8.469 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.01393, allocations: 91.91 kB / 472.1 MB, free: 8.379 MB / 426.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01393, allocations: 4 kB / 472.1 MB, free: 8.375 MB / 426.7 MB Notification: Performance of Templates: time 0.005289/0.01922, allocations: 3.453 MB / 475.6 MB, free: 5.242 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5691124428994954]