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.0008232/0.0008233, allocations: 92.31 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.0009316/0.0009318, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 223.2 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7424/0.7424, allocations: 132.3 MB / 423.4 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003045, allocations: 8 kB / 0.5035 GB, free: 4.117 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4031, allocations: 81.57 MB / 0.5832 GB, free: 3.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001166/0.4043, allocations: 0.9697 MB / 0.5841 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007014/0.405, allocations: 460.3 kB / 0.5846 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.822e-05/0.405, allocations: 0 / 0.5846 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.396e-05/0.4051, allocations: 0.625 kB / 0.5846 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.744e-05/0.4051, allocations: 2.391 kB / 0.5846 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.4054, allocations: 45.25 kB / 0.5846 GB, free: 2.848 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.952e-05/0.4055, allocations: 16.33 kB / 0.5846 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.4056, allocations: 2.234 kB / 0.5846 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.972e-05/0.4056, allocations: 18.58 kB / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.773e-05/0.4056, allocations: 6.969 kB / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.4057, allocations: 0.625 kB / 0.5847 GB, free: 2.832 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.4058, allocations: 39.12 kB / 0.5847 GB, free: 2.824 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.619e-05/0.4058, allocations: 16.58 kB / 0.5847 GB, free: 2.816 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.4059, allocations: 29.02 kB / 0.5847 GB, free: 2.785 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.333e-05/0.406, allocations: 35.72 kB / 0.5848 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.406, allocations: 1.125 kB / 0.5848 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.406, allocations: 0 / 0.5848 GB, free: 2.777 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.406, allocations: 0 / 0.5848 GB, free: 2.777 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.0002547/0.4063, allocations: 335.5 kB / 0.5851 GB, free: 2.418 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.4063, allocations: 10.03 kB / 0.5851 GB, free: 2.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.994e-05/0.4063, allocations: 32.89 kB / 0.5851 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.4064, allocations: 1.797 kB / 0.5851 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.889e-05/0.4064, allocations: 167.6 kB / 0.5853 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.4065, allocations: 7.047 kB / 0.5853 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.241e-05/0.4065, allocations: 5.625 kB / 0.5853 GB, free: 2.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001137/0.4066, allocations: 48.73 kB / 0.5854 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.4066, allocations: 0 / 0.5854 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.785e-06/0.4066, allocations: 0.6094 kB / 0.5854 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.4066, allocations: 1.344 kB / 0.5854 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.644e-05/0.4067, allocations: 12.33 kB / 0.5854 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.4068, allocations: 156.4 kB / 0.5855 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.809e-05/0.4068, allocations: 37.42 kB / 0.5856 GB, free: 1.898 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.837e-05/0.4069, allocations: 18.44 kB / 0.5856 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.4069, allocations: 0 / 0.5856 GB, free: 1.887 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001185/0.407, allocations: 73.11 kB / 0.5856 GB, free: 1.828 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.407, allocations: 0 / 0.5856 GB, free: 1.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001978/0.4072, allocations: 98.56 kB / 0.5857 GB, free: 1.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.4073, allocations: 61.09 kB / 0.5858 GB, free: 1.711 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.953e-05/0.4073, allocations: 91.77 kB / 0.5859 GB, free: 1.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.4073, allocations: 32.41 kB / 0.5859 GB, free: 1.578 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.424e-05/0.4073, allocations: 81.17 kB / 0.586 GB, free: 1.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.4073, allocations: 17.61 kB / 0.586 GB, free: 1.484 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4074, allocations: 3.938 kB / 0.586 GB, free: 1.48 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.209e-05/0.4074, allocations: 326.4 kB / 0.5863 GB, free: 1.156 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.041e-05/0.4074, allocations: 24.17 kB / 0.5863 GB, free: 1.148 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.896e-05/0.4075, allocations: 72.28 kB / 0.5864 GB, free: 1.078 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.672e-05/0.4076, allocations: 28.5 kB / 0.5864 GB, free: 1.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4076, allocations: 1 kB / 0.5864 GB, free: 1.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001575/0.4077, allocations: 116.6 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.4078, allocations: 6.062 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.4078, allocations: 3.656 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4078, allocations: 1.656 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.4079, allocations: 12.22 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4079, allocations: 1.766 kB / 0.5866 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.4079, allocations: 10.56 kB / 0.5866 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.4079, allocations: 9.188 kB / 0.5866 GB, free: 0.9961 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.222e-05/0.408, allocations: 133.3 kB / 0.5867 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/0.408, allocations: 1.578 kB / 0.5867 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.744e-05/0.4081, allocations: 4.531 kB / 0.5867 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4081, allocations: 1.219 kB / 0.5867 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4081, allocations: 4.609 kB / 0.5867 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.4081, allocations: 0.8125 kB / 0.5867 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.278e-05/0.4082, allocations: 152.7 kB / 0.5869 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4082, allocations: 4.703 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.105e-06/0.4082, allocations: 0 / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.4082, allocations: 0.7188 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4082, allocations: 3.016 kB / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4082, allocations: 0 / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4082, allocations: 0 / 0.5869 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.4083, allocations: 110.1 kB / 0.587 GB, free: 0.582 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.4083, allocations: 82.91 kB / 0.5871 GB, free: 496 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.4084, allocations: 9.25 kB / 0.5871 GB, free: 492 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.4084, allocations: 4.031 kB / 0.5871 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.4084, allocations: 2.031 kB / 0.5871 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.4084, allocations: 3.906 kB / 0.5871 GB, free: 488 kB / 430.1 MB Notification: Performance of sorting global known variables: time 1.071e-05/0.4085, allocations: 75.28 kB / 0.5872 GB, free: 412 kB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4085, allocations: 0 / 0.5872 GB, free: 412 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002373/0.4087, allocations: 22.3 kB / 0.5872 GB, free: 408 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.000403/0.4091, allocations: 0.6714 MB / 0.5878 GB, free: 15.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000133/0.4093, allocations: 60.92 kB / 0.5879 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4093, allocations: 0 / 0.5879 GB, free: 15.76 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.4093, allocations: 16.88 kB / 0.5879 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.4095, allocations: 6.062 kB / 0.5879 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000385/0.4099, allocations: 155.8 kB / 0.5881 GB, free: 15.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.4101, allocations: 0.6778 MB / 0.5887 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.262e-05/0.4101, allocations: 5.891 kB / 0.5887 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.503e-05/0.4102, allocations: 14.06 kB / 0.5888 GB, free: 14.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4102, allocations: 0 / 0.5888 GB, free: 14.89 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01121/0.4214, allocations: 1.377 MB / 0.5901 GB, free: 14.76 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/0.4216, allocations: 248.4 kB / 0.5903 GB, free: 14.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.041, allocations: 4.469 kB / 0.5903 GB, free: 14.48 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: