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.0009521/0.000952, allocations: 97.64 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.005521/0.005521, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.218/1.218, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6853/0.6853, allocations: 132.3 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003135, allocations: 8 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3257, allocations: 81.57 MB / 0.5838 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001006/0.3267, allocations: 0.9793 MB / 0.5847 GB, free: 3.352 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006359/0.3274, allocations: 476.3 kB / 0.5852 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.198e-05/0.3274, allocations: 0 / 0.5852 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.3274, allocations: 1.125 kB / 0.5852 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.757e-05/0.3275, allocations: 1.859 kB / 0.5852 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.3277, allocations: 44.92 kB / 0.5852 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.003e-05/0.3278, allocations: 25.53 kB / 0.5853 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.3278, allocations: 2.016 kB / 0.5853 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.895e-05/0.3279, allocations: 11.16 kB / 0.5853 GB, free: 3 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.457e-05/0.3279, allocations: 13.89 kB / 0.5853 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.655e-06/0.3279, allocations: 1.375 kB / 0.5853 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.3281, allocations: 69.66 kB / 0.5854 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.3281, allocations: 7.453 kB / 0.5854 GB, free: 2.969 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.291e-05/0.3281, allocations: 39.36 kB / 0.5854 GB, free: 2.93 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001233/0.3283, allocations: 62.39 kB / 0.5855 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3283, allocations: 0 / 0.5855 GB, free: 2.918 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3283, allocations: 4 kB / 0.5855 GB, free: 2.914 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.866e-06/0.3283, allocations: 0.9375 kB / 0.5855 GB, free: 2.914 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.0002178/0.3285, allocations: 335.3 kB / 0.5858 GB, free: 2.555 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.3286, allocations: 9.906 kB / 0.5858 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.304e-05/0.3286, allocations: 32.56 kB / 0.5858 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.964e-05/0.3286, allocations: 2.656 kB / 0.5858 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.987e-05/0.3287, allocations: 166.7 kB / 0.586 GB, free: 2.316 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.3287, allocations: 5.625 kB / 0.586 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3287, allocations: 7.328 kB / 0.586 GB, free: 2.309 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.336e-05/0.3288, allocations: 60.34 kB / 0.5861 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.3288, allocations: 0 / 0.5861 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.3288, allocations: 0 / 0.5861 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3288, allocations: 5.281 kB / 0.5861 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.222e-05/0.3288, allocations: 7.859 kB / 0.5861 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.907e-05/0.3289, allocations: 153.5 kB / 0.5862 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.055e-05/0.329, allocations: 33.86 kB / 0.5863 GB, free: 2.035 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.329, allocations: 25.23 kB / 0.5863 GB, free: 2.016 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.329, allocations: 5.656 kB / 0.5863 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.3291, allocations: 67.08 kB / 0.5863 GB, free: 1.957 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.3291, allocations: 0.875 kB / 0.5863 GB, free: 1.957 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001657/0.3293, allocations: 94.56 kB / 0.5864 GB, free: 1.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.529e-05/0.3293, allocations: 57.42 kB / 0.5865 GB, free: 1.848 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.631e-05/0.3293, allocations: 91.28 kB / 0.5866 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.3294, allocations: 33.09 kB / 0.5866 GB, free: 1.715 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.668e-06/0.3294, allocations: 85.33 kB / 0.5867 GB, free: 1.629 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.903e-05/0.3294, allocations: 17.03 kB / 0.5867 GB, free: 1.617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/0.3294, allocations: 19.84 kB / 0.5867 GB, free: 1.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.581e-05/0.3295, allocations: 318.9 kB / 0.587 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.725e-05/0.3295, allocations: 24.06 kB / 0.5871 GB, free: 1.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.941e-05/0.3296, allocations: 70.17 kB / 0.5871 GB, free: 1.207 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.049e-05/0.3297, allocations: 91.5 kB / 0.5872 GB, free: 1.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3297, allocations: 4.625 kB / 0.5872 GB, free: 1.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000142/0.3298, allocations: 118.3 kB / 0.5873 GB, free: 1.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.3298, allocations: 8.062 kB / 0.5873 GB, free: 1.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.3298, allocations: 5.156 kB / 0.5873 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3299, allocations: 3.281 kB / 0.5873 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3299, allocations: 11.45 kB / 0.5874 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.3299, allocations: 2.75 kB / 0.5874 GB, free: 1.062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.113e-05/0.33, allocations: 15.34 kB / 0.5874 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.33, allocations: 8.5 kB / 0.5874 GB, free: 1.047 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 5.719e-05/0.3301, allocations: 129.7 kB / 0.5875 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.294e-06/0.3301, allocations: 0.7969 kB / 0.5875 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.42e-05/0.3301, allocations: 4.719 kB / 0.5875 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3301, allocations: 0.7812 kB / 0.5875 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3301, allocations: 0.7969 kB / 0.5875 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3301, allocations: 1 kB / 0.5875 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.263e-05/0.3302, allocations: 160 kB / 0.5877 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3302, allocations: 0.7031 kB / 0.5877 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-06/0.3302, allocations: 4.938 kB / 0.5877 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.3302, allocations: 0.8125 kB / 0.5877 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-06/0.3302, allocations: 1.859 kB / 0.5877 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3302, allocations: 4 kB / 0.5877 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3302, allocations: 1.547 kB / 0.5877 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.685e-05/0.3303, allocations: 109.5 kB / 0.5878 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.309e-05/0.3303, allocations: 86.28 kB / 0.5879 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.3304, allocations: 5.516 kB / 0.5879 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.197e-05/0.3304, allocations: 5.188 kB / 0.5879 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.757e-05/0.3304, allocations: 1.328 kB / 0.5879 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3304, allocations: 2.891 kB / 0.5879 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.297e-06/0.3304, allocations: 76.28 kB / 0.5879 GB, free: 460 kB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3304, allocations: 0 / 0.5879 GB, free: 460 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002199/0.3306, allocations: 28.5 kB / 0.588 GB, free: 452 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.0003358/0.331, allocations: 0.669 MB / 0.5886 GB, free: 15.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.3311, allocations: 54.94 kB / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.3311, allocations: 0 / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.692e-05/0.3312, allocations: 16.55 kB / 0.5887 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.3313, allocations: 9.562 kB / 0.5887 GB, free: 15.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.3316, allocations: 161.9 kB / 0.5889 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/0.3318, allocations: 0.6773 MB / 0.5895 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.885e-05/0.3318, allocations: 5.531 kB / 0.5895 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.084e-05/0.3318, allocations: 14.7 kB / 0.5895 GB, free: 14.94 MB / 446.1 MB Notification: Performance of SimCode: time 2.806e-06/0.3318, allocations: 0 / 0.5895 GB, free: 14.94 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.963/2.295, allocations: 1.376 MB / 0.5909 GB, free: 14.8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003319/2.295, allocations: 263.3 kB / 0.5911 GB, free: 14.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/3.957, allocations: 0 / 0.5911 GB, free: 14.46 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/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)