Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.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.001328/0.001328, 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.001343/0.001343, 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.376/1.376, allocations: 225.6 MB / 251.7 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] 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.8156/0.8156, allocations: 129.2 MB / 436 MB, free: 5.695 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.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 72.84 kB / 0.6041 GB, free: 20.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1429, 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.MinimalFlowRate): time 0.003402/0.1463, allocations: 2.051 MB / 0.6876 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009785/0.1472, allocations: 0.5882 MB / 0.6882 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.338e-05/0.1473, allocations: 7.938 kB / 0.6882 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.1474, allocations: 19.73 kB / 0.6882 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1476, allocations: 43.58 kB / 0.6883 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.1478, allocations: 99.88 kB / 0.6883 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003471/0.1482, allocations: 287.3 kB / 0.6886 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002234/0.1484, allocations: 91.42 kB / 0.6887 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1485, allocations: 123.5 kB / 0.6888 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1487, allocations: 131.4 kB / 0.689 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.461e-05/0.1488, allocations: 32 kB / 0.689 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.014e-05/0.1488, allocations: 28 kB / 0.689 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.269e-05/0.1489, allocations: 55.83 kB / 0.6891 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.149, allocations: 127.3 kB / 0.6892 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003354/0.1493, allocations: 298.8 kB / 0.6895 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1493, allocations: 4 kB / 0.6895 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1493, allocations: 0 / 0.6895 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.1493, allocations: 4 kB / 0.6895 GB, free: 13.29 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.00125/0.1506, allocations: 0.6564 MB / 0.6901 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.1506, allocations: 8.031 kB / 0.6901 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.1507, allocations: 36.75 kB / 0.6902 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.151, allocations: 269.3 kB / 0.6904 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.1511, allocations: 24.56 kB / 0.6904 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.108e-05/0.1511, allocations: 24 kB / 0.6905 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006382/0.1518, allocations: 279.5 kB / 0.6907 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1518, allocations: 0 / 0.6907 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.842e-05/0.1518, allocations: 12 kB / 0.6907 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1518, allocations: 4 kB / 0.6907 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007254/0.1525, allocations: 205.5 kB / 0.6909 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.1537, allocations: 0.6426 MB / 0.6916 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006783/0.1544, allocations: 190.4 kB / 0.6918 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003168/0.1547, allocations: 88.72 kB / 0.6918 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.1547, allocations: 0 / 0.6918 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.1552, allocations: 205.3 kB / 0.692 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.1552, allocations: 3.938 kB / 0.692 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001107/0.1563, allocations: 337.2 kB / 0.6924 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/0.1564, allocations: 136.5 kB / 0.6925 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002123/0.1566, allocations: 226.9 kB / 0.6927 GB, free: 9.738 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.1566, allocations: 37.7 kB / 0.6927 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.1568, allocations: 156.4 kB / 0.6929 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.1568, allocations: 43.69 kB / 0.6929 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001215/0.1569, allocations: 77.92 kB / 0.693 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1571, allocations: 330.8 kB / 0.6933 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003798/0.1575, allocations: 116.2 kB / 0.6934 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/0.1579, allocations: 196.7 kB / 0.6936 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007194/0.1586, allocations: 299.5 kB / 0.6939 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1586, allocations: 0 / 0.6939 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009516/0.1596, allocations: 440.2 kB / 0.6943 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.08e-05/0.1596, allocations: 93.09 kB / 0.6944 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.1596, allocations: 0 / 0.6944 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1597, allocations: 4 kB / 0.6944 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002482/0.1599, allocations: 43.89 kB / 0.6945 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.1599, allocations: 4 kB / 0.6945 GB, free: 7.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003528/0.1603, allocations: 63.92 kB / 0.6945 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.612e-05/0.1603, allocations: 16 kB / 0.6945 GB, free: 7.73 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: 28 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,mEvaEmu_flow.count,$PRE.mEvaEmu_flow.count,mEvaEmu_flow.T_start,$PRE.mEvaEmu_flow.T_start,mConEmu_flow.count,$PRE.mConEmu_flow.count,mConEmu_flow.T_start,$PRE.mConEmu_flow.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,minFloRatSaf.hysEva.y,$PRE.minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,$PRE.minFloRatSaf.hysCon.y,minFloRatSaf.booPasThr.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,minFloRatSaf.intConOne.y,minFloRatSaf.disErr.local_set,minFloRatSaf.disErr.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * 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.0001485/0.1604, allocations: 147.7 kB / 0.6947 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.565e-05/0.1605, allocations: 31.78 kB / 0.6947 GB, free: 7.551 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.447e-05/0.1605, allocations: 25.88 kB / 0.6947 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1606, allocations: 8 kB / 0.6947 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.1606, allocations: 4 kB / 0.6947 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1606, allocations: 3.984 kB / 0.6947 GB, free: 7.516 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1617, allocations: 0.61 MB / 0.6953 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1617, allocations: 0 / 0.6953 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001566/0.1618, allocations: 27.97 kB / 0.6954 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1618, allocations: 4 kB / 0.6954 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1619, allocations: 7.984 kB / 0.6954 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1619, allocations: 3.938 kB / 0.6954 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1619, allocations: 0 / 0.6954 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007758/0.1626, allocations: 351.1 kB / 0.6957 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.1627, allocations: 100.9 kB / 0.6958 GB, free: 6.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.1628, allocations: 12 kB / 0.6958 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003349/0.1631, allocations: 47.86 kB / 0.6959 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.1632, allocations: 55.94 kB / 0.6959 GB, free: 6.219 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.1633, allocations: 11.98 kB / 0.6959 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001516/0.1634, allocations: 144.4 kB / 0.6961 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1634, allocations: 4 kB / 0.6961 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003334/0.1637, allocations: 55.89 kB / 0.6961 GB, free: 6.008 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: 15 (minFloRatSaf.booPasThr.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.hysCon.y,minFloRatSaf.hysEva.y,ySetPul.T_start,ySetPul.count,mConEmu_flow.T_start,mConEmu_flow.count,mEvaEmu_flow.T_start,mEvaEmu_flow.count) * Number of discrete states: 7 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * 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.0001958/0.1639, allocations: 127.2 kB / 0.6963 GB, free: 5.875 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009896/0.1649, allocations: 416.7 kB / 0.6967 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1649, allocations: 0 / 0.6967 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.1653, allocations: 115.8 kB / 0.6968 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1657, allocations: 36.22 kB / 0.6968 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008805/0.1666, allocations: 387.6 kB / 0.6972 GB, free: 4.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1669, allocations: 0.7439 MB / 0.6979 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.353e-05/0.167, allocations: 21.95 kB / 0.6979 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.976e-05/0.1671, allocations: 27.42 kB / 0.6979 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of SimCode: time 2.91e-07/0.1671, allocations: 0 / 0.6979 GB, free: 4.059 MB / 0.5137 GB Notification: Performance of Templates: time 0.007298/0.1744, allocations: 3.61 MB / 0.7015 GB, free: 488 kB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.320045103784651] Failed to read output from testmodel.py, exit status != 0: 0.1818247539922595 0.19593466499999995 0.043703165 Calling exit ...