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.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.001319/0.001319, allocations: 72.38 kB / 20.51 MB, free: 1.27 MB / 14.72 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.001405/0.001405, allocations: 165.7 kB / 23.76 MB, free: 4.465 MB / 14.72 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.495/1.495, allocations: 177.2 MB / 204.1 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9176/0.9176, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 68.17 kB / 0.5551 GB, free: 2.82 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1709, allocations: 89.15 MB / 0.6421 GB, free: 9.633 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.003546/0.1744, allocations: 2.023 MB / 0.6441 GB, free: 7.602 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.1757, allocations: 0.5884 MB / 0.6447 GB, free: 7.012 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1758, allocations: 8 kB / 0.6447 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.1759, allocations: 31.59 kB / 0.6447 GB, free: 6.973 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.176, allocations: 43.59 kB / 0.6448 GB, free: 6.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1763, allocations: 103.9 kB / 0.6449 GB, free: 6.828 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003569/0.1766, allocations: 307.2 kB / 0.6452 GB, free: 6.527 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002485/0.1769, allocations: 96.45 kB / 0.6453 GB, free: 6.426 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.1771, allocations: 131.5 kB / 0.6454 GB, free: 6.297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1773, allocations: 127.4 kB / 0.6455 GB, free: 6.172 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.984e-05/0.1773, allocations: 28 kB / 0.6455 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.058e-05/0.1774, allocations: 35.94 kB / 0.6456 GB, free: 6.109 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.1774, allocations: 67.81 kB / 0.6456 GB, free: 6.043 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001357/0.1776, allocations: 115.4 kB / 0.6457 GB, free: 5.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003985/0.178, allocations: 326.7 kB / 0.646 GB, free: 5.609 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.178, allocations: 0 / 0.646 GB, free: 5.609 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.543e-06/0.178, allocations: 0 / 0.646 GB, free: 5.609 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.178, allocations: 0 / 0.646 GB, free: 5.609 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001342/0.1793, allocations: 0.6267 MB / 0.6467 GB, free: 4.938 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1794, allocations: 12.03 kB / 0.6467 GB, free: 4.926 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.098e-05/0.1795, allocations: 32.75 kB / 0.6467 GB, free: 4.895 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.1799, allocations: 214.7 kB / 0.6469 GB, free: 4.656 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.1799, allocations: 20.62 kB / 0.6469 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.544e-05/0.1799, allocations: 28 kB / 0.647 GB, free: 4.609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/0.1807, allocations: 416 kB / 0.6474 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1807, allocations: 0 / 0.6474 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.1808, allocations: 8 kB / 0.6474 GB, free: 4.152 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1808, allocations: 8 kB / 0.6474 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007366/0.1815, allocations: 217.8 kB / 0.6476 GB, free: 3.934 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.1827, allocations: 0.5371 MB / 0.6481 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007262/0.1834, allocations: 210.4 kB / 0.6483 GB, free: 3.148 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003309/0.1838, allocations: 88.72 kB / 0.6484 GB, free: 3.059 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.1838, allocations: 4 kB / 0.6484 GB, free: 3.055 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/0.1843, allocations: 207.1 kB / 0.6486 GB, free: 2.84 MB / 0.545 GB Notification: Performance of pre-optimization done (n=21): time 1.904e-06/0.1843, allocations: 4 kB / 0.6486 GB, free: 2.836 MB / 0.545 GB Notification: Performance of matching and sorting (n=21): time 0.001173/0.1855, allocations: 346.4 kB / 0.6489 GB, free: 2.492 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.619e-05/0.1856, allocations: 144.4 kB / 0.6491 GB, free: 2.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002361/0.1858, allocations: 227.1 kB / 0.6493 GB, free: 2.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.1859, allocations: 41.69 kB / 0.6493 GB, free: 2.043 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.186, allocations: 160.8 kB / 0.6495 GB, free: 1.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.796e-05/0.1861, allocations: 67.5 kB / 0.6495 GB, free: 1.816 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/0.1862, allocations: 73.69 kB / 0.6496 GB, free: 1.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.1864, allocations: 334.8 kB / 0.6499 GB, free: 1.402 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.1868, allocations: 205.3 kB / 0.6501 GB, free: 1.18 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.1874, allocations: 358.9 kB / 0.6505 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.1881, allocations: 323.1 kB / 0.6508 GB, free: 420 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1881, allocations: 3.938 kB / 0.6508 GB, free: 416 kB / 0.545 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001081/0.1892, allocations: 0.5178 MB / 0.6513 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.755e-05/0.1893, allocations: 93.09 kB / 0.6514 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1893, allocations: 0 / 0.6514 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1893, allocations: 4 kB / 0.6514 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.1896, allocations: 51.83 kB / 0.6514 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1896, allocations: 4 kB / 0.6514 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003843/0.19, allocations: 71.84 kB / 0.6515 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.19, allocations: 19.98 kB / 0.6515 GB, free: 15.59 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 (minFloRatSaf.disErr.y,$PRE.minFloRatSaf.disErr.y,ySetOn.y,$PRE.ySetOn.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.canOpe,minFloRatSaf.errAndSetOn.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 (36): * Single equations (assignments): 33 * 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.0001733/0.1902, allocations: 148.4 kB / 0.6517 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.264e-05/0.1902, allocations: 19.86 kB / 0.6517 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.1903, allocations: 29.95 kB / 0.6517 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1903, allocations: 8 kB / 0.6517 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1903, allocations: 0 / 0.6517 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1903, allocations: 7.875 kB / 0.6517 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.1914, allocations: 0.542 MB / 0.6522 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1914, allocations: 0 / 0.6522 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.1916, allocations: 27.97 kB / 0.6523 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.1916, allocations: 4 kB / 0.6523 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.1916, allocations: 7.984 kB / 0.6523 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.1916, allocations: 3.984 kB / 0.6523 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1916, allocations: 3.938 kB / 0.6523 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/0.1925, allocations: 370 kB / 0.6526 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.1925, allocations: 27.83 kB / 0.6527 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.1926, allocations: 15.98 kB / 0.6527 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.1929, allocations: 43.94 kB / 0.6527 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.193, allocations: 63.84 kB / 0.6528 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.772e-05/0.1931, allocations: 11.98 kB / 0.6528 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001406/0.1932, allocations: 148.7 kB / 0.6529 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1932, allocations: 0 / 0.6529 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003303/0.1935, allocations: 71.88 kB / 0.653 GB, free: 14 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (minFloRatSaf.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,minFloRatSaf.disErr.y,minFloRatSaf.canOpe,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,ySetOn.y) * Number of discrete states: 8 (mEvaEmu_flow.count,mConEmu_flow.count,ySetPul.count,minFloRatSaf.hysEva.y,minFloRatSaf.hysCon.y,ySetOn.y,hys.y,minFloRatSaf.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * 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.0001445/0.1937, allocations: 107.2 kB / 0.6531 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001072/0.1948, allocations: 0.5071 MB / 0.6536 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1948, allocations: 0 / 0.6536 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003969/0.1952, allocations: 111.9 kB / 0.6537 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003884/0.1955, allocations: 38.33 kB / 0.6537 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009454/0.1965, allocations: 407.1 kB / 0.6541 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.1966, allocations: 138.1 kB / 0.6543 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.1967, allocations: 21.95 kB / 0.6543 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.1968, allocations: 36.41 kB / 0.6543 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.1968, allocations: 4 kB / 0.6543 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.008488/0.2053, allocations: 4.022 MB / 0.6583 GB, free: 8.578 MB / 0.5606 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 ida -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.596331540029496] Failed to read output from testmodel.py, exit status != 0: 0.21408268297091126 0.22869741200000002 0.047578390000000005 Calling exit ...