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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001626/0.001626, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002019/0.00202, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7427/0.7427, allocations: 132.2 MB / 422.6 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 68.61 kB / 0.5019 GB, free: 3.734 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.3661, allocations: 80.2 MB / 0.5802 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.002437/0.3686, allocations: 1.247 MB / 0.5815 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008288/0.3694, allocations: 492.8 kB / 0.5819 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.275e-05/0.3695, allocations: 0.9375 kB / 0.5819 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.767e-05/0.3695, allocations: 0 / 0.5819 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.066e-05/0.3696, allocations: 1.641 kB / 0.5819 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003704/0.37, allocations: 53.61 kB / 0.582 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.239e-05/0.37, allocations: 13.33 kB / 0.582 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.554e-05/0.3701, allocations: 1.625 kB / 0.582 GB, free: 3.371 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.585e-05/0.3701, allocations: 8.734 kB / 0.582 GB, free: 3.367 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.91e-05/0.3702, allocations: 7.781 kB / 0.582 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.3702, allocations: 1.062 kB / 0.582 GB, free: 3.363 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.3704, allocations: 71.22 kB / 0.5821 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.106e-05/0.3705, allocations: 7.266 kB / 0.5821 GB, free: 3.336 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.405e-05/0.3705, allocations: 12.88 kB / 0.5821 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.3707, allocations: 52.84 kB / 0.5821 GB, free: 3.32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3707, allocations: 3.938 kB / 0.5821 GB, free: 3.316 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3707, allocations: 4.609 kB / 0.5822 GB, free: 3.312 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.3707, allocations: 0 / 0.5822 GB, free: 3.312 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.0003009/0.371, allocations: 341.2 kB / 0.5825 GB, free: 2.953 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3711, allocations: 9.438 kB / 0.5825 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.928e-05/0.3711, allocations: 36.16 kB / 0.5825 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.3711, allocations: 3.531 kB / 0.5825 GB, free: 2.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.638e-05/0.3712, allocations: 165 kB / 0.5827 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3712, allocations: 2.359 kB / 0.5827 GB, free: 2.711 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.3712, allocations: 6.719 kB / 0.5827 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.3713, allocations: 52.12 kB / 0.5827 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.3714, allocations: 5.312 kB / 0.5827 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.826e-06/0.3714, allocations: 0 / 0.5827 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.3714, allocations: 1.719 kB / 0.5827 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.082e-05/0.3714, allocations: 12.45 kB / 0.5828 GB, free: 2.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001116/0.3715, allocations: 156 kB / 0.5829 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.094e-05/0.3716, allocations: 33.8 kB / 0.5829 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.3716, allocations: 22.45 kB / 0.583 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.3716, allocations: 0 / 0.583 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.3718, allocations: 68.8 kB / 0.583 GB, free: 2.363 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.3718, allocations: 0 / 0.583 GB, free: 2.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002016/0.372, allocations: 99.2 kB / 0.5831 GB, free: 2.312 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.372, allocations: 57.61 kB / 0.5832 GB, free: 2.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.794e-05/0.3721, allocations: 94.47 kB / 0.5833 GB, free: 2.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.3721, allocations: 33.19 kB / 0.5833 GB, free: 2.113 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.094e-05/0.3721, allocations: 80.98 kB / 0.5834 GB, free: 2.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.3721, allocations: 16.91 kB / 0.5834 GB, free: 2.02 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3722, allocations: 29.98 kB / 0.5834 GB, free: 1.996 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.072e-05/0.3722, allocations: 317.7 kB / 0.5837 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.53e-05/0.3723, allocations: 25.14 kB / 0.5837 GB, free: 1.672 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.614e-05/0.3723, allocations: 75.39 kB / 0.5838 GB, free: 1.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.3724, allocations: 101.5 kB / 0.5839 GB, free: 1.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3724, allocations: 1.312 kB / 0.5839 GB, free: 1.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001616/0.3726, allocations: 113.1 kB / 0.584 GB, free: 1.461 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.3726, allocations: 5.438 kB / 0.584 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3726, allocations: 2.938 kB / 0.584 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3727, allocations: 1.812 kB / 0.584 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.3728, allocations: 15.59 kB / 0.584 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3728, allocations: 6.797 kB / 0.5841 GB, free: 1.453 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.721e-05/0.3728, allocations: 15.56 kB / 0.5841 GB, free: 1.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3728, allocations: 3.969 kB / 0.5841 GB, free: 1.441 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.518e-05/0.3729, allocations: 129.3 kB / 0.5842 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.091e-05/0.3729, allocations: 5.375 kB / 0.5842 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.973e-05/0.3729, allocations: 4.766 kB / 0.5842 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.373, allocations: 1.312 kB / 0.5842 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.373, allocations: 0.6562 kB / 0.5842 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.373, allocations: 8 kB / 0.5842 GB, free: 1.301 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.154e-05/0.3731, allocations: 156.7 kB / 0.5844 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.3731, allocations: 0.9375 kB / 0.5844 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-06/0.3731, allocations: 4 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3731, allocations: 1.641 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3731, allocations: 1.031 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.3731, allocations: 1.562 kB / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3731, allocations: 0 / 0.5844 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.3732, allocations: 115 kB / 0.5845 GB, free: 1.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.1e-05/0.3733, allocations: 87 kB / 0.5846 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3733, allocations: 7.281 kB / 0.5846 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.311e-05/0.3733, allocations: 1.641 kB / 0.5846 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.3733, allocations: 1.984 kB / 0.5846 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/0.3733, allocations: 3.016 kB / 0.5846 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.352e-05/0.3734, allocations: 75.28 kB / 0.5847 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3734, allocations: 0 / 0.5847 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3737, allocations: 23.31 kB / 0.5847 GB, free: 0.832 MB / 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.0004086/0.3741, allocations: 0.6653 MB / 0.5853 GB, free: 224 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3742, allocations: 59.05 kB / 0.5854 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3742, allocations: 1.688 kB / 0.5854 GB, free: 208 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.394e-05/0.3743, allocations: 20.2 kB / 0.5854 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.3744, allocations: 5.844 kB / 0.5854 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.3748, allocations: 142.4 kB / 0.5855 GB, free: 52 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.3751, allocations: 0.6784 MB / 0.5862 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.53e-05/0.3751, allocations: 5.703 kB / 0.5862 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.3752, allocations: 13.67 kB / 0.5862 GB, free: 15.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3752, allocations: 64 / 0.5862 GB, free: 15.34 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.3941, allocations: 1.561 MB / 0.5877 GB, free: 15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.012/7.406, allocations: 8.969 kB / 0.5878 GB, free: 15 MB / 446.1 MB (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells_res.csv --start-time 3.5 --stop-time 5.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)