Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.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.001105/0.001105, allocations: 80.88 kB / 20.8 MB, free: 3.66 MB / 18.57 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.001339/0.001339, allocations: 165.4 kB / 24.22 MB, free: 248 kB / 18.57 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.9752/0.9752, allocations: 177.1 MB / 204.7 MB, free: 5.449 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.481/2.481, allocations: 438.8 MB / 0.6835 GB, free: 13.52 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus") translateModel(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.8395 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.646e-05/1.863e-05, allocations: 6.25 kB / 0.8395 GB, free: 14.03 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.001998/0.002017, allocations: 1.632 MB / 0.8411 GB, free: 12.4 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002111/0.004128, allocations: 2.132 MB / 0.8432 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001621/0.00429, allocations: 43.56 kB / 0.8433 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.004806, allocations: 282.7 kB / 0.8435 GB, free: 9.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.004994, allocations: 175.2 kB / 0.8437 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.005786, allocations: 0.5726 MB / 0.8443 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0006643/0.00645, allocations: 1.072 MB / 0.8453 GB, free: 8.109 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.006675, allocations: 204 kB / 0.8455 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.007148, allocations: 0.5694 MB / 0.8461 GB, free: 7.332 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.007379, allocations: 287.3 kB / 0.8463 GB, free: 7.051 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 8.001e-05/0.007459, allocations: 56 kB / 0.8464 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002359/0.007694, allocations: 163.8 kB / 0.8465 GB, free: 6.836 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0002271/0.007922, allocations: 335.2 kB / 0.8469 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.008077, allocations: 227.4 kB / 0.8471 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.008767, allocations: 0.771 MB / 0.8478 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.008769, allocations: 0 / 0.8478 GB, free: 5.512 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00877, allocations: 4 kB / 0.8478 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.008776, allocations: 0 / 0.8478 GB, free: 5.508 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007965/0.009572, allocations: 0.8467 MB / 0.8487 GB, free: 4.629 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.009602, allocations: 12.03 kB / 0.8487 GB, free: 4.617 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002553/0.009857, allocations: 96.83 kB / 0.8488 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.01032, allocations: 481.5 kB / 0.8492 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.166e-05/0.01035, allocations: 37.03 kB / 0.8493 GB, free: 3.992 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.957e-05/0.01042, allocations: 60.3 kB / 0.8493 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.01069, allocations: 265.2 kB / 0.8496 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.0107, allocations: 192 / 0.8496 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.01072, allocations: 16.36 kB / 0.8496 GB, free: 3.633 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.01073, allocations: 8.375 kB / 0.8496 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001196/0.01085, allocations: 100.7 kB / 0.8497 GB, free: 3.527 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009492/0.01179, allocations: 0.9498 MB / 0.8506 GB, free: 2.543 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.012, allocations: 308.3 kB / 0.8509 GB, free: 2.207 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.01205, allocations: 46.56 kB / 0.851 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.01206, allocations: 0 / 0.851 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.01225, allocations: 228.6 kB / 0.8512 GB, free: 1.906 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.032e-06/0.01225, allocations: 0 / 0.8512 GB, free: 1.906 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0002928/0.01255, allocations: 236.7 kB / 0.8514 GB, free: 1.664 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.688e-05/0.0126, allocations: 140.5 kB / 0.8515 GB, free: 1.496 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.01289, allocations: 463 kB / 0.852 GB, free: 1.031 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.01294, allocations: 41.7 kB / 0.852 GB, free: 0.9844 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.01306, allocations: 214.8 kB / 0.8522 GB, free: 0.7695 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.01309, allocations: 59.59 kB / 0.8523 GB, free: 0.7109 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.01322, allocations: 145.8 kB / 0.8524 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/0.01331, allocations: 370.7 kB / 0.8528 GB, free: 196 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.934e-05/0.01336, allocations: 43.47 kB / 0.8528 GB, free: 152 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.01385, allocations: 1.316 MB / 0.8541 GB, free: 14.44 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.01416, allocations: 262.4 kB / 0.8543 GB, free: 14.12 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01416, allocations: 3.938 kB / 0.8543 GB, free: 14.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002973/0.01446, allocations: 260.5 kB / 0.8546 GB, free: 13.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.01448, allocations: 8 kB / 0.8546 GB, free: 13.85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.01449, allocations: 4 kB / 0.8546 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.01451, allocations: 4 kB / 0.8546 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.01476, allocations: 59.84 kB / 0.8547 GB, free: 13.78 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.01477, allocations: 8 kB / 0.8547 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005042/0.01528, allocations: 88.06 kB / 0.8548 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.01529, allocations: 16 kB / 0.8548 GB, free: 13.67 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 36 ($whenCondition8,$whenCondition7,u1PumHdr.intTimTab.idx,$PRE.u1PumHdr.intTimTab.idx,u1PumHdr.intTimTab.y[2],$PRE.u1PumHdr.intTimTab.y[2],u1PumHdr.intTimTab.y[1],$PRE.u1PumHdr.intTimTab.y[1],rouPumHdr.y1[2],rouPumHdr.y1[1],$whenCondition6,$whenCondition5,u1PumDedHp.intTimTab.idx,$PRE.u1PumDedHp.intTimTab.idx,u1PumDedHp.intTimTab.y[2],$PRE.u1PumDedHp.intTimTab.y[2],u1PumDedHp.intTimTab.y[1],$PRE.u1PumDedHp.intTimTab.y[1],rouPumDedHp.y1[2],rouPumDedHp.y1[1],$whenCondition2,$whenCondition1,u1PumDedPhpMix.intTimTab.idx,$PRE.u1PumDedPhpMix.intTimTab.idx,u1PumDedPhpMix.intTimTab.y[1],$PRE.u1PumDedPhpMix.intTimTab.y[1],rouPumDedHpPhp.y1[2],$whenCondition4,$whenCondition3,u1PumDedHpMix.intTimTab.idx,$PRE.u1PumDedHpMix.intTimTab.idx,u1PumDedHpMix.intTimTab.y[1],$PRE.u1PumDedHpMix.intTimTab.y[1],rouPumDedHpPhp.y1[1],rouPumDedHpPhp.pumPriDedHpPhp.con[1].y,rouPumDedHpPhp.pumPriDedHpPhp.con[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0001429/0.01543, allocations: 164.5 kB / 0.8549 GB, free: 13.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.01548, allocations: 39.91 kB / 0.855 GB, free: 13.46 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.01553, allocations: 48.09 kB / 0.855 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01553, allocations: 4 kB / 0.855 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.01553, allocations: 4 kB / 0.855 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01554, allocations: 7.984 kB / 0.855 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.01571, allocations: 205.7 kB / 0.8552 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.01572, allocations: 3.984 kB / 0.8552 GB, free: 13.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.23e-05/0.01573, allocations: 4 kB / 0.8552 GB, free: 13.17 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.01573, allocations: 7.938 kB / 0.8552 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-06/0.01574, allocations: 4.109 kB / 0.8552 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.01575, allocations: 8 kB / 0.8553 GB, free: 13.15 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01575, allocations: 0 / 0.8553 GB, free: 13.15 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.01594, allocations: 221.5 kB / 0.8555 GB, free: 12.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.01598, allocations: 59.53 kB / 0.8555 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.01601, allocations: 4 kB / 0.8555 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.01606, allocations: 8 kB / 0.8555 GB, free: 12.83 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.01611, allocations: 42.78 kB / 0.8556 GB, free: 12.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-05/0.01613, allocations: 12 kB / 0.8556 GB, free: 12.78 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001469/0.01628, allocations: 196.4 kB / 0.8558 GB, free: 12.59 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.01628, allocations: 0 / 0.8558 GB, free: 12.59 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002658/0.01654, allocations: 135.6 kB / 0.8559 GB, free: 12.45 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition8,$whenCondition7,rouPumHdr.y1[1],rouPumHdr.y1[2],u1PumHdr.intTimTab.y[1],u1PumHdr.intTimTab.y[2],u1PumHdr.intTimTab.idx,$whenCondition6,$whenCondition5,rouPumDedHp.y1[1],rouPumDedHp.y1[2],u1PumDedHp.intTimTab.y[1],u1PumDedHp.intTimTab.y[2],u1PumDedHp.intTimTab.idx,$whenCondition2,$whenCondition1,rouPumDedHpPhp.y1[2],u1PumDedPhpMix.intTimTab.y[1],u1PumDedPhpMix.intTimTab.idx,$whenCondition4,$whenCondition3,rouPumDedHpPhp.y1[1],u1PumDedHpMix.intTimTab.y[1],u1PumDedHpMix.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001481/0.01669, allocations: 154.7 kB / 0.856 GB, free: 12.29 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002129/0.0169, allocations: 177.3 kB / 0.8562 GB, free: 12.11 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.01691, allocations: 4 kB / 0.8562 GB, free: 12.11 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.01698, allocations: 68.75 kB / 0.8563 GB, free: 12.04 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.01714, allocations: 59.06 kB / 0.8563 GB, free: 11.98 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007689/0.01791, allocations: 0.8528 MB / 0.8572 GB, free: 11.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.148e-05/0.01799, allocations: 137.2 kB / 0.8573 GB, free: 10.94 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001109/0.0181, allocations: 62.88 kB / 0.8574 GB, free: 10.88 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.01831, allocations: 153.2 kB / 0.8575 GB, free: 10.73 MB / 0.823 GB Notification: Performance of SimCode: time 6.71e-07/0.01831, allocations: 4 kB / 0.8575 GB, free: 10.72 MB / 0.823 GB Notification: Performance of Templates: time 0.009482/0.02779, allocations: 8.234 MB / 0.8656 GB, free: 2.695 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.32251962646842]