Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,fileNamePrefix="Buildings_8_Buildings_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.001094/0.001094, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0011/0.0011, allocations: 195.3 kB / 16.14 MB, free: 6.707 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.295/1.295, allocations: 205.1 MB / 222 MB, free: 4.992 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.503/1.503, allocations: 292.3 MB / 0.5484 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 65.17 kB / 0.671 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2025, allocations: 114.6 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001995/0.2045, allocations: 1.318 MB / 0.7841 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007564/0.2053, allocations: 0.5202 MB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.2053, allocations: 0 / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.877e-05/0.2053, allocations: 0 / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.168e-05/0.2054, allocations: 7.984 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.2057, allocations: 39.95 kB / 0.7847 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.046e-05/0.2057, allocations: 27.91 kB / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.086e-05/0.2058, allocations: 0 / 0.7847 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.965e-05/0.2058, allocations: 7.938 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.192e-05/0.2058, allocations: 8 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.715e-06/0.2058, allocations: 0 / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.206, allocations: 75.83 kB / 0.7848 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.372e-05/0.206, allocations: 7.984 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.265e-05/0.2061, allocations: 15.94 kB / 0.7848 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.2062, allocations: 64.11 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.2062, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of FrontEnd: time 6.71e-07/0.2062, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.985e-06/0.2062, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB 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.0003196/0.2066, allocations: 343.5 kB / 0.7852 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.2066, allocations: 8.031 kB / 0.7852 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.2066, allocations: 34.75 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.164e-05/0.2067, allocations: 4.875 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.077e-05/0.2067, allocations: 168.3 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.412e-06/0.2067, allocations: 4.375 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.2068, allocations: 4.375 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.373e-05/0.2069, allocations: 53.81 kB / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-06/0.2069, allocations: 0 / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.953e-06/0.2069, allocations: 0 / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2069, allocations: 0 / 0.7855 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.656e-05/0.2069, allocations: 12 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001197/0.207, allocations: 153.7 kB / 0.7856 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.639e-05/0.2071, allocations: 38.5 kB / 0.7857 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.9e-05/0.2071, allocations: 16.95 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.2071, allocations: 0 / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001045/0.2073, allocations: 71.33 kB / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.2073, allocations: 0 / 0.7857 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000175/0.2074, allocations: 97.52 kB / 0.7858 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.2075, allocations: 67.42 kB / 0.7859 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.21e-05/0.2075, allocations: 89.86 kB / 0.786 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.514e-05/0.2075, allocations: 29.7 kB / 0.786 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.418e-05/0.2076, allocations: 84.14 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.2076, allocations: 15.83 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.2077, allocations: 29.72 kB / 0.7861 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.588e-05/0.2078, allocations: 318.8 kB / 0.7864 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.543e-05/0.2078, allocations: 19.98 kB / 0.7865 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.2079, allocations: 66 kB / 0.7865 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.208, allocations: 105.9 kB / 0.7866 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.208, allocations: 0 / 0.7866 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001477/0.2081, allocations: 113.4 kB / 0.7867 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.2082, allocations: 11.98 kB / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.2082, allocations: 0 / 0.7867 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.2082, allocations: 8.219 kB / 0.7868 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.869e-05/0.2083, allocations: 11.94 kB / 0.7868 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.2083, allocations: 4 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.162e-05/0.2083, allocations: 4 kB / 0.7868 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.2083, allocations: 4 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB 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.784e-05/0.2084, allocations: 130.4 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.945e-05/0.2084, allocations: 15.78 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.81e-05/0.2084, allocations: 7.953 kB / 0.7869 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2085, allocations: 4 kB / 0.7869 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2085, allocations: 4 kB / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.2085, allocations: 0 / 0.7869 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.494e-05/0.2086, allocations: 157.6 kB / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.2086, allocations: 0 / 0.7871 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.879e-06/0.2086, allocations: 3.938 kB / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.2086, allocations: 0 / 0.7871 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2086, allocations: 4 kB / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2086, allocations: 0 / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2086, allocations: 0 / 0.7871 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.2087, allocations: 105.1 kB / 0.7872 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.21e-05/0.2088, allocations: 88.95 kB / 0.7873 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2088, allocations: 7.984 kB / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.128e-05/0.2088, allocations: 0 / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/0.2088, allocations: 0 / 0.7873 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.2088, allocations: 4 kB / 0.7873 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.211e-05/0.2089, allocations: 75.28 kB / 0.7874 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2089, allocations: 0 / 0.7874 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002089/0.2091, allocations: 32.03 kB / 0.7874 GB, free: 8.832 MB / 0.6075 GB 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.0004139/0.2095, allocations: 0.667 MB / 0.788 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.2096, allocations: 56.31 kB / 0.7881 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2096, allocations: 4.062 kB / 0.7881 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-05/0.2097, allocations: 27.92 kB / 0.7881 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001213/0.2098, allocations: 4 kB / 0.7881 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003435/0.2101, allocations: 156.8 kB / 0.7883 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.2104, allocations: 0.677 MB / 0.7889 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.014e-05/0.2104, allocations: 7.984 kB / 0.7889 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.914e-05/0.2104, allocations: 15.5 kB / 0.789 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2104, allocations: 0 / 0.789 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.85/2.061, allocations: 1.447 MB / 0.7904 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004186/2.061, allocations: 277.5 kB / 0.7906 GB, free: 5.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/3.792, allocations: 8.406 kB / 0.7906 GB, free: 5.496 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells_fmu --startTime=3.5 --stopTime=5.5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_ShiftAggregationCells.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.pipe 2>&1)