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.001329/0.001329, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001472/0.001472, allocations: 173 kB / 23.49 MB, free: 1.059 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.9688/0.9688, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.001619/0.001619, allocations: 237 kB / 260.5 MB, free: 12.88 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.7059/0.7059, allocations: 138.4 MB / 455.4 MB, free: 1.562 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.072e-06/1.072e-06, allocations: 0 / 0.5551 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23e-05/1.338e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002184/0.002198, allocations: 2.125 MB / 0.5572 GB, free: 14.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007521/0.00295, allocations: 0.5847 MB / 0.5577 GB, free: 14.12 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.857e-05/0.003048, allocations: 7.938 kB / 0.5577 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00011/0.003158, allocations: 23.73 kB / 0.5578 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.00323, allocations: 39.59 kB / 0.5578 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002142/0.003445, allocations: 91.81 kB / 0.5579 GB, free: 13.96 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.003669, allocations: 271.3 kB / 0.5581 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.003846, allocations: 79.64 kB / 0.5582 GB, free: 13.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003701/0.004216, allocations: 163.6 kB / 0.5584 GB, free: 13.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.839e-05/0.004315, allocations: 91.75 kB / 0.5585 GB, free: 13.37 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.004352, allocations: 24 kB / 0.5585 GB, free: 13.35 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.328e-05/0.004375, allocations: 28 kB / 0.5585 GB, free: 13.32 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.004421, allocations: 63.73 kB / 0.5586 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 7.047e-05/0.004491, allocations: 75.81 kB / 0.5586 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.004694, allocations: 191.3 kB / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.923e-06/0.004695, allocations: 0 / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.004696, allocations: 0 / 0.5588 GB, free: 13 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.0047, allocations: 0 / 0.5588 GB, free: 13 MB / 490.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.0006688/0.005369, allocations: 0.6573 MB / 0.5595 GB, free: 12.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.005401, allocations: 12.75 kB / 0.5595 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/0.005471, allocations: 40.8 kB / 0.5595 GB, free: 12.23 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.005691, allocations: 208.7 kB / 0.5597 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.005713, allocations: 16.73 kB / 0.5597 GB, free: 11.98 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.769e-05/0.00574, allocations: 24.38 kB / 0.5598 GB, free: 11.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003311/0.006071, allocations: 285.8 kB / 0.56 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006079, allocations: 192 / 0.56 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.006097, allocations: 16.06 kB / 0.56 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.006104, allocations: 8 kB / 0.5601 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.006236, allocations: 59.7 kB / 0.5601 GB, free: 11.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006117/0.006848, allocations: 0.5264 MB / 0.5606 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.007083, allocations: 111.1 kB / 0.5607 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.007139, allocations: 31.67 kB / 0.5608 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.007155, allocations: 4 kB / 0.5608 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.007325, allocations: 136.9 kB / 0.5609 GB, free: 10.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.007326, allocations: 4 kB / 0.5609 GB, free: 10.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002976/0.007624, allocations: 177.3 kB / 0.5611 GB, free: 10.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.007674, allocations: 110.8 kB / 0.5612 GB, free: 10.38 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.00781, allocations: 253.5 kB / 0.5614 GB, free: 10.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.007834, allocations: 37.69 kB / 0.5615 GB, free: 10.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.007924, allocations: 199.2 kB / 0.5616 GB, free: 9.875 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.007957, allocations: 55.56 kB / 0.5617 GB, free: 9.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.136e-05/0.008029, allocations: 71.34 kB / 0.5618 GB, free: 9.742 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.008134, allocations: 0.5 MB / 0.5623 GB, free: 9.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.008242, allocations: 125.3 kB / 0.5624 GB, free: 9.086 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001419/0.008384, allocations: 258.5 kB / 0.5626 GB, free: 8.77 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.008551, allocations: 220.7 kB / 0.5628 GB, free: 8.508 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.008554, allocations: 0 / 0.5628 GB, free: 8.508 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003167/0.00887, allocations: 394.6 kB / 0.5632 GB, free: 8.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.008909, allocations: 92.39 kB / 0.5633 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.008914, allocations: 0 / 0.5633 GB, free: 7.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.008927, allocations: 7.984 kB / 0.5633 GB, free: 7.969 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.009041, allocations: 43.91 kB / 0.5633 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.009048, allocations: 4 kB / 0.5633 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.009174, allocations: 47.81 kB / 0.5634 GB, free: 7.875 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.009192, allocations: 20.09 kB / 0.5634 GB, free: 7.855 MB / 490.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,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 9.726e-05/0.00929, allocations: 178.5 kB / 0.5636 GB, free: 7.672 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.009317, allocations: 23.89 kB / 0.5636 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.009525, allocations: 167.2 kB / 0.5638 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.009527, allocations: 0 / 0.5638 GB, free: 7.477 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.009532, allocations: 4 kB / 0.5638 GB, free: 7.473 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.009537, allocations: 3.984 kB / 0.5638 GB, free: 7.469 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003301/0.009867, allocations: 461 kB / 0.5642 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.009868, allocations: 0 / 0.5642 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.841e-05/0.009927, allocations: 27.97 kB / 0.5642 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.009928, allocations: 0 / 0.5642 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.009939, allocations: 0 / 0.5642 GB, free: 6.949 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.009941, allocations: 4 kB / 0.5642 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.009942, allocations: 0 / 0.5642 GB, free: 6.945 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.01014, allocations: 307.6 kB / 0.5645 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.01016, allocations: 19.86 kB / 0.5646 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.01019, allocations: 8 kB / 0.5646 GB, free: 6.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.0103, allocations: 35.95 kB / 0.5646 GB, free: 6.562 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.258e-05/0.01038, allocations: 43.86 kB / 0.5646 GB, free: 6.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.01039, allocations: 4 kB / 0.5646 GB, free: 6.516 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.462e-05/0.01047, allocations: 180.1 kB / 0.5648 GB, free: 6.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01047, allocations: 0 / 0.5648 GB, free: 6.34 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001948/0.01066, allocations: 51.89 kB / 0.5649 GB, free: 6.289 MB / 490.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 7.75e-05/0.01074, allocations: 118.1 kB / 0.565 GB, free: 6.168 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000527/0.01127, allocations: 382.3 kB / 0.5653 GB, free: 5.738 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01127, allocations: 0 / 0.5653 GB, free: 5.738 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/0.01136, allocations: 59.59 kB / 0.5654 GB, free: 5.676 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.0116, allocations: 43.89 kB / 0.5654 GB, free: 5.633 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006345/0.01223, allocations: 366 kB / 0.5658 GB, free: 5.246 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.01227, allocations: 75.98 kB / 0.5659 GB, free: 5.148 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.012e-05/0.01233, allocations: 17.64 kB / 0.5659 GB, free: 5.133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.051e-05/0.01239, allocations: 28.48 kB / 0.5659 GB, free: 5.105 MB / 490.7 MB Notification: Performance of SimCode: time 6.32e-07/0.01239, allocations: 0 / 0.5659 GB, free: 5.105 MB / 490.7 MB Notification: Performance of Templates: time 0.004477/0.01687, allocations: 3.437 MB / 0.5693 GB, free: 1.754 MB / 490.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.6068805831018835]