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.001087/0.001087, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001102/0.001103, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.804/1.804, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.483/1.483, allocations: 251.9 MB / 0.51 GB, free: 4.789 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.0004935/0.0004936, allocations: 12 kB / 0.6242 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5108, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001494/0.5124, allocations: 0.9734 MB / 0.729 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.5133, allocations: 0.4908 MB / 0.7294 GB, free: 9.965 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.5133, allocations: 4 kB / 0.7295 GB, free: 9.961 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/0.5134, allocations: 4 kB / 0.7295 GB, free: 9.957 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 1.835e-05/0.5134, allocations: 4 kB / 0.7295 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.5137, allocations: 31.89 kB / 0.7295 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 4.918e-05/0.5138, allocations: 7.984 kB / 0.7295 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.727e-05/0.5138, allocations: 4 kB / 0.7295 GB, free: 9.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.5139, allocations: 4 kB / 0.7295 GB, free: 9.906 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 2.571e-05/0.5139, allocations: 7.938 kB / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.879e-06/0.5139, allocations: 0 / 0.7295 GB, free: 9.898 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.5141, allocations: 43.94 kB / 0.7296 GB, free: 9.855 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.502e-05/0.5141, allocations: 11.98 kB / 0.7296 GB, free: 9.844 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.148e-05/0.5142, allocations: 25.7 kB / 0.7296 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.198e-05/0.5143, allocations: 39.95 kB / 0.7296 GB, free: 9.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5143, allocations: 0 / 0.7296 GB, free: 9.773 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.694e-06/0.5143, allocations: 0 / 0.7296 GB, free: 9.773 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.5143, allocations: 0 / 0.7296 GB, free: 9.773 MB / 0.545 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.0003872/0.5147, allocations: 333.2 kB / 0.7299 GB, free: 9.402 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5147, allocations: 12.03 kB / 0.73 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.5148, allocations: 0 / 0.73 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.5149, allocations: 171 kB / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.5149, allocations: 0 / 0.7301 GB, free: 9.184 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.5149, allocations: 4 kB / 0.7301 GB, free: 9.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5151, allocations: 49.67 kB / 0.7302 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.5151, allocations: 4 kB / 0.7302 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.5151, allocations: 0 / 0.7302 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.5151, allocations: 0 / 0.7302 GB, free: 9.121 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.5152, allocations: 8 kB / 0.7302 GB, free: 9.113 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001585/0.5153, allocations: 161.7 kB / 0.7303 GB, free: 8.906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.938e-05/0.5154, allocations: 34.52 kB / 0.7304 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.037e-06/0.5154, allocations: 0 / 0.7304 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/0.5155, allocations: 67.47 kB / 0.7304 GB, free: 8.785 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.5156, allocations: 0 / 0.7304 GB, free: 8.785 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0002583/0.5158, allocations: 182.6 kB / 0.7306 GB, free: 8.582 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.57e-05/0.5159, allocations: 59.39 kB / 0.7307 GB, free: 8.512 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.721e-05/0.5159, allocations: 101.8 kB / 0.7308 GB, free: 8.402 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.516, allocations: 29.7 kB / 0.7308 GB, free: 8.367 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.136e-05/0.516, allocations: 84.14 kB / 0.7309 GB, free: 8.281 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.516, allocations: 15.75 kB / 0.7309 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.516, allocations: 4 kB / 0.7309 GB, free: 8.262 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.5162, allocations: 322.8 kB / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.711e-05/0.5162, allocations: 19.98 kB / 0.7312 GB, free: 7.918 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.097e-05/0.5163, allocations: 66 kB / 0.7313 GB, free: 7.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.332e-05/0.5163, allocations: 27.98 kB / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.728e-05/0.5164, allocations: 0 / 0.7313 GB, free: 7.805 MB / 0.545 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000151/0.5165, allocations: 117.5 kB / 0.7314 GB, free: 7.684 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.5165, allocations: 8 kB / 0.7314 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5165, allocations: 0 / 0.7314 GB, free: 7.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.5166, allocations: 4 kB / 0.7314 GB, free: 7.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.286e-05/0.5167, allocations: 16 kB / 0.7314 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.5167, allocations: 11.92 kB / 0.7315 GB, free: 7.645 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.962e-05/0.5167, allocations: 11.84 kB / 0.7315 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.5167, allocations: 4.219 kB / 0.7315 GB, free: 7.629 MB / 0.545 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.5168, allocations: 127.2 kB / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.193e-06/0.5169, allocations: 0 / 0.7316 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/0.5169, allocations: 7.953 kB / 0.7316 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.5169, allocations: 0 / 0.7316 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.5169, allocations: 0 / 0.7316 GB, free: 7.484 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5169, allocations: 4 kB / 0.7316 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001254/0.517, allocations: 153.6 kB / 0.7318 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.517, allocations: 4 kB / 0.7318 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.277e-06/0.5171, allocations: 4 kB / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.5171, allocations: 0 / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.5171, allocations: 0 / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5171, allocations: 0 / 0.7318 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.5171, allocations: 3.938 kB / 0.7318 GB, free: 7.27 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/0.5172, allocations: 113 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.577e-05/0.5173, allocations: 84.95 kB / 0.732 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.5173, allocations: 4 kB / 0.732 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.5173, allocations: 4.031 kB / 0.732 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.232e-05/0.5173, allocations: 0 / 0.732 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.5174, allocations: 7.938 kB / 0.732 GB, free: 7.023 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.012e-05/0.5174, allocations: 79.27 kB / 0.732 GB, free: 6.945 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5174, allocations: 0 / 0.732 GB, free: 6.945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000213/0.5176, allocations: 24 kB / 0.7321 GB, free: 6.922 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002218/0.5178, allocations: 120.5 kB / 0.7322 GB, free: 6.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.518, allocations: 59.86 kB / 0.7322 GB, free: 6.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.518, allocations: 0 / 0.7322 GB, free: 6.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.518, allocations: 23.98 kB / 0.7323 GB, free: 6.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.153e-05/0.5181, allocations: 3.938 kB / 0.7323 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003018/0.5184, allocations: 120.9 kB / 0.7324 GB, free: 6.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.5187, allocations: 0.6814 MB / 0.733 GB, free: 5.863 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.282e-05/0.5188, allocations: 11.98 kB / 0.7331 GB, free: 5.852 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.72e-05/0.5188, allocations: 11.44 kB / 0.7331 GB, free: 5.84 MB / 0.545 GB Notification: Performance of SimCode: time 2.2e-07/0.5188, allocations: 0 / 0.7331 GB, free: 5.84 MB / 0.545 GB Notification: Performance of Templates: time 0.002788/0.5216, allocations: 0.6381 MB / 0.7337 GB, free: 5.246 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: