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.004513/0.004513, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001183/0.001183, allocations: 194.3 kB / 16.67 MB, free: 5.938 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.261/1.261, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7288/0.7288, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 64.14 kB / 0.5814 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3688, allocations: 80.2 MB / 0.6597 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002113/0.371, allocations: 1.238 MB / 0.6609 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007175/0.3717, allocations: 488.9 kB / 0.6614 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.916e-05/0.3717, allocations: 0 / 0.6614 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.989e-05/0.3718, allocations: 2.078 kB / 0.6614 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.028e-05/0.3718, allocations: 8.828 kB / 0.6614 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.3722, allocations: 57.91 kB / 0.6615 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.298e-05/0.3722, allocations: 9.406 kB / 0.6615 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.3723, allocations: 2.391 kB / 0.6615 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.086e-05/0.3723, allocations: 3.812 kB / 0.6615 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.471e-05/0.3723, allocations: 4.047 kB / 0.6615 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.3724, allocations: 5.078 kB / 0.6615 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000168/0.3725, allocations: 67.12 kB / 0.6615 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.531e-05/0.3726, allocations: 16.31 kB / 0.6616 GB, free: 9.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.881e-05/0.3726, allocations: 8.641 kB / 0.6616 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3728, allocations: 61.34 kB / 0.6616 GB, free: 9.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3728, allocations: 5.156 kB / 0.6616 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3728, allocations: 0 / 0.6616 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.3728, allocations: 0 / 0.6616 GB, free: 9.086 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.000312/0.3731, allocations: 338.3 kB / 0.6619 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3732, allocations: 9.312 kB / 0.662 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.3732, allocations: 10.83 kB / 0.662 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.976e-05/0.3733, allocations: 166.5 kB / 0.6621 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.3733, allocations: 5.875 kB / 0.6621 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.3733, allocations: 5.938 kB / 0.6621 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.3734, allocations: 49.05 kB / 0.6622 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.3734, allocations: 0 / 0.6622 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.3735, allocations: 5.328 kB / 0.6622 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.3735, allocations: 0 / 0.6622 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.288e-05/0.3735, allocations: 17.22 kB / 0.6622 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001045/0.3736, allocations: 151.9 kB / 0.6624 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.26e-05/0.3737, allocations: 37.73 kB / 0.6624 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.538e-05/0.3737, allocations: 22.34 kB / 0.6624 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-06/0.3737, allocations: 0.6094 kB / 0.6624 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001047/0.3738, allocations: 64.06 kB / 0.6625 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.3738, allocations: 3.938 kB / 0.6625 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.0002055/0.374, allocations: 99.38 kB / 0.6626 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.3741, allocations: 60.33 kB / 0.6626 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.546e-05/0.3741, allocations: 100.6 kB / 0.6627 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.3741, allocations: 29.36 kB / 0.6628 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.793e-05/0.3741, allocations: 84.14 kB / 0.6628 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.402e-05/0.3742, allocations: 13.28 kB / 0.6628 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/0.3742, allocations: 29.62 kB / 0.6629 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.813e-05/0.3743, allocations: 318.4 kB / 0.6632 GB, free: 7.484 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.3743, allocations: 24.7 kB / 0.6632 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.3744, allocations: 69.92 kB / 0.6633 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.3745, allocations: 100.9 kB / 0.6634 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3745, allocations: 1.25 kB / 0.6634 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001477/0.3747, allocations: 113.1 kB / 0.6635 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.3747, allocations: 6.703 kB / 0.6635 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.3747, allocations: 1.781 kB / 0.6635 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3747, allocations: 6.25 kB / 0.6635 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.142e-05/0.3748, allocations: 16.28 kB / 0.6635 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.3748, allocations: 3.094 kB / 0.6635 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.303e-05/0.3749, allocations: 14.08 kB / 0.6635 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.3749, allocations: 4.438 kB / 0.6635 GB, free: 7.25 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.625e-05/0.3749, allocations: 129.1 kB / 0.6636 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.218e-06/0.375, allocations: 1.734 kB / 0.6636 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.777e-05/0.375, allocations: 4.625 kB / 0.6636 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.375, allocations: 5.125 kB / 0.6637 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.375, allocations: 0 / 0.6637 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.375, allocations: 1.844 kB / 0.6637 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.773e-05/0.3751, allocations: 156.3 kB / 0.6638 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.3751, allocations: 1.656 kB / 0.6638 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.116e-06/0.3751, allocations: 0 / 0.6638 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.3751, allocations: 0 / 0.6638 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.685e-06/0.3751, allocations: 5.5 kB / 0.6638 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3751, allocations: 3.984 kB / 0.6638 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3751, allocations: 1.25 kB / 0.6638 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.977e-05/0.3752, allocations: 106.2 kB / 0.6639 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.558e-05/0.3752, allocations: 86.27 kB / 0.664 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.3753, allocations: 7.625 kB / 0.664 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.122e-05/0.3753, allocations: 1.5 kB / 0.664 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.3753, allocations: 0 / 0.664 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.3753, allocations: 2.906 kB / 0.664 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.064e-05/0.3753, allocations: 76.56 kB / 0.6641 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.3753, allocations: 0 / 0.6641 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00022/0.3756, allocations: 30.09 kB / 0.6641 GB, free: 6.621 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.000142/0.3757, allocations: 134.2 kB / 0.6642 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001152/0.3758, allocations: 56.55 kB / 0.6643 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3758, allocations: 0 / 0.6643 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.761e-05/0.3759, allocations: 18.98 kB / 0.6643 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001193/0.376, allocations: 5.719 kB / 0.6643 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002076/0.3762, allocations: 126.9 kB / 0.6644 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.642e-05/0.3763, allocations: 0.6793 MB / 0.6651 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.737e-05/0.3763, allocations: 3.469 kB / 0.6651 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.3763, allocations: 9.656 kB / 0.6651 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.3763, allocations: 1.219 kB / 0.6651 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of Templates: time 0.002359/0.3787, allocations: 0.6688 MB / 0.6658 GB, free: 5.34 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)