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.001498/0.001498, allocations: 111 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.001295/0.001295, allocations: 201.6 kB / 22.93 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.333/1.333, allocations: 225.6 MB / 251.7 MB, free: 13.25 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.8111/0.8111, allocations: 129.2 MB / 436 MB, free: 5.73 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.001923/0.001923, allocations: 68.02 kB / 0.6041 GB, free: 20.69 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1408, allocations: 83.45 MB / 0.6856 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.003414/0.1442, allocations: 2.098 MB / 0.6877 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009708/0.1452, allocations: 0.5844 MB / 0.6882 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.1453, allocations: 4 kB / 0.6882 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.1454, allocations: 23.67 kB / 0.6883 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.096e-05/0.1455, allocations: 35.66 kB / 0.6883 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.1458, allocations: 91.88 kB / 0.6884 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.1461, allocations: 267.3 kB / 0.6886 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.1463, allocations: 86.88 kB / 0.6887 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.1464, allocations: 111.5 kB / 0.6888 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001547/0.1466, allocations: 123.4 kB / 0.6889 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.1466, allocations: 28 kB / 0.689 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.519e-05/0.1467, allocations: 28 kB / 0.689 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.1467, allocations: 55.83 kB / 0.689 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.1468, allocations: 111.4 kB / 0.6891 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.1472, allocations: 282.8 kB / 0.6894 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1472, allocations: 0 / 0.6894 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1472, allocations: 0 / 0.6894 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.1472, allocations: 0 / 0.6894 GB, free: 13.32 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.001211/0.1484, allocations: 0.6486 MB / 0.6901 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1484, allocations: 8.031 kB / 0.6901 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.1485, allocations: 28.8 kB / 0.6901 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003503/0.1488, allocations: 244.5 kB / 0.6903 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.1489, allocations: 24.5 kB / 0.6903 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.1489, allocations: 16 kB / 0.6904 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006281/0.1495, allocations: 278.1 kB / 0.6906 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.1496, allocations: 4 kB / 0.6906 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.1496, allocations: 11.98 kB / 0.6906 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1496, allocations: 4 kB / 0.6906 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006958/0.1503, allocations: 199.8 kB / 0.6908 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001137/0.1514, allocations: 0.6248 MB / 0.6914 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.1523, allocations: 206.5 kB / 0.6916 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003098/0.1526, allocations: 88.78 kB / 0.6917 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1526, allocations: 0 / 0.6917 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004803/0.1531, allocations: 193.6 kB / 0.6919 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.1531, allocations: 0 / 0.6919 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.001089/0.1542, allocations: 325.2 kB / 0.6922 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.918e-05/0.1542, allocations: 110.8 kB / 0.6923 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.1544, allocations: 214.8 kB / 0.6925 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.1545, allocations: 37.7 kB / 0.6926 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1546, allocations: 152.4 kB / 0.6927 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.926e-05/0.1547, allocations: 55.56 kB / 0.6928 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1548, allocations: 65.64 kB / 0.6928 GB, free: 9.578 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1549, allocations: 330.8 kB / 0.6931 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003702/0.1553, allocations: 116.2 kB / 0.6933 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004101/0.1557, allocations: 175.2 kB / 0.6934 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/0.1564, allocations: 307.7 kB / 0.6937 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1564, allocations: 0 / 0.6937 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009408/0.1573, allocations: 416.8 kB / 0.6941 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.938e-05/0.1574, allocations: 97.05 kB / 0.6942 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1574, allocations: 0 / 0.6942 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1574, allocations: 7.984 kB / 0.6942 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.1576, allocations: 39.91 kB / 0.6943 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1577, allocations: 4 kB / 0.6943 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.158, allocations: 63.78 kB / 0.6943 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.18e-05/0.158, allocations: 8 kB / 0.6943 GB, free: 7.934 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.0001583/0.1582, allocations: 152 kB / 0.6945 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.654e-05/0.1582, allocations: 23.83 kB / 0.6945 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/0.159, allocations: 269 kB / 0.6947 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.159, allocations: 0 / 0.6947 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.159, allocations: 0 / 0.6947 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.159, allocations: 0 / 0.6947 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.16, allocations: 0.5762 MB / 0.6953 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.16, allocations: 4 kB / 0.6953 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001655/0.1602, allocations: 35.91 kB / 0.6953 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1602, allocations: 3.984 kB / 0.6954 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.1602, allocations: 0 / 0.6954 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.427e-06/0.1602, allocations: 4 kB / 0.6954 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1602, allocations: 0 / 0.6954 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007651/0.161, allocations: 349.7 kB / 0.6957 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.161, allocations: 92.95 kB / 0.6958 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.1611, allocations: 15.98 kB / 0.6958 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003123/0.1614, allocations: 39.95 kB / 0.6958 GB, free: 6.285 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.1615, allocations: 47.94 kB / 0.6959 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.1615, allocations: 7.984 kB / 0.6959 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001231/0.1616, allocations: 148.4 kB / 0.696 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1616, allocations: 0 / 0.696 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003164/0.162, allocations: 51.89 kB / 0.6961 GB, free: 6.035 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.0001565/0.1621, allocations: 112.8 kB / 0.6962 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009219/0.163, allocations: 409.8 kB / 0.6966 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.163, allocations: 0 / 0.6966 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003662/0.1634, allocations: 104.2 kB / 0.6967 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003594/0.1638, allocations: 46.03 kB / 0.6967 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008183/0.1646, allocations: 371.8 kB / 0.6971 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.165, allocations: 0.7359 MB / 0.6978 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.567e-05/0.165, allocations: 21.55 kB / 0.6978 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.13e-05/0.1651, allocations: 19.44 kB / 0.6978 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1651, allocations: 4 kB / 0.6978 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of Templates: time 0.007041/0.1722, allocations: 3.237 MB / 0.701 GB, free: 0.9258 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.166553657036275] Failed to read output from testmodel.py, exit status != 0: 0.1794224320910871 0.193312528 0.043282266 Calling exit ...