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.002402/0.002402, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.002837/0.002837, allocations: 170.3 kB / 22.45 MB, free: 2.105 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 1.616/1.616, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.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 3.823/3.823, allocations: 438.7 MB / 0.6816 GB, free: 13.82 MB / 0.6511 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 2.735e-06/2.735e-06, allocations: 3.938 kB / 1.081 GB, free: 25.01 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.605e-05, allocations: 6.969 kB / 1.081 GB, free: 25 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.HeatPumps.Subsequences.Validation.RoutingPrimaryPumpStatus): time 0.002265/0.002291, allocations: 1.551 MB / 1.082 GB, free: 24.01 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.004698, allocations: 2.085 MB / 1.084 GB, free: 22.54 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.004946, allocations: 36.75 kB / 1.084 GB, free: 22.52 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0005779/0.005524, allocations: 284.5 kB / 1.085 GB, free: 22.39 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.005761, allocations: 163 kB / 1.085 GB, free: 22.32 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001286/0.007047, allocations: 0.6057 MB / 1.085 GB, free: 22 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009517/0.007998, allocations: 1.07 MB / 1.086 GB, free: 21.55 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002829/0.008281, allocations: 197.5 kB / 1.087 GB, free: 21.46 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006395/0.008921, allocations: 0.5573 MB / 1.087 GB, free: 21.23 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.009289, allocations: 340.8 kB / 1.087 GB, free: 21.13 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.009454, allocations: 61.34 kB / 1.087 GB, free: 21.13 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.009793, allocations: 174.6 kB / 1.088 GB, free: 21.09 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003552/0.01015, allocations: 364.3 kB / 1.088 GB, free: 20.95 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.01042, allocations: 225.6 kB / 1.088 GB, free: 20.83 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.01143, allocations: 1.184 MB / 1.089 GB, free: 20.43 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.01144, allocations: 0 / 1.089 GB, free: 20.43 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.754e-06/0.01144, allocations: 0 / 1.089 GB, free: 20.43 MB / 1.01 GB Notification: Performance of Transformations before backend: time 1.12e-05/0.01145, allocations: 2.75 kB / 1.089 GB, free: 20.43 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.001587/0.01304, allocations: 0.9512 MB / 1.09 GB, free: 19.8 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.01308, allocations: 13.28 kB / 1.09 GB, free: 19.8 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004812/0.01356, allocations: 114.7 kB / 1.09 GB, free: 19.76 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009096/0.01447, allocations: 0.5971 MB / 1.091 GB, free: 19.43 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.57e-05/0.01451, allocations: 38.78 kB / 1.091 GB, free: 19.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.01463, allocations: 48.47 kB / 1.091 GB, free: 19.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.01532, allocations: 463.5 kB / 1.091 GB, free: 19.21 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01533, allocations: 4.188 kB / 1.091 GB, free: 19.2 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.01536, allocations: 15.09 kB / 1.091 GB, free: 19.2 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.01537, allocations: 11.06 kB / 1.092 GB, free: 19.19 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.01584, allocations: 336.2 kB / 1.092 GB, free: 19.08 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.01789, allocations: 1.315 MB / 1.093 GB, free: 18.3 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005128/0.0184, allocations: 392.6 kB / 1.093 GB, free: 18.12 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.01859, allocations: 157.5 kB / 1.094 GB, free: 18.05 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.838e-05/0.01861, allocations: 2.719 kB / 1.094 GB, free: 18.05 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004548/0.01907, allocations: 305.1 kB / 1.094 GB, free: 17.92 MB / 1.01 GB Notification: Performance of pre-optimization done (n=24): time 2.445e-06/0.01907, allocations: 3.938 kB / 1.094 GB, free: 17.92 MB / 1.01 GB Notification: Performance of matching and sorting (n=24): time 0.0009686/0.02004, allocations: 0.5786 MB / 1.094 GB, free: 17.71 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.0201, allocations: 136.8 kB / 1.095 GB, free: 17.55 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007931/0.02089, allocations: 0.6544 MB / 1.095 GB, free: 17.28 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.488e-05/0.02097, allocations: 46.3 kB / 1.095 GB, free: 17.24 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.02119, allocations: 287.1 kB / 1.096 GB, free: 17.02 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.02124, allocations: 56.56 kB / 1.096 GB, free: 16.97 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002308/0.02147, allocations: 175.7 kB / 1.096 GB, free: 16.91 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.02156, allocations: 376.2 kB / 1.096 GB, free: 16.57 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001796/0.02174, allocations: 126.8 kB / 1.096 GB, free: 16.54 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007587/0.0225, allocations: 1.542 MB / 1.098 GB, free: 14.89 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.02284, allocations: 324.1 kB / 1.098 GB, free: 14.66 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.02284, allocations: 1.125 kB / 1.098 GB, free: 14.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007093/0.02355, allocations: 454.7 kB / 1.099 GB, free: 14.47 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.02357, allocations: 6.25 kB / 1.099 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.02358, allocations: 4.719 kB / 1.099 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.0236, allocations: 10.17 kB / 1.099 GB, free: 14.47 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.02378, allocations: 40.47 kB / 1.099 GB, free: 14.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.0238, allocations: 11.39 kB / 1.099 GB, free: 14.46 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009922/0.02479, allocations: 113.6 kB / 1.099 GB, free: 14.43 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.02482, allocations: 17.36 kB / 1.099 GB, free: 14.42 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.0003571/0.02518, allocations: 294.5 kB / 1.099 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.02525, allocations: 55.11 kB / 1.099 GB, free: 14.21 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/0.02534, allocations: 55.81 kB / 1.099 GB, free: 14.19 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.02534, allocations: 8.188 kB / 1.099 GB, free: 14.18 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.02535, allocations: 1.125 kB / 1.099 GB, free: 14.18 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.02536, allocations: 2.75 kB / 1.099 GB, free: 14.18 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/0.02574, allocations: 349.2 kB / 1.099 GB, free: 13.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.696e-06/0.02575, allocations: 0.9062 kB / 1.099 GB, free: 13.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.02577, allocations: 9.641 kB / 1.099 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.02577, allocations: 2.25 kB / 1.099 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.154e-05/0.02579, allocations: 10.77 kB / 1.099 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.0258, allocations: 1.094 kB / 1.099 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.0258, allocations: 2.625 kB / 1.099 GB, free: 13.97 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.02644, allocations: 496.2 kB / 1.1 GB, free: 13.74 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 7.889e-05/0.02652, allocations: 53.52 kB / 1.1 GB, free: 13.71 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.02657, allocations: 12.2 kB / 1.1 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.02673, allocations: 18.34 kB / 1.1 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/0.02682, allocations: 27.36 kB / 1.1 GB, free: 13.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/0.02685, allocations: 19.78 kB / 1.1 GB, free: 13.69 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0005312/0.02738, allocations: 454.7 kB / 1.101 GB, free: 13.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.02738, allocations: 0 / 1.101 GB, free: 13.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0004896/0.02787, allocations: 134.5 kB / 1.101 GB, free: 13.47 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.0002511/0.02812, allocations: 169.2 kB / 1.101 GB, free: 13.36 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0005763/0.0287, allocations: 339.4 kB / 1.101 GB, free: 13.26 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.0287, allocations: 1.031 kB / 1.101 GB, free: 13.26 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0002221/0.02892, allocations: 148.5 kB / 1.101 GB, free: 13.21 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.02927, allocations: 58.75 kB / 1.101 GB, free: 13.18 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.03073, allocations: 1.002 MB / 1.102 GB, free: 12.65 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.03106, allocations: 303.1 kB / 1.103 GB, free: 12.54 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0002289/0.03129, allocations: 98.3 kB / 1.103 GB, free: 12.53 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.03138, allocations: 43.48 kB / 1.103 GB, free: 12.52 MB / 1.01 GB Notification: Performance of SimCode: time 3.91e-07/0.03138, allocations: 0 / 1.103 GB, free: 12.52 MB / 1.01 GB Notification: Performance of Templates: time 0.01516/0.04655, allocations: 7.651 MB / 1.11 GB, free: 11.67 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 -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: 10.23551379609853]