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.001194/0.001194, allocations: 115.7 kB / 19.64 MB, free: 2.312 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.00125/0.00125, allocations: 196.4 kB / 22.93 MB, free: 5.875 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.334/1.334, allocations: 225.6 MB / 251.7 MB, free: 13.29 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.7667/0.7667, allocations: 129.2 MB / 436 MB, free: 5.742 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.001788/0.001788, allocations: 69.17 kB / 0.6041 GB, free: 20.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.131, allocations: 83.44 MB / 0.6856 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003268/0.1343, allocations: 2.054 MB / 0.6876 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009712/0.1353, allocations: 0.5882 MB / 0.6882 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.1354, allocations: 4 kB / 0.6882 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.1355, allocations: 27.67 kB / 0.6882 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001322/0.1356, allocations: 43.59 kB / 0.6883 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.1359, allocations: 99.86 kB / 0.6883 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003255/0.1362, allocations: 275.4 kB / 0.6886 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002191/0.1364, allocations: 103.3 kB / 0.6887 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1366, allocations: 115.6 kB / 0.6888 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.1367, allocations: 127.4 kB / 0.6889 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.1368, allocations: 28 kB / 0.689 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 4.887e-05/0.1368, allocations: 32 kB / 0.689 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.542e-05/0.1369, allocations: 67.75 kB / 0.6891 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.137, allocations: 123.4 kB / 0.6892 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003423/0.1374, allocations: 298.8 kB / 0.6895 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.1374, allocations: 0 / 0.6895 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1374, allocations: 0 / 0.6895 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.066e-05/0.1374, allocations: 0 / 0.6895 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001245/0.1386, allocations: 0.6642 MB / 0.6901 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1386, allocations: 15.97 kB / 0.6901 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.552e-05/0.1387, allocations: 32.75 kB / 0.6902 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.1391, allocations: 261.4 kB / 0.6904 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.181e-05/0.1391, allocations: 28.55 kB / 0.6904 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.723e-05/0.1391, allocations: 16 kB / 0.6905 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006602/0.1398, allocations: 291.4 kB / 0.6907 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.1398, allocations: 0 / 0.6907 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.1398, allocations: 4 kB / 0.6907 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1398, allocations: 8 kB / 0.6907 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006887/0.1405, allocations: 201.6 kB / 0.6909 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001172/0.1417, allocations: 0.6504 MB / 0.6916 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006728/0.1424, allocations: 190.4 kB / 0.6918 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.1427, allocations: 91.44 kB / 0.6918 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.1427, allocations: 3.938 kB / 0.6918 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004765/0.1432, allocations: 205 kB / 0.692 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=19): time 1.513e-06/0.1432, allocations: 0 / 0.692 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.00109/0.1443, allocations: 333.3 kB / 0.6924 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.153e-05/0.1443, allocations: 136.5 kB / 0.6925 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002119/0.1446, allocations: 222.9 kB / 0.6927 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.365e-05/0.1446, allocations: 45.69 kB / 0.6927 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.1447, allocations: 152.4 kB / 0.6929 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.626e-05/0.1448, allocations: 47.67 kB / 0.6929 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.1449, allocations: 77.86 kB / 0.693 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.145, allocations: 334.8 kB / 0.6933 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003718/0.1454, allocations: 112.2 kB / 0.6934 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004683/0.1459, allocations: 192.7 kB / 0.6936 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006953/0.1466, allocations: 299.5 kB / 0.6939 GB, free: 8.438 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1466, allocations: 3.938 kB / 0.6939 GB, free: 8.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009552/0.1475, allocations: 440.2 kB / 0.6943 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.21e-05/0.1476, allocations: 91.75 kB / 0.6944 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.1476, allocations: 4 kB / 0.6944 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1476, allocations: 0 / 0.6944 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.1478, allocations: 48.11 kB / 0.6945 GB, free: 7.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.1478, allocations: 7.938 kB / 0.6945 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.1482, allocations: 63.77 kB / 0.6945 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.1482, allocations: 12 kB / 0.6945 GB, free: 7.742 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.0001454/0.1483, allocations: 151.7 kB / 0.6947 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.63e-05/0.1484, allocations: 27.8 kB / 0.6947 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.675e-05/0.1485, allocations: 29.86 kB / 0.6947 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1485, allocations: 0 / 0.6947 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1485, allocations: 3.938 kB / 0.6947 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1485, allocations: 4 kB / 0.6948 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.1496, allocations: 0.6133 MB / 0.6953 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1496, allocations: 0 / 0.6953 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.1497, allocations: 31.89 kB / 0.6954 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1497, allocations: 4.031 kB / 0.6954 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.028e-05/0.1498, allocations: 8 kB / 0.6954 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1498, allocations: 3.984 kB / 0.6954 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.1498, allocations: 0 / 0.6954 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/0.1505, allocations: 348.7 kB / 0.6957 GB, free: 6.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.1506, allocations: 100.9 kB / 0.6958 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.416e-05/0.1506, allocations: 8 kB / 0.6958 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003255/0.151, allocations: 47.94 kB / 0.6959 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001238/0.1511, allocations: 55.92 kB / 0.6959 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.1511, allocations: 19.92 kB / 0.6959 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001417/0.1512, allocations: 144.4 kB / 0.6961 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.1512, allocations: 0 / 0.6961 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002915/0.1515, allocations: 59.89 kB / 0.6961 GB, free: 6.016 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.0001352/0.1517, allocations: 111.2 kB / 0.6963 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008818/0.1526, allocations: 426.3 kB / 0.6967 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1526, allocations: 0 / 0.6967 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003604/0.1529, allocations: 112.2 kB / 0.6968 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1532, allocations: 35.91 kB / 0.6968 GB, free: 5.301 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007707/0.154, allocations: 379 kB / 0.6972 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.1544, allocations: 0.7439 MB / 0.6979 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.015e-05/0.1545, allocations: 21.95 kB / 0.6979 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.999e-05/0.1545, allocations: 31.42 kB / 0.6979 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.1545, allocations: 0 / 0.6979 GB, free: 4.078 MB / 0.5137 GB Notification: Performance of Templates: time 0.007106/0.1616, allocations: 3.609 MB / 0.7015 GB, free: 0.5 MB / 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.956876929849386] Failed to read output from testmodel.py, exit status != 0: 0.16860213736072183 0.182584602 0.042416292 Calling exit ...