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.001438/0.001438, allocations: 108.3 kB / 18.71 MB, free: 3.305 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.001476/0.001476, allocations: 192.4 kB / 21.96 MB, free: 60 kB / 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.321/1.321, allocations: 225.6 MB / 250.7 MB, free: 13.41 MB / 206.1 MB " [Timeout remaining time 179] 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.002428/0.002428, allocations: 294.5 kB / 306.1 MB, free: 8.594 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.152/1.152, allocations: 180.9 MB / 0.5295 GB, free: 14.63 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.002699/0.002699, allocations: 101.1 kB / 0.7301 GB, free: 39.19 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1362, allocations: 94.16 MB / 0.8221 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003666/0.1399, allocations: 2.099 MB / 0.8241 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.1409, allocations: 0.569 MB / 0.8247 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1411, allocations: 4 kB / 0.8247 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.1412, allocations: 23.67 kB / 0.8247 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1413, allocations: 35.66 kB / 0.8247 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.1416, allocations: 99.81 kB / 0.8248 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003326/0.1419, allocations: 263.2 kB / 0.8251 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002329/0.1422, allocations: 98.61 kB / 0.8252 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.1423, allocations: 115.5 kB / 0.8253 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.1425, allocations: 115.5 kB / 0.8254 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.101e-05/0.1426, allocations: 28 kB / 0.8254 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 4.71e-05/0.1426, allocations: 28 kB / 0.8255 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.1427, allocations: 59.81 kB / 0.8255 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001247/0.1428, allocations: 111.4 kB / 0.8256 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003572/0.1432, allocations: 282.9 kB / 0.8259 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1432, allocations: 4 kB / 0.8259 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1432, allocations: 0 / 0.8259 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.136e-05/0.1432, allocations: 0 / 0.8259 GB, free: 14.72 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.001164/0.1443, allocations: 0.6408 MB / 0.8265 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1444, allocations: 8.031 kB / 0.8265 GB, free: 14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.303e-05/0.1444, allocations: 28.75 kB / 0.8266 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1448, allocations: 257.1 kB / 0.8268 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.1448, allocations: 16.75 kB / 0.8268 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.1449, allocations: 24.38 kB / 0.8268 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006398/0.1455, allocations: 270.5 kB / 0.8271 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1455, allocations: 4 kB / 0.8271 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.1455, allocations: 11.94 kB / 0.8271 GB, free: 13.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.1455, allocations: 8 kB / 0.8271 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006531/0.1462, allocations: 187.8 kB / 0.8273 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.1473, allocations: 0.617 MB / 0.8279 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.1481, allocations: 214.5 kB / 0.8281 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.1484, allocations: 80.78 kB / 0.8282 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.1484, allocations: 0 / 0.8282 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004705/0.1489, allocations: 196.8 kB / 0.8284 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.1489, allocations: 0 / 0.8284 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=18): time 0.001049/0.15, allocations: 337.1 kB / 0.8287 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.15, allocations: 106.8 kB / 0.8288 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.1502, allocations: 204.3 kB / 0.829 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.1503, allocations: 37.7 kB / 0.829 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1504, allocations: 156.3 kB / 0.8292 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.24e-05/0.1504, allocations: 51.64 kB / 0.8292 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.1505, allocations: 61.69 kB / 0.8293 GB, free: 11 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1507, allocations: 334.8 kB / 0.8296 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.151, allocations: 108.2 kB / 0.8297 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003917/0.1514, allocations: 175.8 kB / 0.8299 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006751/0.1521, allocations: 307.7 kB / 0.8302 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1521, allocations: 4 kB / 0.8302 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009104/0.153, allocations: 424.6 kB / 0.8306 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.135e-05/0.1531, allocations: 87.45 kB / 0.8307 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.1531, allocations: 4 kB / 0.8307 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1531, allocations: 0 / 0.8307 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/0.1533, allocations: 59.98 kB / 0.8307 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.1533, allocations: 7.984 kB / 0.8307 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.1536, allocations: 55.83 kB / 0.8308 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.1537, allocations: 8 kB / 0.8308 GB, free: 9.355 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.0001542/0.1538, allocations: 148 kB / 0.8309 GB, free: 9.199 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.1539, allocations: 23.84 kB / 0.831 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/0.1546, allocations: 271.1 kB / 0.8312 GB, free: 8.902 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1546, allocations: 3.938 kB / 0.8312 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1546, allocations: 0 / 0.8312 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.231e-05/0.1547, allocations: 92.95 kB / 0.8313 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.988e-05/0.1547, allocations: 8 kB / 0.8313 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.155, allocations: 43.94 kB / 0.8314 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.1551, allocations: 43.94 kB / 0.8314 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009041/0.156, allocations: 348.7 kB / 0.8317 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007848/0.1568, allocations: 424.7 kB / 0.8321 GB, free: 7.918 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003469/0.1571, allocations: 107.9 kB / 0.8322 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001226/0.1573, allocations: 139.3 kB / 0.8324 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of Backend: time 3.6e-07/0.1573, allocations: 0 / 0.8324 GB, free: 7.676 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0008756/0.1581, allocations: 410 kB / 0.8328 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0008854/0.159, allocations: 0.7861 MB / 0.8335 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of Templates: time 0.007221/0.1662, allocations: 3.661 MB / 0.8371 GB, free: 2.793 MB / 0.5762 GB " [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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.580946643953212] Failed to read output from testmodel.py, exit status != 0: 0.17341638903599232 0.187168407 0.041102318000000006 Calling exit ...