Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.00144/0.00144, allocations: 111.9 kB / 19.64 MB, free: 2.152 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.001526/0.001526, allocations: 202.5 kB / 22.92 MB, free: 5.07 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.339/1.339, allocations: 225.6 MB / 251.7 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7835/0.7835, allocations: 129.2 MB / 436 MB, free: 5.723 MB / 334.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 69.52 kB / 0.6041 GB, free: 20.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.134, allocations: 83.44 MB / 0.6856 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003339/0.1373, allocations: 2.107 MB / 0.6877 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009503/0.1383, allocations: 0.5844 MB / 0.6882 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.647e-05/0.1383, allocations: 4 kB / 0.6882 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1385, allocations: 23.67 kB / 0.6883 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.786e-05/0.1385, allocations: 39.66 kB / 0.6883 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1388, allocations: 87.88 kB / 0.6884 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003118/0.1391, allocations: 267.3 kB / 0.6886 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001954/0.1393, allocations: 86.88 kB / 0.6887 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001457/0.1395, allocations: 111.6 kB / 0.6888 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.1396, allocations: 123.4 kB / 0.6889 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.1397, allocations: 28 kB / 0.689 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.188e-05/0.1397, allocations: 24 kB / 0.689 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.845e-05/0.1398, allocations: 55.83 kB / 0.689 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001135/0.1399, allocations: 115.4 kB / 0.6892 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003298/0.1402, allocations: 278.8 kB / 0.6894 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1402, allocations: 0 / 0.6894 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1402, allocations: 0 / 0.6894 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.1402, allocations: 4 kB / 0.6894 GB, free: 13.35 MB / 0.5137 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.00121/0.1414, allocations: 0.6446 MB / 0.6901 GB, free: 12.63 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1415, allocations: 12.03 kB / 0.6901 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.1415, allocations: 24.8 kB / 0.6901 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.1418, allocations: 248.5 kB / 0.6903 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.1419, allocations: 20.5 kB / 0.6903 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.023e-05/0.1419, allocations: 23.98 kB / 0.6904 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000615/0.1425, allocations: 274.1 kB / 0.6906 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.1425, allocations: 0 / 0.6906 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1426, allocations: 8 kB / 0.6906 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.1426, allocations: 4 kB / 0.6906 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006801/0.1432, allocations: 195.8 kB / 0.6908 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/0.1444, allocations: 0.6248 MB / 0.6914 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008307/0.1452, allocations: 210.5 kB / 0.6916 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00033/0.1455, allocations: 88.72 kB / 0.6917 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.1455, allocations: 0 / 0.6917 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004751/0.146, allocations: 197.8 kB / 0.6919 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.146, allocations: 0 / 0.6919 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001097/0.1471, allocations: 321.2 kB / 0.6922 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.823e-05/0.1472, allocations: 114.8 kB / 0.6923 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.1474, allocations: 218.8 kB / 0.6925 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.1474, allocations: 37.7 kB / 0.6926 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.1476, allocations: 148.4 kB / 0.6927 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.1476, allocations: 55.61 kB / 0.6928 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/0.1477, allocations: 61.66 kB / 0.6928 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1479, allocations: 334.8 kB / 0.6931 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.1482, allocations: 112.2 kB / 0.6933 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004031/0.1486, allocations: 175.2 kB / 0.6934 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000725/0.1494, allocations: 307 kB / 0.6937 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1494, allocations: 0 / 0.6937 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009175/0.1503, allocations: 428.1 kB / 0.6941 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.748e-05/0.1503, allocations: 89.05 kB / 0.6942 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1504, allocations: 3.984 kB / 0.6942 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1504, allocations: 4 kB / 0.6942 GB, free: 8.082 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.1506, allocations: 51.91 kB / 0.6943 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1506, allocations: 0 / 0.6943 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.1509, allocations: 59.78 kB / 0.6943 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.151, allocations: 16.06 kB / 0.6943 GB, free: 7.957 MB / 0.5137 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.0001407/0.1511, allocations: 148 kB / 0.6945 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.1511, allocations: 19.84 kB / 0.6945 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007753/0.1519, allocations: 273.2 kB / 0.6948 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.1519, allocations: 0 / 0.6948 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1519, allocations: 0 / 0.6948 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1519, allocations: 0 / 0.6948 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1529, allocations: 0.5802 MB / 0.6953 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1529, allocations: 3.938 kB / 0.6953 GB, free: 6.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.1531, allocations: 31.95 kB / 0.6954 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1531, allocations: 0 / 0.6954 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.1532, allocations: 0 / 0.6954 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1532, allocations: 4 kB / 0.6954 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1532, allocations: 0 / 0.6954 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.1539, allocations: 353.3 kB / 0.6957 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.154, allocations: 89.02 kB / 0.6958 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.515e-05/0.154, allocations: 11.98 kB / 0.6958 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002916/0.1543, allocations: 39.89 kB / 0.6958 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.1544, allocations: 51.88 kB / 0.6959 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.1544, allocations: 11.98 kB / 0.6959 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001259/0.1546, allocations: 140.5 kB / 0.696 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1546, allocations: 0 / 0.696 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002896/0.1549, allocations: 59.89 kB / 0.6961 GB, free: 6.062 MB / 0.5137 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.0001352/0.155, allocations: 107.2 kB / 0.6962 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008929/0.1559, allocations: 409.8 kB / 0.6966 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1559, allocations: 0 / 0.6966 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.1563, allocations: 108.2 kB / 0.6967 GB, free: 5.406 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1566, allocations: 35.91 kB / 0.6967 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007746/0.1574, allocations: 370 kB / 0.6971 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.1577, allocations: 0.7359 MB / 0.6978 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.522e-05/0.1578, allocations: 21.55 kB / 0.6978 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.1579, allocations: 23.44 kB / 0.6978 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1579, allocations: 0 / 0.6978 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of Templates: time 0.006579/0.1645, allocations: 3.238 MB / 0.701 GB, free: 0.9609 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.972092405892909] Failed to read output from testmodel.py, exit status != 0: 0.1710371319204569 0.184826036 0.041828601 Calling exit ...