Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.AggregationCellTimes,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001071/0.001071, allocations: 105.4 kB / 15.7 MB, free: 24 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.001239/0.001239, allocations: 198 kB / 16.64 MB, free: 6.449 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.284/1.284, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.621/1.621, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001368/0.001368, allocations: 67.91 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1984, allocations: 114.6 MB / 0.7837 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.002237/0.2007, allocations: 1.287 MB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007554/0.2014, allocations: 491.6 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.2015, allocations: 4 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.63e-05/0.2016, allocations: 3.938 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.737e-05/0.2017, allocations: 7.969 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.2019, allocations: 31.91 kB / 0.7855 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.202, allocations: 27.91 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.135e-05/0.202, allocations: 7.938 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.2021, allocations: 8 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.2021, allocations: 19.91 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.257e-06/0.2022, allocations: 0 / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.2023, allocations: 39.91 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.2023, allocations: 19.97 kB / 0.7856 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.2024, allocations: 15.88 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.2025, allocations: 56.09 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.2025, allocations: 3.938 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2025, allocations: 0 / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.2025, allocations: 0 / 0.7856 GB, free: 11.18 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003191/0.2028, allocations: 343.4 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2029, allocations: 16.03 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.2029, allocations: 30.75 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.155e-05/0.203, allocations: 4.844 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.2031, allocations: 180.2 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.2031, allocations: 4.375 kB / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.2031, allocations: 384 / 0.7862 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.688e-05/0.2032, allocations: 47.53 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.2032, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2033, allocations: 4 kB / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2033, allocations: 0 / 0.7862 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.323e-05/0.2033, allocations: 7.938 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.2035, allocations: 178.4 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.2035, allocations: 41.27 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.2036, allocations: 21.72 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.2036, allocations: 3.984 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.2036, allocations: 42.44 kB / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.2036, allocations: 0 / 0.7865 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.2038, allocations: 49.62 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.2038, allocations: 77.11 kB / 0.7866 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.2039, allocations: 149.1 kB / 0.7868 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.2039, allocations: 25.7 kB / 0.7868 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.204, allocations: 84.14 kB / 0.7869 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.204, allocations: 7.906 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.2041, allocations: 25.7 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.656e-05/0.2042, allocations: 318.8 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.2042, allocations: 20 kB / 0.7872 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.054e-05/0.2042, allocations: 27.98 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.929e-05/0.2043, allocations: 52.78 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2043, allocations: 0 / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001236/0.2044, allocations: 105.5 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.2045, allocations: 7.938 kB / 0.7874 GB, free: 9.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.2045, allocations: 7.984 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2045, allocations: 0 / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.986e-05/0.2046, allocations: 4 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.2046, allocations: 4 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.2046, allocations: 7.844 kB / 0.7875 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-06/0.2046, allocations: 4 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.181e-05/0.2047, allocations: 117.8 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.2047, allocations: 7.844 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.2047, allocations: 7.531 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2047, allocations: 0 / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2048, allocations: 4 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.2048, allocations: 0 / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001014/0.2049, allocations: 161.7 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2049, allocations: 0 / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.991e-05/0.2049, allocations: 7.938 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2049, allocations: 0 / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.2049, allocations: 4 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2049, allocations: 0 / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2049, allocations: 7.938 kB / 0.7878 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.843e-05/0.205, allocations: 67.05 kB / 0.7878 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.2051, allocations: 88.95 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.2051, allocations: 0 / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.2051, allocations: 8.031 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.304e-05/0.2051, allocations: 0 / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.2051, allocations: 4 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.284e-05/0.2052, allocations: 102.6 kB / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2052, allocations: 0 / 0.788 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002197/0.2054, allocations: 16 kB / 0.788 GB, free: 8.367 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0003864/0.2058, allocations: 0.6404 MB / 0.7887 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001521/0.206, allocations: 81.67 kB / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.206, allocations: 0 / 0.7887 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.472e-05/0.206, allocations: 15.88 kB / 0.7888 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.2062, allocations: 6.844 kB / 0.7888 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.2072, allocations: 1.303 MB / 0.79 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001953/0.2074, allocations: 0.6846 MB / 0.7907 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.2074, allocations: 3.984 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/0.2075, allocations: 19.38 kB / 0.7907 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.2075, allocations: 0 / 0.7907 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01736/0.2248, allocations: 1.685 MB / 0.7924 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.571, allocations: 19.62 kB / 0.7924 GB, free: 3.957 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1)