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.0009594/0.0009594, allocations: 77.86 kB / 20.66 MB, free: 3.832 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.001045/0.001045, allocations: 165 kB / 24.06 MB, free: 448 kB / 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.9786/0.9786, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.001772/0.001772, allocations: 237.6 kB / 261.3 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.7597/0.7597, allocations: 138.4 MB / 456.3 MB, free: 30.01 MB / 410.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.082e-06/1.082e-06, allocations: 0 / 0.5564 GB, free: 15.84 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.201e-05, allocations: 2.312 kB / 0.5564 GB, free: 15.84 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.002213/0.002225, allocations: 2.115 MB / 0.5585 GB, free: 13.71 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007167/0.002941, allocations: 0.5765 MB / 0.559 GB, free: 13.13 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.986e-05/0.003031, allocations: 3.938 kB / 0.559 GB, free: 13.12 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001028/0.003134, allocations: 23.67 kB / 0.5591 GB, free: 13.1 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.003206, allocations: 43.59 kB / 0.5591 GB, free: 13.06 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.00345, allocations: 91.8 kB / 0.5592 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.000286/0.003736, allocations: 271.3 kB / 0.5594 GB, free: 12.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.003906, allocations: 83.59 kB / 0.5595 GB, free: 12.62 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.004055, allocations: 159.7 kB / 0.5597 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.87e-05/0.004153, allocations: 87.75 kB / 0.5598 GB, free: 12.38 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.004189, allocations: 28 kB / 0.5598 GB, free: 12.36 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.359e-05/0.004213, allocations: 24 kB / 0.5598 GB, free: 12.33 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.688e-05/0.00426, allocations: 59.75 kB / 0.5599 GB, free: 12.27 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.004323, allocations: 79.8 kB / 0.5599 GB, free: 12.2 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.004513, allocations: 187.3 kB / 0.5601 GB, free: 12.01 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.004516, allocations: 4 kB / 0.5601 GB, free: 12.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004517, allocations: 0 / 0.5601 GB, free: 12.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.004521, allocations: 0 / 0.5601 GB, free: 12.01 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.0006191/0.00514, allocations: 0.6615 MB / 0.5608 GB, free: 11.29 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.005171, allocations: 8.75 kB / 0.5608 GB, free: 11.28 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.005229, allocations: 44.8 kB / 0.5608 GB, free: 11.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.005411, allocations: 204.9 kB / 0.561 GB, free: 11.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.005434, allocations: 24.73 kB / 0.561 GB, free: 10.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.005463, allocations: 20.38 kB / 0.5611 GB, free: 10.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.005739, allocations: 278.8 kB / 0.5613 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.005747, allocations: 192 / 0.5613 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.005763, allocations: 4.375 kB / 0.5613 GB, free: 10.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.005769, allocations: 7.938 kB / 0.5613 GB, free: 10.65 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.005853, allocations: 59.02 kB / 0.5614 GB, free: 10.6 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.006379, allocations: 0.4917 MB / 0.5619 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.006571, allocations: 111.1 kB / 0.562 GB, free: 9.957 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.797e-05/0.006609, allocations: 27.67 kB / 0.562 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.006623, allocations: 0 / 0.562 GB, free: 9.926 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.006761, allocations: 128.8 kB / 0.5621 GB, free: 9.785 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.006762, allocations: 0 / 0.5621 GB, free: 9.785 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.0002333/0.006996, allocations: 160.2 kB / 0.5623 GB, free: 9.625 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.00704, allocations: 110.8 kB / 0.5624 GB, free: 9.492 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.007165, allocations: 265.3 kB / 0.5626 GB, free: 9.215 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.007187, allocations: 33.7 kB / 0.5627 GB, free: 9.176 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.007269, allocations: 203.1 kB / 0.5629 GB, free: 8.973 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.007302, allocations: 59.55 kB / 0.5629 GB, free: 8.914 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.007373, allocations: 67.31 kB / 0.563 GB, free: 8.84 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.007489, allocations: 0.5078 MB / 0.5635 GB, free: 8.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.007565, allocations: 113.4 kB / 0.5636 GB, free: 8.188 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001266/0.007692, allocations: 250.4 kB / 0.5638 GB, free: 7.879 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/0.007822, allocations: 205.9 kB / 0.564 GB, free: 7.633 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.007824, allocations: 8.031 kB / 0.564 GB, free: 7.625 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002674/0.008092, allocations: 372.4 kB / 0.5644 GB, free: 7.223 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.095e-05/0.008133, allocations: 93.09 kB / 0.5645 GB, free: 7.113 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.008138, allocations: 4 kB / 0.5645 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.008147, allocations: 0 / 0.5645 GB, free: 7.109 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.00826, allocations: 47.91 kB / 0.5645 GB, free: 7.062 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.008265, allocations: 4 kB / 0.5645 GB, free: 7.059 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.00839, allocations: 48.02 kB / 0.5646 GB, free: 7.012 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.008406, allocations: 15.97 kB / 0.5646 GB, free: 6.996 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,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.393e-05/0.0085, allocations: 186.4 kB / 0.5648 GB, free: 6.805 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.008526, allocations: 27.86 kB / 0.5648 GB, free: 6.777 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.008697, allocations: 155.2 kB / 0.5649 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.008699, allocations: 0 / 0.5649 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-06/0.0087, allocations: 0 / 0.5649 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.008704, allocations: 11.94 kB / 0.565 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.008973, allocations: 408.8 kB / 0.5653 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008974, allocations: 4 kB / 0.5654 GB, free: 6.172 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.686e-05/0.009031, allocations: 15.98 kB / 0.5654 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.009034, allocations: 11.92 kB / 0.5654 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.009043, allocations: 0 / 0.5654 GB, free: 6.145 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.009045, allocations: 4 kB / 0.5654 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.009046, allocations: 0 / 0.5654 GB, free: 6.141 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001772/0.009223, allocations: 299.6 kB / 0.5657 GB, free: 5.828 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.009238, allocations: 11.91 kB / 0.5657 GB, free: 5.816 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.009263, allocations: 8 kB / 0.5657 GB, free: 5.809 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001575/0.009421, allocations: 31.97 kB / 0.5657 GB, free: 5.777 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.985e-05/0.009501, allocations: 43.92 kB / 0.5658 GB, free: 5.734 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.009516, allocations: 7.984 kB / 0.5658 GB, free: 5.727 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.713e-05/0.009583, allocations: 172.1 kB / 0.5659 GB, free: 5.559 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009583, allocations: 0 / 0.5659 GB, free: 5.559 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001899/0.009773, allocations: 55.89 kB / 0.566 GB, free: 5.504 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 8.823e-05/0.009861, allocations: 124.5 kB / 0.5661 GB, free: 5.375 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0002536/0.01011, allocations: 358.7 kB / 0.5664 GB, free: 4.965 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.01012, allocations: 4 kB / 0.5665 GB, free: 4.961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 7.458e-05/0.01019, allocations: 55.58 kB / 0.5665 GB, free: 4.902 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.01042, allocations: 42.38 kB / 0.5665 GB, free: 4.863 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005357/0.01096, allocations: 360.1 kB / 0.5669 GB, free: 4.488 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.202e-05/0.011, allocations: 79.97 kB / 0.567 GB, free: 4.391 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 6.139e-05/0.01106, allocations: 21.64 kB / 0.567 GB, free: 4.367 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.01119, allocations: 114.2 kB / 0.5671 GB, free: 4.254 MB / 490.7 MB Notification: Performance of SimCode: time 4.1e-07/0.01119, allocations: 0 / 0.5671 GB, free: 4.254 MB / 490.7 MB Notification: Performance of Templates: time 0.005406/0.0166, allocations: 3.781 MB / 0.5708 GB, free: 0.5703 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.6486367979086936]