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.0009315/0.0009315, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001004/0.001004, allocations: 177.4 kB / 23.36 MB, free: 1.129 MB / 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.9603/0.9603, allocations: 177.2 MB / 203.8 MB, free: 5.461 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.451/2.451, allocations: 438.8 MB / 0.6827 GB, free: 13.56 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.194e-06/2.194e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.651e-05/2.87e-05, allocations: 5.828 kB / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.003435/0.003463, allocations: 1.622 MB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003356/0.006819, allocations: 2.151 MB / 0.8423 GB, free: 10.36 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003062/0.007125, allocations: 35.62 kB / 0.8423 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007134/0.007839, allocations: 302.6 kB / 0.8426 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.008152, allocations: 167.2 kB / 0.8428 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0014/0.009552, allocations: 0.5804 MB / 0.8434 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001179/0.01073, allocations: 1.076 MB / 0.8444 GB, free: 8.207 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003551/0.01109, allocations: 203.9 kB / 0.8446 GB, free: 8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008741/0.01196, allocations: 0.5733 MB / 0.8452 GB, free: 7.426 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005247/0.01248, allocations: 279.3 kB / 0.8454 GB, free: 7.152 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.01272, allocations: 56 kB / 0.8455 GB, free: 7.098 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000432/0.01315, allocations: 163.8 kB / 0.8456 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004087/0.01356, allocations: 339.1 kB / 0.846 GB, free: 6.605 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004455/0.01401, allocations: 223.4 kB / 0.8462 GB, free: 6.387 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.01509, allocations: 0.771 MB / 0.8469 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.0151, allocations: 0 / 0.8469 GB, free: 5.613 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.565e-06/0.0151, allocations: 3.984 kB / 0.8469 GB, free: 5.609 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.01512, allocations: 4 kB / 0.8469 GB, free: 5.605 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.001348/0.01646, allocations: 0.8389 MB / 0.8478 GB, free: 4.734 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.0165, allocations: 12.62 kB / 0.8478 GB, free: 4.723 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000412/0.01691, allocations: 100.8 kB / 0.8479 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007119/0.01762, allocations: 485.4 kB / 0.8483 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.096e-05/0.01768, allocations: 37.02 kB / 0.8484 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.923e-05/0.01778, allocations: 48.38 kB / 0.8484 GB, free: 4.043 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000383/0.01816, allocations: 277.1 kB / 0.8487 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.01817, allocations: 192 / 0.8487 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.0182, allocations: 12.38 kB / 0.8487 GB, free: 3.734 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.01821, allocations: 8.375 kB / 0.8487 GB, free: 3.727 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.01839, allocations: 104.1 kB / 0.8488 GB, free: 3.625 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.01978, allocations: 0.942 MB / 0.8497 GB, free: 2.648 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003062/0.02008, allocations: 308.3 kB / 0.85 GB, free: 2.312 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.384e-05/0.02017, allocations: 46.56 kB / 0.85 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.02018, allocations: 0 / 0.85 GB, free: 2.258 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.02048, allocations: 227.8 kB / 0.8503 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.383e-06/0.02048, allocations: 0 / 0.8503 GB, free: 2.012 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0004021/0.02088, allocations: 240.7 kB / 0.8505 GB, free: 1.766 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.239e-05/0.02095, allocations: 144.4 kB / 0.8506 GB, free: 1.594 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000411/0.02136, allocations: 463 kB / 0.8511 GB, free: 1.129 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.27e-05/0.02144, allocations: 45.69 kB / 0.8511 GB, free: 1.078 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.0216, allocations: 210.9 kB / 0.8513 GB, free: 0.8672 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.02165, allocations: 55.59 kB / 0.8514 GB, free: 0.8125 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.02185, allocations: 149.8 kB / 0.8515 GB, free: 0.6602 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.02197, allocations: 366.7 kB / 0.8519 GB, free: 300 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.02204, allocations: 47.45 kB / 0.8519 GB, free: 252 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006624/0.02271, allocations: 1.307 MB / 0.8532 GB, free: 14.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002373/0.02294, allocations: 261.9 kB / 0.8534 GB, free: 14.23 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.02295, allocations: 3.938 kB / 0.8534 GB, free: 14.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002797/0.02323, allocations: 265 kB / 0.8537 GB, free: 13.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.02324, allocations: 4.438 kB / 0.8537 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.02325, allocations: 8 kB / 0.8537 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.02326, allocations: 8 kB / 0.8537 GB, free: 13.94 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.02339, allocations: 51.91 kB / 0.8538 GB, free: 13.89 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.0234, allocations: 15.92 kB / 0.8538 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.02374, allocations: 83.59 kB / 0.8539 GB, free: 13.79 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.654e-05/0.02375, allocations: 12 kB / 0.8539 GB, free: 13.78 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.0001509/0.0239, allocations: 180.4 kB / 0.854 GB, free: 13.59 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.972e-05/0.02394, allocations: 35.95 kB / 0.8541 GB, free: 13.56 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.339e-05/0.024, allocations: 48.09 kB / 0.8541 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.125e-06/0.024, allocations: 4 kB / 0.8541 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.024, allocations: 0 / 0.8541 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.02401, allocations: 0 / 0.8541 GB, free: 13.51 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001935/0.0242, allocations: 213.6 kB / 0.8543 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.0242, allocations: 0 / 0.8543 GB, free: 13.28 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.387e-05/0.02422, allocations: 7.938 kB / 0.8543 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.02422, allocations: 7.938 kB / 0.8543 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.02423, allocations: 7.984 kB / 0.8544 GB, free: 13.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.02424, allocations: 8 kB / 0.8544 GB, free: 13.25 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.02424, allocations: 0 / 0.8544 GB, free: 13.25 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002039/0.02444, allocations: 221.5 kB / 0.8546 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.441e-05/0.02449, allocations: 51.55 kB / 0.8546 GB, free: 12.95 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.02451, allocations: 11.98 kB / 0.8546 GB, free: 12.94 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.02457, allocations: 8.062 kB / 0.8546 GB, free: 12.93 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.02463, allocations: 42.8 kB / 0.8547 GB, free: 12.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.02465, allocations: 4 kB / 0.8547 GB, free: 12.88 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001636/0.02481, allocations: 200.4 kB / 0.8549 GB, free: 12.69 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.02481, allocations: 4 kB / 0.8549 GB, free: 12.68 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003138/0.02512, allocations: 131.7 kB / 0.855 GB, free: 12.55 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.0001987/0.02532, allocations: 154.7 kB / 0.8552 GB, free: 12.39 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.02556, allocations: 169.4 kB / 0.8553 GB, free: 12.23 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.02557, allocations: 4 kB / 0.8553 GB, free: 12.22 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/0.02565, allocations: 81.06 kB / 0.8554 GB, free: 12.14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.02583, allocations: 58.17 kB / 0.8555 GB, free: 12.09 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008181/0.02665, allocations: 0.8349 MB / 0.8563 GB, free: 11.21 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.578e-05/0.02673, allocations: 145.2 kB / 0.8564 GB, free: 11.05 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001155/0.02685, allocations: 65.31 kB / 0.8565 GB, free: 10.98 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/0.02708, allocations: 161.2 kB / 0.8566 GB, free: 10.82 MB / 0.823 GB Notification: Performance of SimCode: time 6.41e-07/0.02708, allocations: 0 / 0.8566 GB, free: 10.82 MB / 0.823 GB Notification: Performance of Templates: time 0.01109/0.03816, allocations: 8.219 MB / 0.8646 GB, free: 2.801 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.338920626789331]