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.001137/0.001137, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001665/0.002802, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001082/0.001082, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001374/0.002456, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9835/0.9835, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09191/1.075, allocations: 53.66 MB / 243.2 MB, free: 15.57 MB / 250.7 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.7237/0.7237, allocations: 119.1 MB / 363.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07039/0.7941, allocations: 37.86 MB / 400.9 MB, free: 13.73 MB / 394.7 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.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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 402.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.091e-05, allocations: 6.312 kB / 402.3 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate): time 0.002513/0.002534, allocations: 2.129 MB / 404.4 MB, free: 10.21 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008147/0.003348, allocations: 0.6349 MB / 405.1 MB, free: 9.578 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.396e-05/0.003442, allocations: 7.938 kB / 405.1 MB, free: 9.57 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 6.729e-05/0.00351, allocations: 23.67 kB / 405.1 MB, free: 9.547 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.303e-05/0.003593, allocations: 47.53 kB / 405.1 MB, free: 9.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001693/0.003762, allocations: 107.8 kB / 405.2 MB, free: 9.395 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002481/0.00401, allocations: 311.2 kB / 405.5 MB, free: 9.09 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.004183, allocations: 95.08 kB / 405.6 MB, free: 9 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.004391, allocations: 212.4 kB / 405.8 MB, free: 8.789 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.004499, allocations: 103.7 kB / 405.9 MB, free: 8.688 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.004544, allocations: 32 kB / 406 MB, free: 8.656 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.18e-05/0.004576, allocations: 28 kB / 406 MB, free: 8.629 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.004623, allocations: 43.88 kB / 406 MB, free: 8.586 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.592e-05/0.004689, allocations: 71.81 kB / 406.1 MB, free: 8.516 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.004882, allocations: 183.3 kB / 406.3 MB, free: 8.336 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.004894, allocations: 7.938 kB / 406.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.004895, allocations: 0 / 406.3 MB, free: 8.328 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.004908, allocations: 3.984 kB / 406.3 MB, free: 8.324 MB / 394.7 MB 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.0006927/0.0056, allocations: 0.6264 MB / 406.9 MB, free: 7.656 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.953e-05/0.00563, allocations: 8.031 kB / 406.9 MB, free: 7.648 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.72e-05/0.005687, allocations: 48.89 kB / 407 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.005874, allocations: 185.1 kB / 407.2 MB, free: 7.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.069e-05/0.005895, allocations: 24.86 kB / 407.2 MB, free: 7.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.00592, allocations: 24.38 kB / 407.2 MB, free: 7.348 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.006199, allocations: 322.3 kB / 407.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.006206, allocations: 0 / 407.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.721e-05/0.006224, allocations: 15.94 kB / 407.5 MB, free: 6.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.006229, allocations: 4 kB / 407.6 MB, free: 6.973 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.726e-05/0.006306, allocations: 51.47 kB / 407.6 MB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.006819, allocations: 402 kB / 408 MB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001118/0.00693, allocations: 86.42 kB / 408.1 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.305e-05/0.006964, allocations: 24.84 kB / 408.1 MB, free: 6.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.006975, allocations: 4 kB / 408.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.007126, allocations: 139.1 kB / 408.2 MB, free: 6.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.007127, allocations: 4 kB / 408.2 MB, free: 6.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0001665/0.007294, allocations: 137.5 kB / 408.4 MB, free: 6.098 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.007323, allocations: 59.41 kB / 408.4 MB, free: 6.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.00743, allocations: 222.3 kB / 408.7 MB, free: 5.797 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/0.007459, allocations: 37.7 kB / 408.7 MB, free: 5.754 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.312e-05/0.007522, allocations: 152.7 kB / 408.8 MB, free: 5.602 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.007554, allocations: 55.61 kB / 408.9 MB, free: 5.547 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-05/0.007623, allocations: 73.59 kB / 409 MB, free: 5.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.007698, allocations: 342.7 kB / 409.3 MB, free: 5.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.324e-05/0.007771, allocations: 117.4 kB / 409.4 MB, free: 4.988 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.007886, allocations: 266.5 kB / 409.7 MB, free: 4.664 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001224/0.008009, allocations: 203.2 kB / 409.9 MB, free: 4.426 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.008011, allocations: 0 / 409.9 MB, free: 4.426 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002075/0.008218, allocations: 334.2 kB / 410.2 MB, free: 4.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.908e-05/0.008268, allocations: 97.03 kB / 410.3 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.008272, allocations: 160 / 410.3 MB, free: 3.945 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.785e-06/0.00828, allocations: 8 kB / 410.3 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.008399, allocations: 51.91 kB / 410.4 MB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.558e-06/0.008404, allocations: 4 kB / 410.4 MB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.008536, allocations: 59.73 kB / 410.4 MB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.008551, allocations: 15.98 kB / 410.4 MB, free: 3.809 MB / 394.7 MB 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,minFloRatSaf.disErr.local_reset,minFloRatSaf.disErr.local_set,minFloRatSaf.intConOne.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) * 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 7.905e-05/0.00863, allocations: 140.4 kB / 410.6 MB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/0.008654, allocations: 19.97 kB / 410.6 MB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.522e-05/0.008689, allocations: 29.91 kB / 410.6 MB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.008692, allocations: 4 kB / 410.6 MB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.008693, allocations: 0 / 410.6 MB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.008698, allocations: 3.984 kB / 410.6 MB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.008958, allocations: 322.8 kB / 410.9 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008959, allocations: 0 / 410.9 MB, free: 3.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.169e-05/0.00901, allocations: 19.98 kB / 411 MB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.546e-05/0.009026, allocations: 19.89 kB / 411 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.009029, allocations: 8 kB / 411 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.009042, allocations: 8 kB / 411 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009045, allocations: 7.922 kB / 411 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.009046, allocations: 0 / 411 MB, free: 3.199 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.009166, allocations: 208.9 kB / 411.2 MB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.563e-05/0.009192, allocations: 8 kB / 411.2 MB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.009298, allocations: 35.95 kB / 411.3 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.014e-05/0.009379, allocations: 55.91 kB / 411.3 MB, free: 2.883 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.009393, allocations: 3.984 kB / 411.3 MB, free: 2.879 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.956e-05/0.009432, allocations: 70.14 kB / 411.4 MB, free: 2.809 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.009432, allocations: 0 / 411.4 MB, free: 2.809 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001624/0.009595, allocations: 71.84 kB / 411.4 MB, free: 2.738 MB / 394.7 MB 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 7.146e-05/0.009666, allocations: 96.44 kB / 411.5 MB, free: 2.633 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.009905, allocations: 380.1 kB / 411.9 MB, free: 2.203 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.328e-06/0.009914, allocations: 7.984 kB / 411.9 MB, free: 2.195 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.009985, allocations: 61.2 kB / 412 MB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001771/0.01016, allocations: 60.67 kB / 412 MB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00062/0.01078, allocations: 401.4 kB / 412.4 MB, free: 1.656 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.215e-05/0.01082, allocations: 84.58 kB / 412.5 MB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.106e-05/0.0109, allocations: 17.95 kB / 412.5 MB, free: 1.539 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.01103, allocations: 111.3 kB / 412.6 MB, free: 1.43 MB / 394.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01103, allocations: 0 / 412.6 MB, free: 1.43 MB / 394.7 MB Notification: Performance of Templates: time 0.005255/0.01628, allocations: 4.244 MB / 416.9 MB, free: 13.18 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.MinimalFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3708938248455524]