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.0009012/0.0009012, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.0009115/0.0009115, allocations: 181 kB / 23.36 MB, free: 1.133 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.9987/0.9987, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.316/2.316, allocations: 438.8 MB / 0.6826 GB, free: 13.61 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.795e-06/2.795e-06, allocations: 0 / 0.8386 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.639e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.003357/0.003384, allocations: 1.586 MB / 0.8401 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.003366/0.00675, allocations: 2.143 MB / 0.8422 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003447/0.007095, allocations: 39.62 kB / 0.8422 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.007819, allocations: 298.6 kB / 0.8425 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.008125, allocations: 163.2 kB / 0.8427 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.009561, allocations: 0.5921 MB / 0.8433 GB, free: 9.426 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.00121/0.01077, allocations: 1.072 MB / 0.8443 GB, free: 8.352 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003539/0.01113, allocations: 207.9 kB / 0.8445 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008825/0.01201, allocations: 0.5733 MB / 0.8451 GB, free: 7.566 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.01243, allocations: 279.3 kB / 0.8453 GB, free: 7.293 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.01257, allocations: 56 kB / 0.8454 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.01291, allocations: 159.8 kB / 0.8455 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.01327, allocations: 331.2 kB / 0.8459 GB, free: 6.758 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.01358, allocations: 227.4 kB / 0.8461 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0009595/0.01454, allocations: 0.771 MB / 0.8468 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01454, allocations: 4 kB / 0.8468 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.243e-06/0.01454, allocations: 0 / 0.8468 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.139e-05/0.01455, allocations: 0 / 0.8468 GB, free: 5.758 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.001284/0.01584, allocations: 0.8428 MB / 0.8477 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.01588, allocations: 8.625 kB / 0.8477 GB, free: 4.875 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000431/0.01631, allocations: 104.8 kB / 0.8478 GB, free: 4.773 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007474/0.01705, allocations: 485.5 kB / 0.8482 GB, free: 4.273 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.835e-05/0.0171, allocations: 37.03 kB / 0.8483 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.01722, allocations: 52.36 kB / 0.8483 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.01764, allocations: 269.1 kB / 0.8486 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.01765, allocations: 192 / 0.8486 GB, free: 3.898 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.01768, allocations: 12.36 kB / 0.8486 GB, free: 3.887 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.01769, allocations: 8.375 kB / 0.8486 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.0179, allocations: 102.2 kB / 0.8487 GB, free: 3.777 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001563/0.01946, allocations: 0.9459 MB / 0.8496 GB, free: 2.797 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003133/0.01978, allocations: 308.4 kB / 0.8499 GB, free: 2.461 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.494e-05/0.01986, allocations: 46.5 kB / 0.8499 GB, free: 2.406 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.01987, allocations: 4 kB / 0.85 GB, free: 2.402 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.02018, allocations: 234.1 kB / 0.8502 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=24): time 1.493e-06/0.02018, allocations: 0 / 0.8502 GB, free: 2.152 MB / 0.8073 GB Notification: Performance of matching and sorting (n=24): time 0.0004656/0.02065, allocations: 228.7 kB / 0.8504 GB, free: 1.918 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.463e-05/0.02073, allocations: 140.5 kB / 0.8505 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004967/0.02123, allocations: 471 kB / 0.851 GB, free: 1.277 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.02131, allocations: 41.7 kB / 0.851 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001979/0.02151, allocations: 218.8 kB / 0.8512 GB, free: 1.012 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.02156, allocations: 51.61 kB / 0.8513 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.02178, allocations: 153.8 kB / 0.8514 GB, free: 0.8047 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.02193, allocations: 366.7 kB / 0.8518 GB, free: 448 kB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.195e-05/0.02202, allocations: 39.47 kB / 0.8518 GB, free: 408 kB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007672/0.02279, allocations: 1.315 MB / 0.8531 GB, free: 14.7 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.02309, allocations: 257.9 kB / 0.8533 GB, free: 14.38 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.02309, allocations: 7.938 kB / 0.8533 GB, free: 14.38 MB / 0.823 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004224/0.02352, allocations: 253 kB / 0.8536 GB, free: 14.12 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.02354, allocations: 8 kB / 0.8536 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.02355, allocations: 4 kB / 0.8536 GB, free: 14.11 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.02356, allocations: 8.438 kB / 0.8536 GB, free: 14.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.02376, allocations: 59.91 kB / 0.8537 GB, free: 14.04 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.02376, allocations: 8 kB / 0.8537 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/0.0243, allocations: 86.73 kB / 0.8538 GB, free: 13.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.02433, allocations: 15.98 kB / 0.8538 GB, free: 13.93 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.0002214/0.02455, allocations: 172.5 kB / 0.8539 GB, free: 13.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.189e-05/0.02462, allocations: 39.91 kB / 0.854 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.0247, allocations: 52.09 kB / 0.854 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.0247, allocations: 4 kB / 0.854 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.02471, allocations: 0 / 0.854 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.02471, allocations: 3.984 kB / 0.854 GB, free: 13.66 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.02501, allocations: 205.7 kB / 0.8542 GB, free: 13.44 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.02501, allocations: 4 kB / 0.8542 GB, free: 13.43 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.854e-05/0.02503, allocations: 7.984 kB / 0.8542 GB, free: 13.43 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.02503, allocations: 3.938 kB / 0.8542 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.02505, allocations: 4 kB / 0.8542 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.02505, allocations: 0 / 0.8542 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.02505, allocations: 4 kB / 0.8542 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.02536, allocations: 228.8 kB / 0.8545 GB, free: 13.16 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.55e-05/0.02544, allocations: 59.53 kB / 0.8545 GB, free: 13.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.02548, allocations: 0 / 0.8545 GB, free: 13.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.02557, allocations: 8 kB / 0.8545 GB, free: 13.09 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.773e-05/0.02566, allocations: 42.78 kB / 0.8546 GB, free: 13.05 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.633e-05/0.02568, allocations: 15.98 kB / 0.8546 GB, free: 13.04 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0002518/0.02593, allocations: 196.4 kB / 0.8548 GB, free: 12.84 MB / 0.823 GB Notification: Performance of sort global known variables: time 9e-08/0.02593, allocations: 0 / 0.8548 GB, free: 12.84 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005065/0.02644, allocations: 135.7 kB / 0.8549 GB, free: 12.71 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.000256/0.0267, allocations: 153 kB / 0.8551 GB, free: 12.55 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.02702, allocations: 173.2 kB / 0.8552 GB, free: 12.38 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.02703, allocations: 4 kB / 0.8552 GB, free: 12.38 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.02714, allocations: 78.08 kB / 0.8553 GB, free: 12.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.0274, allocations: 58.19 kB / 0.8553 GB, free: 12.24 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.02864, allocations: 0.8428 MB / 0.8562 GB, free: 11.36 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.02876, allocations: 137.2 kB / 0.8563 GB, free: 11.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001831/0.02895, allocations: 61.33 kB / 0.8564 GB, free: 11.14 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/0.02928, allocations: 157.2 kB / 0.8565 GB, free: 10.98 MB / 0.823 GB Notification: Performance of SimCode: time 1.082e-06/0.02928, allocations: 0 / 0.8565 GB, free: 10.98 MB / 0.823 GB Notification: Performance of Templates: time 0.01299/0.04227, allocations: 8.227 MB / 0.8645 GB, free: 2.961 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.33408033894375]