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.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.001364/0.001364, allocations: 117.7 kB / 17.13 MB, free: 5.918 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.001326/0.001326, allocations: 191.7 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.424/1.424, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002416/0.002416, allocations: 288.4 kB / 303.6 MB, free: 3.785 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.076/1.076, allocations: 180.9 MB / 0.5268 GB, free: 2.668 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002824/0.002824, allocations: 103.8 kB / 0.726 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5489/0.5517, allocations: 94.15 MB / 0.8179 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003111/0.5548, allocations: 2.092 MB / 0.8199 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009073/0.5557, allocations: 0.5726 MB / 0.8205 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.5558, allocations: 5.344 kB / 0.8205 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001207/0.5559, allocations: 20.77 kB / 0.8205 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.556, allocations: 35.41 kB / 0.8206 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.5563, allocations: 92.02 kB / 0.8207 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002917/0.5566, allocations: 261.2 kB / 0.8209 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002279/0.5568, allocations: 95.2 kB / 0.821 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.5569, allocations: 111.5 kB / 0.8211 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.5571, allocations: 121.9 kB / 0.8212 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.213e-05/0.5571, allocations: 25.91 kB / 0.8212 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.519e-05/0.5572, allocations: 25.91 kB / 0.8213 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.5572, allocations: 54.58 kB / 0.8213 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.835e-05/0.5573, allocations: 116.2 kB / 0.8214 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003192/0.5576, allocations: 275.3 kB / 0.8217 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5577, allocations: 0 / 0.8217 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5577, allocations: 0 / 0.8217 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.5577, allocations: 0.6094 kB / 0.8217 GB, free: 4.941 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.001148/0.5588, allocations: 0.6489 MB / 0.8223 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.5589, allocations: 9.531 kB / 0.8223 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.133e-05/0.5589, allocations: 27.81 kB / 0.8224 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003081/0.5592, allocations: 254.2 kB / 0.8226 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.5593, allocations: 18.78 kB / 0.8226 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.5593, allocations: 24.58 kB / 0.8226 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006274/0.5599, allocations: 279.9 kB / 0.8229 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.5599, allocations: 0 / 0.8229 GB, free: 3.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.698e-05/0.56, allocations: 12.89 kB / 0.8229 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.56, allocations: 2.5 kB / 0.8229 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006811/0.5607, allocations: 198 kB / 0.8231 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.5619, allocations: 0.6151 MB / 0.8237 GB, free: 3.512 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/0.5627, allocations: 218.8 kB / 0.8239 GB, free: 3.445 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.563, allocations: 82.64 kB / 0.824 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.575e-05/0.5631, allocations: 2.656 kB / 0.824 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004733/0.5635, allocations: 185.5 kB / 0.8242 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.683e-06/0.5635, allocations: 0 / 0.8242 GB, free: 3.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001085/0.5646, allocations: 337.6 kB / 0.8245 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.5647, allocations: 110.8 kB / 0.8246 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.5648, allocations: 197.8 kB / 0.8248 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.5649, allocations: 37.69 kB / 0.8248 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.565, allocations: 155 kB / 0.825 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.924e-05/0.565, allocations: 52.92 kB / 0.825 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.709e-05/0.5651, allocations: 60.42 kB / 0.8251 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.5652, allocations: 334.8 kB / 0.8254 GB, free: 2.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003557/0.5655, allocations: 109.8 kB / 0.8255 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003701/0.5659, allocations: 176.4 kB / 0.8257 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006319/0.5665, allocations: 311.2 kB / 0.826 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.5665, allocations: 0 / 0.826 GB, free: 2.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0008277/0.5673, allocations: 421.8 kB / 0.8264 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.613e-05/0.5674, allocations: 93.64 kB / 0.8265 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.5674, allocations: 3.234 kB / 0.8265 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.5674, allocations: 6.719 kB / 0.8265 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.5676, allocations: 49.41 kB / 0.8265 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.5676, allocations: 0.7969 kB / 0.8265 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.568, allocations: 66 kB / 0.8266 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.468e-05/0.568, allocations: 9.016 kB / 0.8266 GB, free: 1.738 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.0001134/0.5681, allocations: 151.7 kB / 0.8267 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.5681, allocations: 22.33 kB / 0.8268 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/0.5689, allocations: 256.9 kB / 0.827 GB, free: 1.504 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/0.5689, allocations: 6.312 kB / 0.827 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5689, allocations: 0 / 0.827 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5689, allocations: 1.219 kB / 0.827 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009012/0.5698, allocations: 0.573 MB / 0.8276 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5698, allocations: 3.984 kB / 0.8276 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.5699, allocations: 36.64 kB / 0.8276 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.5699, allocations: 0 / 0.8276 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.57, allocations: 5.344 kB / 0.8276 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.57, allocations: 3.938 kB / 0.8276 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.57, allocations: 0 / 0.8276 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.5707, allocations: 352.2 kB / 0.828 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.5707, allocations: 97.02 kB / 0.8281 GB, free: 0.8086 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.5708, allocations: 10.89 kB / 0.8281 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.5711, allocations: 44.69 kB / 0.8281 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.5712, allocations: 43.97 kB / 0.8282 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.5712, allocations: 7.797 kB / 0.8282 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.502e-05/0.5713, allocations: 143.6 kB / 0.8283 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5713, allocations: 0 / 0.8283 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003037/0.5716, allocations: 54.36 kB / 0.8283 GB, free: 0.6758 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.0001311/0.5717, allocations: 120.6 kB / 0.8285 GB, free: 0.5742 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0007998/0.5725, allocations: 400.5 kB / 0.8288 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5725, allocations: 0 / 0.8288 GB, free: 340 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003449/0.5729, allocations: 111.7 kB / 0.829 GB, free: 312 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003635/0.5732, allocations: 35.05 kB / 0.829 GB, free: 300 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007789/0.574, allocations: 389 kB / 0.8294 GB, free: 32 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.5744, allocations: 0.7408 MB / 0.8301 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.401e-05/0.5745, allocations: 24.33 kB / 0.8301 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5745, allocations: 0 / 0.8301 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of Templates: time 0.005402/0.5799, allocations: 2.896 MB / 0.8329 GB, free: 15.03 MB / 0.5919 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.82947666104883] Failed to read output from testmodel.py, exit status != 0: 0.5878342781215906 0.601460541 0.040945144 Calling exit ...