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.002178/0.002178, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 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.002537/0.002537, allocations: 212.6 kB / 22.25 MB, free: 3.57 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 1.69/1.69, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] 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 4.015/4.015, allocations: 0.5687 GB / 0.8738 GB, free: 18.02 MB / 0.6667 GB " [Timeout remaining time 176] 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 0.003823/0.003823, allocations: 69.41 kB / 1.273 GB, free: 14.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4611/0.4649, allocations: 196.5 MB / 1.465 GB, free: 5.219 MB / 1.135 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.003674/0.4686, allocations: 1.573 MB / 1.466 GB, free: 3.645 MB / 1.135 GB Notification: Performance of NFInst.instExpressions: time 0.003992/0.4726, allocations: 2.075 MB / 1.468 GB, free: 1.555 MB / 1.135 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003925/0.4729, allocations: 35.62 kB / 1.468 GB, free: 1.52 MB / 1.135 GB Notification: Performance of NFTyping.typeComponents: time 0.0008245/0.4738, allocations: 278.8 kB / 1.469 GB, free: 1.246 MB / 1.135 GB Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.4741, allocations: 163.4 kB / 1.469 GB, free: 1.086 MB / 1.135 GB Notification: Performance of NFTyping.typeClassSections: time 0.001894/0.476, allocations: 0.5888 MB / 1.469 GB, free: 0.5039 MB / 1.135 GB Notification: Performance of NFFlatten.flatten: time 0.001618/0.4776, allocations: 1.072 MB / 1.47 GB, free: 15.43 MB / 1.151 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004246/0.4781, allocations: 194 kB / 1.471 GB, free: 15.23 MB / 1.151 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008151/0.4789, allocations: 451 kB / 1.471 GB, free: 14.79 MB / 1.151 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005834/0.4795, allocations: 374.8 kB / 1.471 GB, free: 14.43 MB / 1.151 GB Notification: Performance of NFPackage.collectConstants: time 0.0001769/0.4796, allocations: 60 kB / 1.471 GB, free: 14.37 MB / 1.151 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004675/0.4801, allocations: 163.8 kB / 1.472 GB, free: 14.21 MB / 1.151 GB Notification: Performance of NFScalarize.scalarize: time 0.0004963/0.4806, allocations: 359.2 kB / 1.472 GB, free: 13.86 MB / 1.151 GB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.481, allocations: 278.6 kB / 1.472 GB, free: 13.58 MB / 1.151 GB Notification: Performance of NFConvertDAE.convert: time 0.001453/0.4824, allocations: 1.102 MB / 1.473 GB, free: 12.48 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.4824, allocations: 4 kB / 1.473 GB, free: 12.47 MB / 1.151 GB Notification: Performance of FrontEnd: time 3.186e-06/0.4824, allocations: 0 / 1.473 GB, free: 12.47 MB / 1.151 GB Notification: Performance of Transformations before backend: time 1.233e-05/0.4824, allocations: 0 / 1.473 GB, free: 12.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.001966/0.4844, allocations: 0.9613 MB / 1.474 GB, free: 11.47 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.4844, allocations: 11.98 kB / 1.474 GB, free: 11.46 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005123/0.485, allocations: 116.4 kB / 1.474 GB, free: 11.34 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001142/0.4861, allocations: 0.5991 MB / 1.475 GB, free: 10.72 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.4861, allocations: 41.02 kB / 1.475 GB, free: 10.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4863, allocations: 48.38 kB / 1.475 GB, free: 10.63 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008387/0.4871, allocations: 473.5 kB / 1.475 GB, free: 10.16 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.4871, allocations: 192 / 1.475 GB, free: 10.16 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.4872, allocations: 15.94 kB / 1.475 GB, free: 10.14 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.4872, allocations: 4 kB / 1.475 GB, free: 10.14 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.4877, allocations: 332.6 kB / 1.476 GB, free: 9.812 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.4905, allocations: 1.308 MB / 1.477 GB, free: 8.457 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006741/0.4912, allocations: 391.8 kB / 1.477 GB, free: 8.047 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.4914, allocations: 162.5 kB / 1.478 GB, free: 7.879 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4914, allocations: 4 kB / 1.478 GB, free: 7.875 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000515/0.492, allocations: 315.4 kB / 1.478 GB, free: 7.547 MB / 1.151 GB Notification: Performance of pre-optimization done (n=24): time 1.793e-06/0.492, allocations: 0 / 1.478 GB, free: 7.547 MB / 1.151 GB Notification: Performance of matching and sorting (n=24): time 0.001167/0.4931, allocations: 0.5796 MB / 1.478 GB, free: 6.961 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.4932, allocations: 144.5 kB / 1.479 GB, free: 6.789 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000947/0.4942, allocations: 0.6549 MB / 1.479 GB, free: 6.121 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.026e-05/0.4943, allocations: 45.7 kB / 1.479 GB, free: 6.07 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.4946, allocations: 293.6 kB / 1.48 GB, free: 5.777 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.4947, allocations: 55.62 kB / 1.48 GB, free: 5.723 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002864/0.495, allocations: 173.9 kB / 1.48 GB, free: 5.547 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.4952, allocations: 374.7 kB / 1.48 GB, free: 5.172 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002106/0.4954, allocations: 124.6 kB / 1.48 GB, free: 5.051 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/0.4969, allocations: 1.542 MB / 1.482 GB, free: 3.121 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/0.4974, allocations: 339 kB / 1.482 GB, free: 2.734 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.4974, allocations: 0 / 1.482 GB, free: 2.734 MB / 1.151 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007944/0.4982, allocations: 448.7 kB / 1.483 GB, free: 2.289 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4982, allocations: 8 kB / 1.483 GB, free: 2.281 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.4982, allocations: 4 kB / 1.483 GB, free: 2.277 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.479e-05/0.4982, allocations: 4 kB / 1.483 GB, free: 2.273 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.4984, allocations: 44.34 kB / 1.483 GB, free: 2.23 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.4984, allocations: 8 kB / 1.483 GB, free: 2.223 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.4995, allocations: 118.1 kB / 1.483 GB, free: 2.109 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.4995, allocations: 16 kB / 1.483 GB, free: 2.094 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.0005754/0.5001, allocations: 293.7 kB / 1.483 GB, free: 1.801 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.822e-05/0.5002, allocations: 59.62 kB / 1.483 GB, free: 1.742 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.5003, allocations: 56.03 kB / 1.483 GB, free: 1.684 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5003, allocations: 0 / 1.483 GB, free: 1.684 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.5003, allocations: 4 kB / 1.483 GB, free: 1.68 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.5003, allocations: 3.938 kB / 1.483 GB, free: 1.676 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.5008, allocations: 349.1 kB / 1.483 GB, free: 1.305 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.5008, allocations: 4 kB / 1.483 GB, free: 1.301 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.932e-05/0.5009, allocations: 11.92 kB / 1.483 GB, free: 1.289 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.5009, allocations: 0 / 1.483 GB, free: 1.289 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.455e-05/0.5009, allocations: 12 kB / 1.483 GB, free: 1.277 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.5009, allocations: 4 kB / 1.483 GB, free: 1.273 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.5009, allocations: 0 / 1.483 GB, free: 1.273 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.5017, allocations: 499.6 kB / 1.484 GB, free: 0.7578 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000118/0.5018, allocations: 55.59 kB / 1.484 GB, free: 0.7031 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/0.5018, allocations: 8 kB / 1.484 GB, free: 0.6953 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.502, allocations: 11.98 kB / 1.484 GB, free: 0.6836 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.5021, allocations: 43.83 kB / 1.484 GB, free: 0.6406 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.36e-05/0.5021, allocations: 11.98 kB / 1.484 GB, free: 0.6289 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.000633/0.5028, allocations: 454.8 kB / 1.484 GB, free: 192 kB / 1.151 GB Notification: Performance of sort global known variables: time 1e-07/0.5028, allocations: 4 kB / 1.484 GB, free: 188 kB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005588/0.5033, allocations: 139.6 kB / 1.485 GB, free: 48 kB / 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.0003237/0.5036, allocations: 153.6 kB / 1.485 GB, free: 15.89 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0006565/0.5043, allocations: 332.3 kB / 1.485 GB, free: 15.56 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5043, allocations: 256 / 1.485 GB, free: 15.56 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002562/0.5046, allocations: 151.8 kB / 1.485 GB, free: 15.41 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003814/0.5049, allocations: 58.02 kB / 1.485 GB, free: 15.36 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.5068, allocations: 1 MB / 1.486 GB, free: 14.32 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5072, allocations: 308.2 kB / 1.487 GB, free: 14 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0002707/0.5074, allocations: 103.2 kB / 1.487 GB, free: 13.9 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.5075, allocations: 39.42 kB / 1.487 GB, free: 13.86 MB / 1.167 GB Notification: Performance of SimCode: time 8.61e-07/0.5075, allocations: 0 / 1.487 GB, free: 13.86 MB / 1.167 GB Notification: Performance of Templates: time 0.01704/0.5246, allocations: 8.048 MB / 1.495 GB, free: 5.969 MB / 1.167 GB " [Timeout remaining time 299] 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: 11.021091333590448]