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.006756/0.006756, allocations: 103.9 kB / 15.74 MB, free: 5.953 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.001469/0.00147, allocations: 188.9 kB / 16.67 MB, free: 5.883 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 4.156 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.2 MB / 422.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 55.91 kB / 0.5814 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.4079, allocations: 80.21 MB / 0.6597 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002018/0.4099, allocations: 1.237 MB / 0.6609 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007361/0.4107, allocations: 494.6 kB / 0.6614 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.727e-05/0.4107, allocations: 0 / 0.6614 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.87e-05/0.4108, allocations: 1.406 kB / 0.6614 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.582e-05/0.4108, allocations: 0.6094 kB / 0.6614 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000299/0.4111, allocations: 51.22 kB / 0.6615 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.788e-05/0.4112, allocations: 11.94 kB / 0.6615 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.4112, allocations: 6.359 kB / 0.6615 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.05e-05/0.4112, allocations: 8.219 kB / 0.6615 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.099e-05/0.4113, allocations: 8.141 kB / 0.6615 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.374e-06/0.4113, allocations: 0 / 0.6615 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001459/0.4114, allocations: 68.55 kB / 0.6615 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.4115, allocations: 6.906 kB / 0.6616 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.4115, allocations: 12.88 kB / 0.6616 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001296/0.4117, allocations: 60.17 kB / 0.6616 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.4117, allocations: 5.312 kB / 0.6616 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4117, allocations: 0 / 0.6616 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.4117, allocations: 0 / 0.6616 GB, free: 9.109 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.0002673/0.412, allocations: 342.1 kB / 0.662 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.412, allocations: 10.5 kB / 0.662 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.4121, allocations: 6.766 kB / 0.662 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.702e-05/0.4121, allocations: 161.2 kB / 0.6621 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.4121, allocations: 2.734 kB / 0.6621 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.4121, allocations: 10.66 kB / 0.6621 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.007e-05/0.4122, allocations: 47.38 kB / 0.6622 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.4122, allocations: 1.375 kB / 0.6622 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.4123, allocations: 4.703 kB / 0.6622 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.567e-06/0.4123, allocations: 0 / 0.6622 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.521e-05/0.4123, allocations: 8.422 kB / 0.6622 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.626e-05/0.4124, allocations: 154.3 kB / 0.6623 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.343e-05/0.4124, allocations: 35.41 kB / 0.6624 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.579e-05/0.4125, allocations: 27.92 kB / 0.6624 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-06/0.4125, allocations: 0 / 0.6624 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000118/0.4126, allocations: 68.3 kB / 0.6625 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.4126, allocations: 0 / 0.6625 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0001891/0.4128, allocations: 94.95 kB / 0.6626 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.4129, allocations: 56.78 kB / 0.6626 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.879e-05/0.4129, allocations: 99.78 kB / 0.6627 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.4129, allocations: 29.78 kB / 0.6627 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.1e-05/0.4129, allocations: 80.14 kB / 0.6628 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/0.4129, allocations: 18.5 kB / 0.6628 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.683e-05/0.413, allocations: 33.58 kB / 0.6629 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.141e-05/0.413, allocations: 319.1 kB / 0.6632 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.045e-05/0.4131, allocations: 21.3 kB / 0.6632 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.247e-05/0.4131, allocations: 68.31 kB / 0.6633 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001/0.4132, allocations: 101.1 kB / 0.6634 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4132, allocations: 3.938 kB / 0.6634 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00014/0.4134, allocations: 124.6 kB / 0.6635 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.216e-05/0.4134, allocations: 5.719 kB / 0.6635 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4134, allocations: 1.375 kB / 0.6635 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.4134, allocations: 2.656 kB / 0.6635 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.431e-05/0.4135, allocations: 10.03 kB / 0.6635 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.4135, allocations: 9.578 kB / 0.6635 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.4136, allocations: 10.47 kB / 0.6635 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.4136, allocations: 4.844 kB / 0.6635 GB, free: 7.27 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 6.372e-05/0.4136, allocations: 127.3 kB / 0.6636 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.024e-05/0.4137, allocations: 5.203 kB / 0.6636 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.73e-05/0.4137, allocations: 7.906 kB / 0.6637 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.4137, allocations: 3.984 kB / 0.6637 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.4137, allocations: 0.8125 kB / 0.6637 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4137, allocations: 0 / 0.6637 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.702e-05/0.4138, allocations: 153.3 kB / 0.6638 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4138, allocations: 5.047 kB / 0.6638 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-06/0.4138, allocations: 4 kB / 0.6638 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4138, allocations: 1.219 kB / 0.6638 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.4138, allocations: 1.094 kB / 0.6638 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4138, allocations: 3.938 kB / 0.6638 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.4138, allocations: 1.062 kB / 0.6638 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.4139, allocations: 111.2 kB / 0.6639 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.485e-05/0.414, allocations: 81.11 kB / 0.664 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.414, allocations: 4.562 kB / 0.664 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.203e-05/0.414, allocations: 4.031 kB / 0.664 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.414, allocations: 1.094 kB / 0.664 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.414, allocations: 2.531 kB / 0.664 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.046e-05/0.414, allocations: 76.75 kB / 0.6641 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4141, allocations: 0 / 0.6641 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002272/0.4143, allocations: 29.89 kB / 0.6641 GB, free: 6.633 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.0001473/0.4144, allocations: 123.3 kB / 0.6642 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.4146, allocations: 62.88 kB / 0.6643 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4146, allocations: 1.656 kB / 0.6643 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.574e-05/0.4146, allocations: 17.53 kB / 0.6643 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.4147, allocations: 7.094 kB / 0.6643 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/0.415, allocations: 127.4 kB / 0.6644 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4151, allocations: 0.6754 MB / 0.6651 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.4151, allocations: 16.62 kB / 0.6651 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.4151, allocations: 9.656 kB / 0.6651 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.4151, allocations: 0 / 0.6651 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.002477/0.4176, allocations: 0.674 MB / 0.6658 GB, free: 5.344 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)