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.00138/0.00138, allocations: 88.72 kB / 19.44 MB, free: 352 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.001588/0.001588, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.47/1.47, allocations: 177.1 MB / 203.1 MB, free: 5.598 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.002647/0.002647, allocations: 236.3 kB / 259.8 MB, free: 12.84 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.08/1.08, allocations: 138.5 MB / 454.7 MB, free: 1.48 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.262e-06/1.262e-06, allocations: 0 / 0.5544 GB, free: 0.8086 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.599e-05, allocations: 6.109 kB / 0.5544 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003682/0.003708, allocations: 2.06 MB / 0.5564 GB, free: 14.73 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.004861, allocations: 0.5571 MB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.004953, allocations: 4 kB / 0.557 GB, free: 14.16 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.005088, allocations: 23.67 kB / 0.557 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.005196, allocations: 43.59 kB / 0.557 GB, free: 14.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00028/0.005476, allocations: 99.73 kB / 0.5571 GB, free: 14 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.005839, allocations: 267.3 kB / 0.5574 GB, free: 13.73 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002273/0.006066, allocations: 83.64 kB / 0.5574 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002342/0.0063, allocations: 155.7 kB / 0.5576 GB, free: 13.5 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.006454, allocations: 87.75 kB / 0.5577 GB, free: 13.42 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.006508, allocations: 24 kB / 0.5577 GB, free: 13.39 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.429e-05/0.006552, allocations: 32 kB / 0.5577 GB, free: 13.36 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.239e-05/0.006624, allocations: 55.81 kB / 0.5578 GB, free: 13.31 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.006956, allocations: 87.73 kB / 0.5579 GB, free: 13.22 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004/0.007356, allocations: 291 kB / 0.5581 GB, free: 12.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.007362, allocations: 4 kB / 0.5582 GB, free: 12.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.007363, allocations: 0 / 0.5582 GB, free: 12.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.007368, allocations: 0 / 0.5582 GB, free: 12.93 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.001251/0.008619, allocations: 0.5694 MB / 0.5587 GB, free: 12.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.008657, allocations: 12.75 kB / 0.5587 GB, free: 12.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.00877, allocations: 44.73 kB / 0.5588 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.009136, allocations: 190 kB / 0.5589 GB, free: 12.05 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.009166, allocations: 20.75 kB / 0.559 GB, free: 12.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.836e-05/0.009215, allocations: 20.38 kB / 0.559 GB, free: 12.01 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00074/0.009955, allocations: 328.6 kB / 0.5593 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.009964, allocations: 192 / 0.5593 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.009997, allocations: 12.11 kB / 0.5593 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.01, allocations: 8 kB / 0.5593 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007249/0.01073, allocations: 187.8 kB / 0.5595 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001166/0.0119, allocations: 0.4997 MB / 0.56 GB, free: 10.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/0.0128, allocations: 216.2 kB / 0.5602 GB, free: 10.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.01314, allocations: 80.78 kB / 0.5603 GB, free: 10.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.01317, allocations: 8 kB / 0.5603 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005428/0.01371, allocations: 195.1 kB / 0.5605 GB, free: 10.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 1.463e-06/0.01371, allocations: 0 / 0.5605 GB, free: 10.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.001251/0.01496, allocations: 333.2 kB / 0.5608 GB, free: 10.09 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/0.01506, allocations: 110.8 kB / 0.5609 GB, free: 9.953 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.0153, allocations: 206.5 kB / 0.5611 GB, free: 9.742 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.112e-05/0.01535, allocations: 41.64 kB / 0.5611 GB, free: 9.695 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001443/0.0155, allocations: 152.4 kB / 0.5613 GB, free: 9.539 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.548e-05/0.01555, allocations: 51.58 kB / 0.5613 GB, free: 9.488 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.01568, allocations: 65.69 kB / 0.5614 GB, free: 9.418 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.01589, allocations: 338.8 kB / 0.5617 GB, free: 9.078 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.01636, allocations: 189.3 kB / 0.5619 GB, free: 8.871 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005785/0.01694, allocations: 319.7 kB / 0.5622 GB, free: 8.504 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.01775, allocations: 315.7 kB / 0.5625 GB, free: 8.156 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.01776, allocations: 0 / 0.5625 GB, free: 8.156 MB / 490.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001165/0.01892, allocations: 0.5103 MB / 0.563 GB, free: 7.605 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/0.01901, allocations: 89.09 kB / 0.5631 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.01901, allocations: 0 / 0.5631 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.01903, allocations: 4 kB / 0.5631 GB, free: 7.496 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.01929, allocations: 47.89 kB / 0.5631 GB, free: 7.449 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.0193, allocations: 4 kB / 0.5631 GB, free: 7.445 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003612/0.01966, allocations: 71.78 kB / 0.5632 GB, free: 7.375 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.01971, allocations: 15.94 kB / 0.5632 GB, free: 7.359 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.0001771/0.01988, allocations: 139.8 kB / 0.5633 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.079e-05/0.01994, allocations: 27.89 kB / 0.5634 GB, free: 7.188 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008935/0.02084, allocations: 270.1 kB / 0.5636 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.02084, allocations: 0 / 0.5636 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.02084, allocations: 0 / 0.5636 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.02085, allocations: 0 / 0.5636 GB, free: 6.918 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.02196, allocations: 0.4939 MB / 0.5641 GB, free: 6.387 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.02196, allocations: 3.938 kB / 0.5641 GB, free: 6.383 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.02214, allocations: 35.95 kB / 0.5641 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.02214, allocations: 0 / 0.5641 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.361e-05/0.02217, allocations: 8 kB / 0.5642 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.02217, allocations: 0 / 0.5642 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.02217, allocations: 0 / 0.5642 GB, free: 6.34 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000894/0.02307, allocations: 355.1 kB / 0.5645 GB, free: 5.977 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.0231, allocations: 15.86 kB / 0.5645 GB, free: 5.961 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.02315, allocations: 11.94 kB / 0.5645 GB, free: 5.949 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003188/0.02346, allocations: 43.94 kB / 0.5646 GB, free: 5.906 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003431/0.02381, allocations: 51.8 kB / 0.5646 GB, free: 5.855 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.02383, allocations: 8 kB / 0.5646 GB, free: 5.848 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001459/0.02398, allocations: 136.5 kB / 0.5647 GB, free: 5.715 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02398, allocations: 4 kB / 0.5648 GB, free: 5.711 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003374/0.02432, allocations: 59.89 kB / 0.5648 GB, free: 5.652 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.000161/0.02448, allocations: 121.4 kB / 0.5649 GB, free: 5.531 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.02559, allocations: 495.2 kB / 0.5654 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.02559, allocations: 0 / 0.5654 GB, free: 4.992 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.026, allocations: 107.8 kB / 0.5655 GB, free: 4.887 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.0264, allocations: 36.97 kB / 0.5655 GB, free: 4.852 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009425/0.02734, allocations: 372.3 kB / 0.5659 GB, free: 4.461 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001547/0.0275, allocations: 125.2 kB / 0.566 GB, free: 4.32 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.0276, allocations: 21.64 kB / 0.566 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.02771, allocations: 24.48 kB / 0.5661 GB, free: 4.277 MB / 490.7 MB Notification: Performance of SimCode: time 7.91e-07/0.02771, allocations: 4 kB / 0.5661 GB, free: 4.273 MB / 490.7 MB Notification: Performance of Templates: time 0.008036/0.03574, allocations: 3.415 MB / 0.5694 GB, free: 0.9336 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=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.534582010935992]