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.0008193/0.0008193, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005021/0.005021, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7672/0.7672, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 8 kB / 0.504 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4125, allocations: 81.57 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001156/0.4137, allocations: 0.9679 MB / 0.5847 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008344/0.4146, allocations: 491.4 kB / 0.5851 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.4146, allocations: 0 / 0.5851 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.4147, allocations: 0.6094 kB / 0.5851 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.407e-05/0.4147, allocations: 1.594 kB / 0.5851 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003002/0.415, allocations: 48.88 kB / 0.5852 GB, free: 2.984 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.135e-05/0.4151, allocations: 21.56 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.4152, allocations: 1.875 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.177e-05/0.4152, allocations: 3.578 kB / 0.5852 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.4152, allocations: 13.92 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.4152, allocations: 1.062 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.4154, allocations: 69.14 kB / 0.5853 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.4155, allocations: 7.453 kB / 0.5853 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.4155, allocations: 40.14 kB / 0.5853 GB, free: 2.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.4157, allocations: 66.81 kB / 0.5854 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4157, allocations: 0 / 0.5854 GB, free: 2.895 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4157, allocations: 0 / 0.5854 GB, free: 2.895 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.4157, allocations: 0 / 0.5854 GB, free: 2.895 MB / 430.1 MB 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.0002998/0.416, allocations: 331.9 kB / 0.5857 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.416, allocations: 13.62 kB / 0.5857 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.027e-05/0.4161, allocations: 2.812 kB / 0.5857 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.08e-05/0.4161, allocations: 169.8 kB / 0.5859 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.4162, allocations: 1.656 kB / 0.5859 GB, free: 2.332 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.4162, allocations: 10.91 kB / 0.5859 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.4163, allocations: 48.53 kB / 0.5859 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.4163, allocations: 0.9375 kB / 0.5859 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.4163, allocations: 0 / 0.5859 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.4163, allocations: 0.5625 kB / 0.5859 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.926e-05/0.4164, allocations: 16.64 kB / 0.586 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001066/0.4165, allocations: 153.5 kB / 0.5861 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.754e-05/0.4165, allocations: 33.12 kB / 0.5861 GB, free: 2.059 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.4166, allocations: 30.72 kB / 0.5862 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.4166, allocations: 0 / 0.5862 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001294/0.4167, allocations: 63.95 kB / 0.5862 GB, free: 1.984 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4167, allocations: 0 / 0.5862 GB, free: 1.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002004/0.4169, allocations: 103.7 kB / 0.5863 GB, free: 1.93 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.417, allocations: 61.28 kB / 0.5864 GB, free: 1.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.884e-05/0.417, allocations: 92.31 kB / 0.5865 GB, free: 1.766 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.417, allocations: 31.8 kB / 0.5865 GB, free: 1.73 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.319e-05/0.417, allocations: 85.23 kB / 0.5866 GB, free: 1.645 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.4171, allocations: 13.08 kB / 0.5866 GB, free: 1.637 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.783e-05/0.4171, allocations: 24.45 kB / 0.5866 GB, free: 1.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.4172, allocations: 318.3 kB / 0.5869 GB, free: 1.297 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.251e-05/0.4172, allocations: 20.75 kB / 0.5869 GB, free: 1.293 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.4173, allocations: 68.16 kB / 0.587 GB, free: 1.227 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.4174, allocations: 101 kB / 0.5871 GB, free: 1.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4174, allocations: 0.7188 kB / 0.5871 GB, free: 1.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001591/0.4176, allocations: 114 kB / 0.5872 GB, free: 1.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.4176, allocations: 6.562 kB / 0.5872 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4176, allocations: 2.609 kB / 0.5872 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.4176, allocations: 2.594 kB / 0.5872 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.4177, allocations: 19.02 kB / 0.5872 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.4177, allocations: 7.438 kB / 0.5872 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.38e-05/0.4177, allocations: 14.91 kB / 0.5873 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4178, allocations: 4.188 kB / 0.5873 GB, free: 1.062 MB / 430.1 MB 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.213e-05/0.4178, allocations: 126.1 kB / 0.5874 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.308e-06/0.4179, allocations: 5.844 kB / 0.5874 GB, free: 0.9375 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.846e-05/0.4179, allocations: 4.625 kB / 0.5874 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.4179, allocations: 1.219 kB / 0.5874 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4179, allocations: 0 / 0.5874 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4179, allocations: 4.75 kB / 0.5874 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.414e-05/0.418, allocations: 156.5 kB / 0.5876 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.418, allocations: 0 / 0.5876 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-06/0.418, allocations: 1.453 kB / 0.5876 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.418, allocations: 4.812 kB / 0.5876 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.418, allocations: 1.188 kB / 0.5876 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.418, allocations: 1 kB / 0.5876 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.418, allocations: 0 / 0.5876 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.4182, allocations: 114 kB / 0.5877 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.092e-05/0.4182, allocations: 84.3 kB / 0.5877 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.4182, allocations: 4.281 kB / 0.5878 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.232e-05/0.4182, allocations: 0.6094 kB / 0.5878 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.4182, allocations: 1.641 kB / 0.5878 GB, free: 0.5469 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.62e-05/0.4183, allocations: 7.609 kB / 0.5878 GB, free: 0.543 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.235e-05/0.4183, allocations: 75.28 kB / 0.5878 GB, free: 480 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4183, allocations: 0 / 0.5878 GB, free: 480 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.4185, allocations: 32.62 kB / 0.5879 GB, free: 468 kB / 430.1 MB 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.0001909/0.4187, allocations: 123.9 kB / 0.588 GB, free: 372 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.4189, allocations: 53.77 kB / 0.588 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4189, allocations: 0 / 0.588 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.4189, allocations: 21.17 kB / 0.5881 GB, free: 352 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001369/0.4191, allocations: 12.23 kB / 0.5881 GB, free: 344 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002388/0.4193, allocations: 123.5 kB / 0.5882 GB, free: 228 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.4196, allocations: 0.6824 MB / 0.5888 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.306e-05/0.4196, allocations: 5.359 kB / 0.5889 GB, free: 15.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.4196, allocations: 9.188 kB / 0.5889 GB, free: 15.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4196, allocations: 0.5625 kB / 0.5889 GB, free: 15.52 MB / 446.1 MB Notification: Performance of Templates: time 0.002908/0.4225, allocations: 0.6287 MB / 0.5895 GB, free: 15.46 MB / 446.1 MB 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)