Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005515/0.005515, allocations: 99.92 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 195.9 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.546/1.546, allocations: 251.7 MB / 0.5094 GB, free: 2.98 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 75.91 kB / 0.7258 GB, free: 8.969 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2166, allocations: 104.7 MB / 0.8281 GB, free: 156 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002219/0.2188, allocations: 1.234 MB / 0.8293 GB, free: 14.91 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.2198, allocations: 0.5348 MB / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.38e-05/0.2198, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.028e-05/0.2198, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.993e-05/0.2199, allocations: 0 / 0.8298 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.2203, allocations: 55.88 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.031e-05/0.2203, allocations: 11.92 kB / 0.8299 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.2204, allocations: 8 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.2204, allocations: 7.984 kB / 0.8299 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.526e-05/0.2205, allocations: 7.984 kB / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.085e-06/0.2205, allocations: 0 / 0.8299 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.2206, allocations: 67.86 kB / 0.83 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.2207, allocations: 11.98 kB / 0.83 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.2208, allocations: 7.938 kB / 0.83 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.2209, allocations: 71.78 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2209, allocations: 0 / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2209, allocations: 0 / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.2209, allocations: 3.938 kB / 0.8301 GB, free: 14.12 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003909/0.2213, allocations: 335.5 kB / 0.8304 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2214, allocations: 16.03 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.2214, allocations: 0.9375 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.2215, allocations: 164.3 kB / 0.8306 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.2215, allocations: 4.375 kB / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.2215, allocations: 384 / 0.8306 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.2217, allocations: 54 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2217, allocations: 0 / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.2217, allocations: 0 / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.2217, allocations: 0 / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.207e-05/0.2217, allocations: 15.98 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001604/0.2219, allocations: 161.7 kB / 0.8308 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.185e-05/0.222, allocations: 30.52 kB / 0.8308 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.81e-05/0.222, allocations: 20.94 kB / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.222, allocations: 0 / 0.8308 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.2221, allocations: 71.34 kB / 0.8309 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2222, allocations: 4 kB / 0.8309 GB, free: 13.09 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0002087/0.2224, allocations: 97.52 kB / 0.831 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.2224, allocations: 59.41 kB / 0.8311 GB, free: 12.92 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.2225, allocations: 97.84 kB / 0.8311 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.2225, allocations: 25.7 kB / 0.8312 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.039e-05/0.2225, allocations: 88.14 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.2226, allocations: 7.812 kB / 0.8313 GB, free: 12.69 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.085e-05/0.2226, allocations: 33.7 kB / 0.8313 GB, free: 12.65 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.2227, allocations: 318.9 kB / 0.8316 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.732e-05/0.2228, allocations: 23.92 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.2229, allocations: 69.98 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.223, allocations: 97.88 kB / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.223, allocations: 0 / 0.8318 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001508/0.2232, allocations: 109.8 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.2232, allocations: 18.75 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.2232, allocations: 0 / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.2232, allocations: 4 kB / 0.8319 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.032e-05/0.2233, allocations: 15.92 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2233, allocations: 4 kB / 0.8319 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.2234, allocations: 15.84 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2234, allocations: 4.234 kB / 0.8319 GB, free: 11.93 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 8.758e-05/0.2235, allocations: 117.8 kB / 0.8321 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.2235, allocations: 7.938 kB / 0.8321 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.223e-05/0.2235, allocations: 7.953 kB / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2235, allocations: 0 / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2235, allocations: 3.938 kB / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.2235, allocations: 0 / 0.8321 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.2237, allocations: 157.7 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.2237, allocations: 0 / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-06/0.2237, allocations: 7.938 kB / 0.8322 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.2237, allocations: 3.938 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.2237, allocations: 0 / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2237, allocations: 4 kB / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2237, allocations: 0 / 0.8322 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2239, allocations: 109.1 kB / 0.8323 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.706e-05/0.2239, allocations: 84.95 kB / 0.8324 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.568e-05/0.2239, allocations: 4 kB / 0.8324 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.173e-05/0.2239, allocations: 0 / 0.8324 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.952e-05/0.224, allocations: 3.984 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.224, allocations: 7.984 kB / 0.8324 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.664e-05/0.224, allocations: 79.31 kB / 0.8325 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.224, allocations: 0 / 0.8325 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000222/0.2243, allocations: 28 kB / 0.8325 GB, free: 11.21 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001937/0.2245, allocations: 123.2 kB / 0.8327 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2246, allocations: 63.78 kB / 0.8327 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2246, allocations: 448 / 0.8327 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.2246, allocations: 20 kB / 0.8327 GB, free: 11 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000128/0.2248, allocations: 7.984 kB / 0.8327 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.225, allocations: 120 kB / 0.8329 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2253, allocations: 0.6805 MB / 0.8335 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.16e-05/0.2253, allocations: 7.984 kB / 0.8335 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.52e-05/0.2253, allocations: 7.438 kB / 0.8335 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.2253, allocations: 0 / 0.8335 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of Templates: time 0.002831/0.2282, allocations: 0.6725 MB / 0.8342 GB, free: 9.504 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)