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.001304/0.001304, allocations: 103.3 kB / 15.06 MB, free: 1.098 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.001537/0.001538, allocations: 173.3 kB / 15.95 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.056/2.056, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8583/0.8583, allocations: 132.2 MB / 423.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005452/0.0005454, allocations: 20.55 kB / 0.5033 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4802, allocations: 81.57 MB / 0.583 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001232/0.4815, allocations: 0.9602 MB / 0.5839 GB, free: 3.312 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006695/0.4822, allocations: 464.9 kB / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.561e-05/0.4822, allocations: 1.125 kB / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.15e-05/0.4823, allocations: 0 / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.846e-05/0.4823, allocations: 0 / 0.5844 GB, free: 3.004 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003237/0.4826, allocations: 32.92 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.182e-05/0.4827, allocations: 9.953 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.191e-05/0.4827, allocations: 1.531 kB / 0.5844 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.182e-05/0.4827, allocations: 12.78 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.439e-05/0.4828, allocations: 9.203 kB / 0.5845 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.4828, allocations: 1.156 kB / 0.5845 GB, free: 2.977 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.4829, allocations: 36.73 kB / 0.5845 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.483, allocations: 12.17 kB / 0.5845 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.42e-05/0.483, allocations: 33.33 kB / 0.5845 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.682e-05/0.4831, allocations: 35.44 kB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.4831, allocations: 0.75 kB / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4831, allocations: 0 / 0.5846 GB, free: 2.922 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.4831, allocations: 0 / 0.5846 GB, free: 2.922 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.0002809/0.4834, allocations: 335.9 kB / 0.5849 GB, free: 2.562 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4835, allocations: 13.31 kB / 0.5849 GB, free: 2.559 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.98e-05/0.4835, allocations: 32.08 kB / 0.5849 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.387e-05/0.4835, allocations: 2.969 kB / 0.5849 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.226e-05/0.4836, allocations: 167.7 kB / 0.5851 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.4836, allocations: 2.203 kB / 0.5851 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.4836, allocations: 6.219 kB / 0.5851 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.4838, allocations: 44.98 kB / 0.5851 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.482e-06/0.4838, allocations: 0 / 0.5851 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.4838, allocations: 5 kB / 0.5852 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.4838, allocations: 7.938 kB / 0.5852 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.851e-05/0.4838, allocations: 9.422 kB / 0.5852 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001124/0.4839, allocations: 156.6 kB / 0.5853 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.484, allocations: 29.09 kB / 0.5853 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-06/0.484, allocations: 1.062 kB / 0.5853 GB, free: 2.047 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001341/0.4842, allocations: 72.39 kB / 0.5854 GB, free: 1.988 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.4842, allocations: 4 kB / 0.5854 GB, free: 1.984 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002272/0.4844, allocations: 173.2 kB / 0.5856 GB, free: 1.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.4844, allocations: 58.11 kB / 0.5856 GB, free: 1.781 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.081e-05/0.4845, allocations: 90.38 kB / 0.5857 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.4845, allocations: 33.47 kB / 0.5858 GB, free: 1.648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.47e-05/0.4845, allocations: 82.02 kB / 0.5858 GB, free: 1.566 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.4845, allocations: 20.98 kB / 0.5859 GB, free: 1.551 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.4845, allocations: 0 / 0.5859 GB, free: 1.551 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.381e-05/0.4846, allocations: 321.5 kB / 0.5862 GB, free: 1.23 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.171e-05/0.4847, allocations: 24.64 kB / 0.5862 GB, free: 1.223 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.17e-05/0.4847, allocations: 69.52 kB / 0.5863 GB, free: 1.156 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.755e-05/0.4848, allocations: 31.88 kB / 0.5863 GB, free: 1.145 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.4848, allocations: 1.125 kB / 0.5863 GB, free: 1.145 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001664/0.485, allocations: 108.4 kB / 0.5864 GB, free: 1.09 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.485, allocations: 5.547 kB / 0.5864 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.485, allocations: 5.797 kB / 0.5864 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.485, allocations: 7.406 kB / 0.5864 GB, free: 1.082 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.4851, allocations: 15.86 kB / 0.5864 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.4851, allocations: 6.625 kB / 0.5864 GB, free: 1.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.4852, allocations: 18.66 kB / 0.5864 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4852, allocations: 5.219 kB / 0.5864 GB, free: 1.059 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 ($PRE.QAggShi_flow[5],QAggShi_flow[5],$PRE.QAggShi_flow[4],QAggShi_flow[4],$PRE.QAggShi_flow[3],QAggShi_flow[3],$PRE.QAggShi_flow[2],QAggShi_flow[2],$PRE.QAggShi_flow[1],QAggShi_flow[1],$PRE.curCel,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.713e-05/0.4853, allocations: 127.6 kB / 0.5866 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.4853, allocations: 1.391 kB / 0.5866 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.895e-05/0.4853, allocations: 4.531 kB / 0.5866 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.4853, allocations: 0.875 kB / 0.5866 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4853, allocations: 8 kB / 0.5866 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.4853, allocations: 1.625 kB / 0.5866 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.895e-05/0.4854, allocations: 156.3 kB / 0.5867 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4854, allocations: 0.6094 kB / 0.5867 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-06/0.4854, allocations: 1.062 kB / 0.5867 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4854, allocations: 0.6562 kB / 0.5867 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.4854, allocations: 0.875 kB / 0.5867 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.4855, allocations: 1.609 kB / 0.5867 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4855, allocations: 0 / 0.5867 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.4856, allocations: 110.1 kB / 0.5868 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.4856, allocations: 86.48 kB / 0.5869 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.4856, allocations: 5.156 kB / 0.5869 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.309e-05/0.4857, allocations: 0 / 0.5869 GB, free: 0.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.71e-05/0.4857, allocations: 6.094 kB / 0.5869 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.4857, allocations: 3.781 kB / 0.5869 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.24e-05/0.4857, allocations: 75.28 kB / 0.587 GB, free: 476 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4857, allocations: 0 / 0.587 GB, free: 476 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.486, allocations: 26.72 kB / 0.587 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/0.4864, allocations: 0.663 MB / 0.5877 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.4865, allocations: 56.78 kB / 0.5877 GB, free: 15.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4865, allocations: 6.094 kB / 0.5877 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.861e-05/0.4866, allocations: 20.08 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.891e-05/0.4867, allocations: 3.75 kB / 0.5878 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000396/0.4871, allocations: 151.5 kB / 0.5879 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.4874, allocations: 0.6809 MB / 0.5886 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.635e-05/0.4874, allocations: 5.859 kB / 0.5886 GB, free: 14.97 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.4875, allocations: 16.11 kB / 0.5886 GB, free: 14.96 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4875, allocations: 4.062 kB / 0.5886 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8003/1.288, allocations: 1.357 MB / 0.5899 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000383/1.288, allocations: 234.6 kB / 0.5902 GB, free: 14.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.044/5.332, allocations: 4 kB / 0.5902 GB, free: 14.6 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1) Environment - environmentSimulation: