Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.00772/0.00772, allocations: 101.6 kB / 15.73 MB, free: 6.477 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.001822/0.001823, allocations: 195.6 kB / 16.67 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7777/0.7777, allocations: 132.2 MB / 422.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 59.91 kB / 0.5814 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4491, allocations: 80.21 MB / 0.6597 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002042/0.4512, allocations: 1.23 MB / 0.6609 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007849/0.452, allocations: 493.3 kB / 0.6614 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.452, allocations: 0 / 0.6614 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.663e-05/0.452, allocations: 1.375 kB / 0.6614 GB, free: 9.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.689e-05/0.4521, allocations: 4.547 kB / 0.6614 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.4525, allocations: 55.31 kB / 0.6614 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.034e-05/0.4525, allocations: 12.3 kB / 0.6615 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.4526, allocations: 2.703 kB / 0.6615 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.571e-05/0.4526, allocations: 4.516 kB / 0.6615 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.9e-05/0.4526, allocations: 3.156 kB / 0.6615 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-06/0.4527, allocations: 5.562 kB / 0.6615 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.4528, allocations: 70.31 kB / 0.6615 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.4529, allocations: 12.45 kB / 0.6616 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.729e-05/0.453, allocations: 8.094 kB / 0.6616 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.4531, allocations: 64.41 kB / 0.6616 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4531, allocations: 4.703 kB / 0.6616 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4531, allocations: 0 / 0.6616 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.015e-05/0.4531, allocations: 1.219 kB / 0.6616 GB, free: 9.031 MB / 0.4981 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.0003081/0.4535, allocations: 334.3 kB / 0.6619 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.4535, allocations: 12.88 kB / 0.662 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.769e-05/0.4535, allocations: 3.031 kB / 0.662 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.395e-05/0.4536, allocations: 162 kB / 0.6621 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4536, allocations: 2 kB / 0.6621 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.4536, allocations: 9.562 kB / 0.6621 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.4537, allocations: 49.66 kB / 0.6622 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.129e-06/0.4538, allocations: 3.938 kB / 0.6622 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.4538, allocations: 5.109 kB / 0.6622 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.4538, allocations: 0 / 0.6622 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.163e-05/0.4538, allocations: 17.91 kB / 0.6622 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001057/0.4539, allocations: 161 kB / 0.6624 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.807e-05/0.454, allocations: 32.19 kB / 0.6624 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.535e-05/0.454, allocations: 22.55 kB / 0.6624 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.574e-06/0.454, allocations: 1.438 kB / 0.6624 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001112/0.4541, allocations: 67 kB / 0.6625 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4542, allocations: 4 kB / 0.6625 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002036/0.4544, allocations: 92.72 kB / 0.6626 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.4544, allocations: 60 kB / 0.6626 GB, free: 8.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.228e-05/0.4544, allocations: 94.75 kB / 0.6627 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4544, allocations: 29.52 kB / 0.6627 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.334e-05/0.4545, allocations: 86.12 kB / 0.6628 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.4545, allocations: 13.8 kB / 0.6628 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.209e-05/0.4545, allocations: 29.86 kB / 0.6629 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.834e-05/0.4546, allocations: 322.7 kB / 0.6632 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.337e-05/0.4546, allocations: 23.59 kB / 0.6632 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.89e-05/0.4547, allocations: 69.55 kB / 0.6633 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000104/0.4548, allocations: 97.69 kB / 0.6634 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4548, allocations: 0 / 0.6634 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001573/0.455, allocations: 122 kB / 0.6635 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.455, allocations: 5.188 kB / 0.6635 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.455, allocations: 2.875 kB / 0.6635 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.455, allocations: 2.625 kB / 0.6635 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.859e-05/0.4551, allocations: 10.27 kB / 0.6635 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4551, allocations: 2.891 kB / 0.6635 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.584e-05/0.4552, allocations: 15.88 kB / 0.6635 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.4552, allocations: 3.625 kB / 0.6635 GB, free: 7.207 MB / 0.4981 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 7.777e-05/0.4553, allocations: 133.7 kB / 0.6636 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.4553, allocations: 1.797 kB / 0.6636 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.4553, allocations: 3.969 kB / 0.6636 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.4553, allocations: 1.828 kB / 0.6636 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4553, allocations: 0 / 0.6636 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4553, allocations: 0.875 kB / 0.6636 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.088e-05/0.4554, allocations: 156.2 kB / 0.6638 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4554, allocations: 1.188 kB / 0.6638 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.017e-06/0.4554, allocations: 0.6562 kB / 0.6638 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4555, allocations: 1.094 kB / 0.6638 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.4555, allocations: 9.969 kB / 0.6638 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.91e-07/0.4555, allocations: 0 / 0.6638 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.4555, allocations: 0 / 0.6638 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.4556, allocations: 115 kB / 0.6639 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.732e-05/0.4556, allocations: 79.7 kB / 0.664 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.4556, allocations: 4.5 kB / 0.664 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.265e-05/0.4557, allocations: 0 / 0.664 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.4557, allocations: 5.922 kB / 0.664 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.4557, allocations: 7.219 kB / 0.664 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.047e-05/0.4557, allocations: 75.28 kB / 0.6641 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4557, allocations: 0 / 0.6641 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002334/0.456, allocations: 27.28 kB / 0.6641 GB, free: 6.59 MB / 0.4981 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.0001569/0.4561, allocations: 128.6 kB / 0.6642 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4563, allocations: 59.55 kB / 0.6643 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4563, allocations: 4.062 kB / 0.6643 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.973e-05/0.4563, allocations: 21.3 kB / 0.6643 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.4564, allocations: 6.828 kB / 0.6643 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002213/0.4567, allocations: 126 kB / 0.6644 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.575e-05/0.4568, allocations: 0.6782 MB / 0.6651 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.4568, allocations: 9.156 kB / 0.6651 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.293e-05/0.4568, allocations: 10.12 kB / 0.6651 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.4568, allocations: 4.062 kB / 0.6651 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.002554/0.4594, allocations: 0.6656 MB / 0.6658 GB, free: 5.348 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)