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.001205/0.001205, allocations: 88.52 kB / 19.93 MB, free: 4.605 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.00151/0.00151, allocations: 173.9 kB / 23.21 MB, free: 1.328 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.9476/0.9476, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.33/2.33, allocations: 438.1 MB / 0.6817 GB, free: 14.23 MB / 0.6511 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 3.687e-06/3.687e-06, allocations: 0 / 1.08 GB, free: 25.93 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.24e-05, allocations: 9 kB / 1.08 GB, free: 25.92 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.002681/0.002713, allocations: 1.548 MB / 1.081 GB, free: 24.94 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.005799, allocations: 2.085 MB / 1.083 GB, free: 23.46 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004614/0.006261, allocations: 38.09 kB / 1.083 GB, free: 23.44 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006951/0.006956, allocations: 286.7 kB / 1.084 GB, free: 23.31 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.007247, allocations: 163.8 kB / 1.084 GB, free: 23.24 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.008782, allocations: 0.5995 MB / 1.084 GB, free: 22.92 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0008938/0.009675, allocations: 1.073 MB / 1.085 GB, free: 22.47 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.009932, allocations: 192.2 kB / 1.086 GB, free: 22.38 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005024/0.01043, allocations: 0.564 MB / 1.086 GB, free: 22.16 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002932/0.01073, allocations: 336.6 kB / 1.086 GB, free: 22.05 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 9.752e-05/0.01083, allocations: 60.38 kB / 1.086 GB, free: 22.05 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000265/0.01109, allocations: 166.8 kB / 1.087 GB, free: 22.02 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.01134, allocations: 362 kB / 1.087 GB, free: 21.88 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000174/0.01151, allocations: 232.8 kB / 1.087 GB, free: 21.76 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007915/0.0123, allocations: 1.183 MB / 1.088 GB, free: 21.36 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.01231, allocations: 0 / 1.088 GB, free: 21.36 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.024e-06/0.01231, allocations: 4 kB / 1.088 GB, free: 21.36 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.01232, allocations: 0 / 1.088 GB, free: 21.36 MB / 1.01 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.001093/0.01341, allocations: 0.9553 MB / 1.089 GB, free: 20.72 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.01345, allocations: 11.16 kB / 1.089 GB, free: 20.72 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.01381, allocations: 115.5 kB / 1.089 GB, free: 20.68 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.01443, allocations: 0.6012 MB / 1.09 GB, free: 20.34 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.01447, allocations: 34.53 kB / 1.09 GB, free: 20.33 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.72e-05/0.01454, allocations: 53.62 kB / 1.09 GB, free: 20.32 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.015, allocations: 463.4 kB / 1.091 GB, free: 20.12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.01501, allocations: 4.125 kB / 1.091 GB, free: 20.12 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.01504, allocations: 13.81 kB / 1.091 GB, free: 20.11 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.01505, allocations: 9.156 kB / 1.091 GB, free: 20.11 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003721/0.01542, allocations: 331.9 kB / 1.091 GB, free: 20 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001464/0.01688, allocations: 1.315 MB / 1.092 GB, free: 19.23 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004068/0.01729, allocations: 397.8 kB / 1.093 GB, free: 19.05 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.01744, allocations: 151 kB / 1.093 GB, free: 18.98 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.01745, allocations: 2.344 kB / 1.093 GB, free: 18.98 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003141/0.01777, allocations: 309.5 kB / 1.093 GB, free: 18.84 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 1.683e-06/0.01777, allocations: 0 / 1.093 GB, free: 18.84 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0007153/0.01848, allocations: 0.5688 MB / 1.094 GB, free: 18.64 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.56e-05/0.01853, allocations: 143.4 kB / 1.094 GB, free: 18.48 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005506/0.01908, allocations: 0.6578 MB / 1.094 GB, free: 18.21 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.01914, allocations: 46.7 kB / 1.094 GB, free: 18.16 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.01929, allocations: 288.3 kB / 1.095 GB, free: 17.94 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.01933, allocations: 64.61 kB / 1.095 GB, free: 17.89 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.01948, allocations: 177.5 kB / 1.095 GB, free: 17.83 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.233e-05/0.01956, allocations: 369.5 kB / 1.095 GB, free: 17.49 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.0197, allocations: 127.3 kB / 1.095 GB, free: 17.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.02029, allocations: 1.538 MB / 1.097 GB, free: 15.81 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.02057, allocations: 326.3 kB / 1.097 GB, free: 15.58 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.02057, allocations: 1.094 kB / 1.097 GB, free: 15.58 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005293/0.0211, allocations: 459.2 kB / 1.098 GB, free: 15.39 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.02113, allocations: 7.344 kB / 1.098 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.02114, allocations: 4.094 kB / 1.098 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.02116, allocations: 5.781 kB / 1.098 GB, free: 15.39 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001382/0.0213, allocations: 36.73 kB / 1.098 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.02131, allocations: 14.06 kB / 1.098 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005365/0.02185, allocations: 108.7 kB / 1.098 GB, free: 15.35 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.096e-05/0.02187, allocations: 12.62 kB / 1.098 GB, free: 15.35 MB / 1.01 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.000305/0.02217, allocations: 294.6 kB / 1.098 GB, free: 15.17 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.653e-05/0.02223, allocations: 54.75 kB / 1.098 GB, free: 15.14 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.0223, allocations: 58.69 kB / 1.098 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.0223, allocations: 3.656 kB / 1.098 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.02231, allocations: 1.031 kB / 1.098 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.02232, allocations: 5.156 kB / 1.098 GB, free: 15.11 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003548/0.02267, allocations: 348.9 kB / 1.098 GB, free: 14.9 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.02268, allocations: 1.125 kB / 1.098 GB, free: 14.9 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.143e-05/0.0227, allocations: 12.19 kB / 1.098 GB, free: 14.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.0227, allocations: 10 kB / 1.099 GB, free: 14.88 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.02272, allocations: 6.5 kB / 1.099 GB, free: 14.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.127e-06/0.02272, allocations: 2.734 kB / 1.099 GB, free: 14.88 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.02273, allocations: 1.188 kB / 1.099 GB, free: 14.88 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005314/0.02326, allocations: 498 kB / 1.099 GB, free: 14.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.02332, allocations: 51.12 kB / 1.099 GB, free: 14.63 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.02335, allocations: 8.109 kB / 1.099 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.772e-05/0.02345, allocations: 13.31 kB / 1.099 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.02353, allocations: 31.17 kB / 1.099 GB, free: 14.62 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.547e-05/0.02356, allocations: 16.34 kB / 1.099 GB, free: 14.61 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0004456/0.024, allocations: 455.1 kB / 1.1 GB, free: 14.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 3.71e-07/0.024, allocations: 4 kB / 1.1 GB, free: 14.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004609/0.02446, allocations: 142.4 kB / 1.1 GB, free: 14.39 MB / 1.01 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.0002536/0.02472, allocations: 164.2 kB / 1.1 GB, free: 14.27 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004932/0.02521, allocations: 335.2 kB / 1.1 GB, free: 14.18 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.02521, allocations: 4.062 kB / 1.1 GB, free: 14.18 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.02546, allocations: 195.1 kB / 1.1 GB, free: 14.11 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.02578, allocations: 50.25 kB / 1.1 GB, free: 14.08 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.02709, allocations: 1.057 MB / 1.101 GB, free: 13.51 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.02736, allocations: 295.2 kB / 1.102 GB, free: 13.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.179e-05/0.02744, allocations: 43.47 kB / 1.102 GB, free: 13.38 MB / 1.01 GB Notification: Performance of SimCode: time 9.02e-07/0.02744, allocations: 1.156 kB / 1.102 GB, free: 13.38 MB / 1.01 GB Notification: Performance of Templates: time 0.01371/0.04116, allocations: 8.166 MB / 1.11 GB, free: 12.54 MB / 1.01 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: 8.558742439839989]