Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",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.001152/0.001152, allocations: 108 kB / 15.6 MB, free: 132 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.001213/0.001213, allocations: 192.6 kB / 16.53 MB, free: 6.391 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.478/1.478, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.724/1.724, allocations: 292.3 MB / 0.5489 GB, free: 13.52 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.00147/0.00147, allocations: 70 kB / 0.6716 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2407, allocations: 114.6 MB / 0.7835 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.002042/0.2428, allocations: 0.5556 MB / 0.7841 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009033/0.2437, allocations: 0.7728 MB / 0.7848 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.686e-05/0.2437, allocations: 0 / 0.7848 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.2437, allocations: 4 kB / 0.7848 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.26e-06/0.2438, allocations: 0 / 0.7848 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.244, allocations: 19.92 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.871e-05/0.2441, allocations: 4 kB / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.558e-05/0.2441, allocations: 0 / 0.7848 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.2441, allocations: 3.984 kB / 0.7848 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2443, allocations: 15.98 kB / 0.7849 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.125e-06/0.2443, allocations: 4 kB / 0.7849 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-06/0.2443, allocations: 0 / 0.7849 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.2443, allocations: 0 / 0.7849 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.683e-05/0.2443, allocations: 3.938 kB / 0.7849 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 3.5e-05/0.2444, allocations: 0 / 0.7849 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2444, allocations: 4 kB / 0.7849 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2444, allocations: 0 / 0.7849 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.558e-06/0.2444, allocations: 0 / 0.7849 GB, free: 12.05 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002594/0.2447, allocations: 311.5 kB / 0.7852 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.2447, allocations: 12.06 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.41e-05/0.2448, allocations: 34.75 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.2448, allocations: 0.9375 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.874e-05/0.2449, allocations: 160.4 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2449, allocations: 384 / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.743e-06/0.2449, allocations: 384 / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.527e-05/0.245, allocations: 34.2 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.245, allocations: 3.938 kB / 0.7854 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.245, allocations: 7.984 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.245, allocations: 0 / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.86e-05/0.2451, allocations: 4 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.2454, allocations: 379.5 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.422e-05/0.2455, allocations: 173 kB / 0.7859 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.2455, allocations: 80.14 kB / 0.786 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.2455, allocations: 79.28 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.858e-05/0.2456, allocations: 113.9 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.2456, allocations: 0 / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.729e-05/0.2457, allocations: 25.7 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.2457, allocations: 130.7 kB / 0.7864 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.465e-05/0.2458, allocations: 93.86 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.456e-06/0.2458, allocations: 25.7 kB / 0.7865 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.285e-05/0.2459, allocations: 96.09 kB / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-06/0.2459, allocations: 0 / 0.7866 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/0.2459, allocations: 21.59 kB / 0.7866 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.246, allocations: 314.8 kB / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.484e-06/0.246, allocations: 0 / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-06/0.246, allocations: 0 / 0.7869 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.394e-05/0.2461, allocations: 4.859 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2461, allocations: 7.938 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.332e-05/0.2462, allocations: 37.75 kB / 0.7869 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2462, allocations: 4 kB / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.2462, allocations: 0 / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2462, allocations: 0 / 0.7869 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.125e-05/0.2463, allocations: 4 kB / 0.7869 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.2463, allocations: 3.938 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.089e-05/0.2463, allocations: 288 / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-06/0.2463, allocations: 0 / 0.7869 GB, free: 9.688 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 9.669e-05/0.2464, allocations: 193.8 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.891e-05/0.2465, allocations: 105 kB / 0.7872 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.72e-05/0.2465, allocations: 108.1 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-05/0.2466, allocations: 180.2 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.747e-05/0.2466, allocations: 176.3 kB / 0.7877 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.727e-05/0.2467, allocations: 188.2 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002017/0.2469, allocations: 405.2 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.927e-05/0.2469, allocations: 102.1 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.247, allocations: 112.9 kB / 0.7884 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.917e-05/0.247, allocations: 176.3 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.699e-05/0.2471, allocations: 188.2 kB / 0.7888 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.607e-05/0.2471, allocations: 180.3 kB / 0.789 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.371e-05/0.2472, allocations: 184.2 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001077/0.2473, allocations: 300 kB / 0.7894 GB, free: 6.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.2474, allocations: 190 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/0.2474, allocations: 176.3 kB / 0.7898 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.2475, allocations: 113 kB / 0.7899 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/0.2476, allocations: 180.2 kB / 0.79 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.2476, allocations: 105 kB / 0.7901 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.937e-05/0.2477, allocations: 79.27 kB / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2477, allocations: 0 / 0.7902 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002071/0.2479, allocations: 0 / 0.7902 GB, free: 6.094 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0003686/0.2482, allocations: 0.8243 MB / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.249e-05/0.2483, allocations: 0 / 0.791 GB, free: 5.238 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2483, allocations: 3.938 kB / 0.791 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.087e-06/0.2483, allocations: 7.984 kB / 0.791 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00037/0.2487, allocations: 464.6 kB / 0.7915 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.249, allocations: 177.9 kB / 0.7917 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.2493, allocations: 0.6729 MB / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.175e-05/0.2493, allocations: 0 / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/0.2493, allocations: 7.438 kB / 0.7923 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2493, allocations: 0 / 0.7923 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.2698, allocations: 0.9383 MB / 0.7932 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.868, allocations: 15.17 kB / 0.7932 GB, free: 3.082 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)