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.002454/0.002454, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.003075/0.003075, allocations: 173.2 kB / 22.76 MB, free: 1.664 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 1.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] 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.003234/0.003234, allocations: 240.2 kB / 259.8 MB, free: 12.82 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 1.152/1.152, allocations: 138.4 MB / 454.7 MB, free: 1.492 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.403e-06/1.403e-06, allocations: 0 / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.637e-05/2.777e-05, allocations: 6.25 kB / 0.5544 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003793/0.003821, allocations: 2.092 MB / 0.5564 GB, free: 14.68 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.005003, allocations: 0.5727 MB / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.005114, allocations: 0 / 0.557 GB, free: 14.11 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001288/0.005243, allocations: 23.67 kB / 0.557 GB, free: 14.08 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.005356, allocations: 47.58 kB / 0.5571 GB, free: 14.04 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.00564, allocations: 91.81 kB / 0.5572 GB, free: 13.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000363/0.006003, allocations: 271.3 kB / 0.5574 GB, free: 13.68 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002186/0.006221, allocations: 79.59 kB / 0.5575 GB, free: 13.61 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.006462, allocations: 159.7 kB / 0.5576 GB, free: 13.45 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002837/0.006746, allocations: 91.73 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.986e-05/0.006805, allocations: 28 kB / 0.5578 GB, free: 13.33 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.587e-05/0.006851, allocations: 28 kB / 0.5578 GB, free: 13.3 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.454e-05/0.006926, allocations: 59.75 kB / 0.5578 GB, free: 13.25 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.007041, allocations: 75.81 kB / 0.5579 GB, free: 13.17 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004014/0.007442, allocations: 295.1 kB / 0.5582 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.007445, allocations: 0 / 0.5582 GB, free: 12.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.007446, allocations: 0 / 0.5582 GB, free: 12.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.007452, allocations: 0 / 0.5582 GB, free: 12.88 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.001231/0.008683, allocations: 0.6612 MB / 0.5588 GB, free: 12.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.008719, allocations: 12.75 kB / 0.5589 GB, free: 12.15 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.008832, allocations: 48.75 kB / 0.5589 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.009187, allocations: 204.7 kB / 0.5591 GB, free: 11.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.035e-05/0.009217, allocations: 16.75 kB / 0.5591 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.639e-05/0.009264, allocations: 24.38 kB / 0.5591 GB, free: 11.84 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006609/0.009925, allocations: 321.1 kB / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.009938, allocations: 192 / 0.5594 GB, free: 11.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.009967, allocations: 8.125 kB / 0.5594 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.009977, allocations: 4 kB / 0.5595 GB, free: 11.49 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005584/0.01054, allocations: 163.9 kB / 0.5596 GB, free: 11.33 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001156/0.01169, allocations: 0.5818 MB / 0.5602 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006907/0.01238, allocations: 187 kB / 0.5604 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.01263, allocations: 75.64 kB / 0.5604 GB, free: 10.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.365e-05/0.01267, allocations: 8 kB / 0.5604 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.01312, allocations: 180.9 kB / 0.5606 GB, free: 10.24 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.01312, allocations: 0 / 0.5606 GB, free: 10.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009474/0.01406, allocations: 292.2 kB / 0.5609 GB, free: 9.949 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.01415, allocations: 106.8 kB / 0.561 GB, free: 9.82 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.01448, allocations: 301.5 kB / 0.5613 GB, free: 9.508 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.01452, allocations: 33.7 kB / 0.5613 GB, free: 9.469 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.01469, allocations: 203.2 kB / 0.5615 GB, free: 9.266 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.601e-05/0.01476, allocations: 55.62 kB / 0.5616 GB, free: 9.211 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.01491, allocations: 83.34 kB / 0.5616 GB, free: 9.121 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002966/0.0152, allocations: 0.5157 MB / 0.5621 GB, free: 8.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003832/0.01559, allocations: 173.3 kB / 0.5623 GB, free: 8.402 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.01607, allocations: 334.4 kB / 0.5626 GB, free: 8.012 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006238/0.01669, allocations: 295.9 kB / 0.5629 GB, free: 7.676 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.0167, allocations: 0 / 0.5629 GB, free: 7.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009383/0.01763, allocations: 494.6 kB / 0.5634 GB, free: 7.152 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.407e-05/0.01772, allocations: 89.09 kB / 0.5635 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.01772, allocations: 0 / 0.5635 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.01774, allocations: 4 kB / 0.5635 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.01797, allocations: 47.91 kB / 0.5635 GB, free: 6.996 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.001e-05/0.01798, allocations: 4 kB / 0.5635 GB, free: 6.992 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.01826, allocations: 55.91 kB / 0.5636 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.0183, allocations: 15.92 kB / 0.5636 GB, free: 6.922 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 0.0001958/0.01849, allocations: 194.5 kB / 0.5638 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.01854, allocations: 23.91 kB / 0.5638 GB, free: 6.699 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006766/0.01922, allocations: 227.3 kB / 0.564 GB, free: 6.469 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.01922, allocations: 7.984 kB / 0.564 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01923, allocations: 0 / 0.564 GB, free: 6.461 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01923, allocations: 3.938 kB / 0.564 GB, free: 6.457 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.02029, allocations: 0.5401 MB / 0.5645 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.02029, allocations: 0 / 0.5645 GB, free: 5.875 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.02041, allocations: 19.97 kB / 0.5646 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.02042, allocations: 7.984 kB / 0.5646 GB, free: 5.848 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.02044, allocations: 7.938 kB / 0.5646 GB, free: 5.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.02045, allocations: 4 kB / 0.5646 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02045, allocations: 0 / 0.5646 GB, free: 5.836 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000705/0.02115, allocations: 374.4 kB / 0.5649 GB, free: 5.453 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.02119, allocations: 19.84 kB / 0.565 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.802e-05/0.02124, allocations: 8 kB / 0.565 GB, free: 5.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000243/0.02148, allocations: 31.97 kB / 0.565 GB, free: 5.395 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.02162, allocations: 51.86 kB / 0.565 GB, free: 5.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.496e-05/0.02164, allocations: 11.98 kB / 0.5651 GB, free: 5.332 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.02182, allocations: 192.1 kB / 0.5652 GB, free: 5.145 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02182, allocations: 0 / 0.5652 GB, free: 5.145 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003303/0.02215, allocations: 59.89 kB / 0.5653 GB, free: 5.086 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 0.0001539/0.0223, allocations: 107.2 kB / 0.5654 GB, free: 4.973 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008985/0.0232, allocations: 494.3 kB / 0.5659 GB, free: 4.434 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0232, allocations: 0 / 0.5659 GB, free: 4.434 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003242/0.02353, allocations: 111.5 kB / 0.566 GB, free: 4.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.02391, allocations: 36.92 kB / 0.566 GB, free: 4.285 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008543/0.02477, allocations: 372.6 kB / 0.5664 GB, free: 3.895 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.02491, allocations: 129.3 kB / 0.5665 GB, free: 3.742 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 9.73e-05/0.025, allocations: 21.64 kB / 0.5665 GB, free: 3.723 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/0.02511, allocations: 24.48 kB / 0.5665 GB, free: 3.699 MB / 490.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02511, allocations: 4 kB / 0.5665 GB, free: 3.695 MB / 490.7 MB Notification: Performance of Templates: time 0.008255/0.03337, allocations: 3.434 MB / 0.5699 GB, free: 356 kB / 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: 5.874862437020056]