Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildingSystems_BuildingSystems_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.001251/0.001251, allocations: 112.5 kB / 15.73 MB, free: 76 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.00129/0.00129, allocations: 191.3 kB / 16.67 MB, free: 6.582 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002375/0.002375, allocations: 274.9 kB / 290.8 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.01/1.01, allocations: 178.6 MB / 0.5074 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002565/0.002565, allocations: 104.7 kB / 0.6943 GB, free: 3.594 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4371/0.4397, allocations: 89.12 MB / 0.7814 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001527/0.4413, allocations: 0.5594 MB / 0.7819 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.4422, allocations: 0.7724 MB / 0.7827 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.4423, allocations: 0 / 0.7827 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.413e-05/0.4423, allocations: 0 / 0.7827 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.639e-06/0.4423, allocations: 0 / 0.7827 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.4425, allocations: 26.91 kB / 0.7827 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 3.898e-05/0.4426, allocations: 3.188 kB / 0.7827 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.979e-05/0.4426, allocations: 4.609 kB / 0.7827 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.346e-05/0.4427, allocations: 0 / 0.7827 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4428, allocations: 27.38 kB / 0.7827 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.252e-06/0.4428, allocations: 0 / 0.7827 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 3.126e-06/0.4428, allocations: 1.375 kB / 0.7827 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.276e-06/0.4428, allocations: 0 / 0.7827 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.4428, allocations: 0 / 0.7827 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 3.444e-05/0.4429, allocations: 5.062 kB / 0.7827 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4429, allocations: 0.6094 kB / 0.7827 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.212e-06/0.4429, allocations: 0 / 0.7827 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.4429, allocations: 0 / 0.7827 GB, free: 12.91 MB / 0.5606 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.0002967/0.4432, allocations: 308.9 kB / 0.783 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.4432, allocations: 9.469 kB / 0.783 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.4433, allocations: 31.41 kB / 0.7831 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.4433, allocations: 8.438 kB / 0.7831 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.4434, allocations: 165.7 kB / 0.7832 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.4434, allocations: 384 / 0.7832 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-06/0.4434, allocations: 4.375 kB / 0.7832 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.283e-05/0.4435, allocations: 32.19 kB / 0.7833 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4435, allocations: 3.938 kB / 0.7833 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.32e-06/0.4435, allocations: 0 / 0.7833 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4435, allocations: 4.5 kB / 0.7833 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.322e-05/0.4436, allocations: 1.094 kB / 0.7833 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.4439, allocations: 377.5 kB / 0.7836 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.444, allocations: 181.6 kB / 0.7838 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.654e-05/0.444, allocations: 83.02 kB / 0.7839 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.4441, allocations: 75.28 kB / 0.7839 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.602e-05/0.4441, allocations: 110.5 kB / 0.7841 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.4441, allocations: 0 / 0.7841 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=0): time 6.567e-05/0.4442, allocations: 35.06 kB / 0.7841 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.484e-05/0.4443, allocations: 131.3 kB / 0.7842 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.4444, allocations: 93.61 kB / 0.7843 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.4444, allocations: 25.7 kB / 0.7843 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.752e-05/0.4444, allocations: 80.89 kB / 0.7844 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.4444, allocations: 0 / 0.7844 GB, free: 11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.4445, allocations: 12.28 kB / 0.7844 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.4446, allocations: 323.7 kB / 0.7847 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.544e-06/0.4446, allocations: 2.891 kB / 0.7847 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.957e-06/0.4446, allocations: 0 / 0.7847 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.238e-05/0.4447, allocations: 8.297 kB / 0.7847 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.4447, allocations: 3.938 kB / 0.7847 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.206e-05/0.4448, allocations: 31.84 kB / 0.7848 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.4448, allocations: 4.25 kB / 0.7848 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.4448, allocations: 0.8906 kB / 0.7848 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.4448, allocations: 7.531 kB / 0.7848 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.218e-05/0.4448, allocations: 0 / 0.7848 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4449, allocations: 0.6562 kB / 0.7848 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.053e-05/0.4449, allocations: 7.453 kB / 0.7848 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/0.4449, allocations: 0.9688 kB / 0.7848 GB, free: 10.61 MB / 0.5606 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 0.0001007/0.445, allocations: 186.8 kB / 0.785 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.274e-05/0.4451, allocations: 108.9 kB / 0.7851 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.4451, allocations: 109.4 kB / 0.7852 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.352e-05/0.4452, allocations: 184.9 kB / 0.7854 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.6e-05/0.4453, allocations: 180.2 kB / 0.7855 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-05/0.4454, allocations: 180.8 kB / 0.7857 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002511/0.4456, allocations: 403.4 kB / 0.7861 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.263e-05/0.4457, allocations: 104.5 kB / 0.7862 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.4457, allocations: 109.7 kB / 0.7863 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.91e-05/0.4458, allocations: 176.8 kB / 0.7865 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.264e-05/0.4459, allocations: 184.2 kB / 0.7866 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.343e-05/0.446, allocations: 177 kB / 0.7868 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.956e-05/0.446, allocations: 180.8 kB / 0.787 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.4462, allocations: 313.5 kB / 0.7873 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.4463, allocations: 192.7 kB / 0.7875 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.518e-05/0.4464, allocations: 182.8 kB / 0.7876 GB, free: 7.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.649e-05/0.4465, allocations: 102 kB / 0.7877 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.4466, allocations: 182.3 kB / 0.7879 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.4466, allocations: 110.1 kB / 0.788 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.551e-05/0.4467, allocations: 79.31 kB / 0.7881 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.4467, allocations: 0 / 0.7881 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002146/0.4469, allocations: 0 / 0.7881 GB, free: 7.062 MB / 0.5606 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.0004543/0.4473, allocations: 0.8154 MB / 0.7889 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 5.505e-05/0.4474, allocations: 3.5 kB / 0.7889 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4474, allocations: 0 / 0.7889 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4474, allocations: 1.25 kB / 0.7889 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.4478, allocations: 461.7 kB / 0.7893 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002982/0.4481, allocations: 176.3 kB / 0.7895 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.4484, allocations: 0.6712 MB / 0.7901 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.041e-05/0.4484, allocations: 0 / 0.7901 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.4484, allocations: 8.094 kB / 0.7902 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.4484, allocations: 0 / 0.7902 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.4704, allocations: 0.9682 MB / 0.7911 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/8.12, allocations: 10.78 kB / 0.7911 GB, free: 4.566 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)