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.0009181/0.0009181, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 13.93 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.0009447/0.0009447, allocations: 217.1 kB / 23 MB, free: 2.969 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.9637/0.9637, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.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.505/2.505, allocations: 0.5679 GB / 0.8738 GB, free: 18.73 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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 0.002144/0.002144, allocations: 72.88 kB / 1.272 GB, free: 15.76 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3584, allocations: 196.3 MB / 1.463 GB, free: 7.203 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.002334/0.3607, allocations: 1.542 MB / 1.465 GB, free: 5.66 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.3631, allocations: 2.086 MB / 1.467 GB, free: 3.559 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.3634, allocations: 35.62 kB / 1.467 GB, free: 3.523 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 0.0006356/0.364, allocations: 282.8 kB / 1.467 GB, free: 3.246 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3643, allocations: 163.4 kB / 1.467 GB, free: 3.086 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3656, allocations: 0.5894 MB / 1.468 GB, free: 2.504 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.0007672/0.3663, allocations: 1.065 MB / 1.469 GB, free: 1.438 MB / 1.135 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002715/0.3666, allocations: 205.9 kB / 1.469 GB, free: 1.23 MB / 1.135 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004112/0.367, allocations: 455 kB / 1.47 GB, free: 0.7852 MB / 1.135 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003263/0.3674, allocations: 366.8 kB / 1.47 GB, free: 436 kB / 1.135 GB Notification: Performance of NFPackage.collectConstants: time 9.283e-05/0.3675, allocations: 60 kB / 1.47 GB, free: 376 kB / 1.135 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.3677, allocations: 171.8 kB / 1.47 GB, free: 204 kB / 1.135 GB Notification: Performance of NFScalarize.scalarize: time 0.0002804/0.368, allocations: 355.2 kB / 1.471 GB, free: 15.85 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.0001937/0.3682, allocations: 282.6 kB / 1.471 GB, free: 15.57 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.0008139/0.369, allocations: 1.094 MB / 1.472 GB, free: 14.48 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.369, allocations: 3.938 kB / 1.472 GB, free: 14.47 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.144e-06/0.369, allocations: 0 / 1.472 GB, free: 14.47 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.3691, allocations: 3.938 kB / 1.472 GB, free: 14.47 MB / 1.151 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.00125/0.3703, allocations: 0.969 MB / 1.473 GB, free: 13.46 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3703, allocations: 11.98 kB / 1.473 GB, free: 13.45 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/0.3707, allocations: 112.4 kB / 1.473 GB, free: 13.34 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007071/0.3714, allocations: 0.5952 MB / 1.474 GB, free: 12.72 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.228e-05/0.3714, allocations: 41.03 kB / 1.474 GB, free: 12.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.3715, allocations: 56.3 kB / 1.474 GB, free: 12.62 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005011/0.372, allocations: 457.6 kB / 1.474 GB, free: 12.16 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.372, allocations: 192 / 1.474 GB, free: 12.16 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.3721, allocations: 19.92 kB / 1.474 GB, free: 12.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.537e-06/0.3721, allocations: 4 kB / 1.474 GB, free: 12.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.3724, allocations: 328.6 kB / 1.474 GB, free: 11.82 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.374, allocations: 1.316 MB / 1.476 GB, free: 10.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003905/0.3744, allocations: 391.8 kB / 1.476 GB, free: 10.04 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.3745, allocations: 158.6 kB / 1.476 GB, free: 9.879 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.257e-05/0.3745, allocations: 0 / 1.476 GB, free: 9.879 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000321/0.3748, allocations: 318.6 kB / 1.477 GB, free: 9.547 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 1.533e-06/0.3748, allocations: 3.938 kB / 1.477 GB, free: 9.543 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.0006766/0.3755, allocations: 0.5752 MB / 1.477 GB, free: 8.961 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.386e-05/0.3756, allocations: 144.5 kB / 1.477 GB, free: 8.789 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005259/0.3761, allocations: 0.651 MB / 1.478 GB, free: 8.125 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.814e-05/0.3762, allocations: 49.69 kB / 1.478 GB, free: 8.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.3763, allocations: 289.6 kB / 1.478 GB, free: 7.781 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.513e-05/0.3764, allocations: 51.62 kB / 1.478 GB, free: 7.73 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/0.3765, allocations: 181.9 kB / 1.478 GB, free: 7.547 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3766, allocations: 370.7 kB / 1.479 GB, free: 7.176 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/0.3768, allocations: 124.6 kB / 1.479 GB, free: 7.055 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006889/0.3775, allocations: 1.537 MB / 1.48 GB, free: 5.129 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.3777, allocations: 332.1 kB / 1.481 GB, free: 4.75 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.3777, allocations: 0 / 1.481 GB, free: 4.75 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.000462/0.3782, allocations: 456.8 kB / 1.481 GB, free: 4.297 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.3782, allocations: 4 kB / 1.481 GB, free: 4.293 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.3782, allocations: 4 kB / 1.481 GB, free: 4.289 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.3782, allocations: 11.94 kB / 1.481 GB, free: 4.277 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3784, allocations: 36.36 kB / 1.481 GB, free: 4.242 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.3784, allocations: 15.92 kB / 1.481 GB, free: 4.227 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.3789, allocations: 114.1 kB / 1.481 GB, free: 4.117 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.3789, allocations: 16 kB / 1.481 GB, free: 4.102 MB / 1.151 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[2].y,rouPumDedHpPhp.pumPriDedHpPhp.con[1].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.0003454/0.3793, allocations: 294.3 kB / 1.482 GB, free: 3.805 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/0.3793, allocations: 55.61 kB / 1.482 GB, free: 3.75 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/0.3794, allocations: 56.03 kB / 1.482 GB, free: 3.695 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3794, allocations: 4 kB / 1.482 GB, free: 3.691 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.3794, allocations: 4 kB / 1.482 GB, free: 3.688 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.3794, allocations: 3.938 kB / 1.482 GB, free: 3.684 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.3797, allocations: 341 kB / 1.482 GB, free: 3.32 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3797, allocations: 0 / 1.482 GB, free: 3.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.325e-05/0.3797, allocations: 7.938 kB / 1.482 GB, free: 3.312 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.3797, allocations: 4 kB / 1.482 GB, free: 3.309 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.681e-05/0.3797, allocations: 15.98 kB / 1.482 GB, free: 3.293 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.3797, allocations: 128 / 1.482 GB, free: 3.293 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3797, allocations: 8 kB / 1.482 GB, free: 3.285 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.3802, allocations: 498.5 kB / 1.483 GB, free: 2.773 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.3802, allocations: 51.67 kB / 1.483 GB, free: 2.723 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.219e-05/0.3802, allocations: 15.92 kB / 1.483 GB, free: 2.707 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.3803, allocations: 11.98 kB / 1.483 GB, free: 2.695 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.785e-05/0.3804, allocations: 39.88 kB / 1.483 GB, free: 2.656 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.3804, allocations: 16 kB / 1.483 GB, free: 2.641 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0003447/0.3808, allocations: 450.8 kB / 1.483 GB, free: 2.203 MB / 1.151 GB Notification: Performance of sort global known variables: time 5e-08/0.3808, allocations: 4 kB / 1.483 GB, free: 2.199 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003546/0.3811, allocations: 139.7 kB / 1.483 GB, free: 2.062 MB / 1.151 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.0001897/0.3813, allocations: 149.7 kB / 1.483 GB, free: 1.906 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004023/0.3817, allocations: 340.2 kB / 1.484 GB, free: 1.574 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3817, allocations: 256 / 1.484 GB, free: 1.574 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001916/0.3819, allocations: 195.8 kB / 1.484 GB, free: 1.383 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.3822, allocations: 54.16 kB / 1.484 GB, free: 1.328 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.3833, allocations: 1.05 MB / 1.485 GB, free: 244 kB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.3835, allocations: 300.1 kB / 1.485 GB, free: 15.92 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.3836, allocations: 47.42 kB / 1.485 GB, free: 15.88 MB / 1.167 GB Notification: Performance of SimCode: time 8.42e-07/0.3836, allocations: 0 / 1.485 GB, free: 15.88 MB / 1.167 GB Notification: Performance of Templates: time 0.008205/0.3918, allocations: 8.163 MB / 1.493 GB, free: 7.832 MB / 1.167 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 > Buildings_latest_Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.203130966052413]