Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005514/0.005514, allocations: 102.1 kB / 15.73 MB, free: 5.516 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.001441/0.001441, allocations: 202 kB / 16.68 MB, free: 5.445 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.446/1.446, allocations: 222.9 MB / 240.4 MB, free: 4.129 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.053/1.053, allocations: 143.3 MB / 433.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 59.91 kB / 0.5954 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3873, allocations: 82.03 MB / 0.6755 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.00145/0.3888, allocations: 0.5408 MB / 0.676 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006597/0.3895, allocations: 0.7756 MB / 0.6767 GB, free: 0 / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.607e-05/0.3895, allocations: 1.062 kB / 0.6767 GB, free: 0 / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.3895, allocations: 0 / 0.6767 GB, free: 0 / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.919e-06/0.3895, allocations: 0 / 0.6767 GB, free: 0 / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3898, allocations: 30.8 kB / 0.6768 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.339e-05/0.3898, allocations: 2.125 kB / 0.6768 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.997e-05/0.3899, allocations: 1.062 kB / 0.6768 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.814e-05/0.3899, allocations: 4.953 kB / 0.6768 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.39, allocations: 23.31 kB / 0.6768 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.921e-06/0.3901, allocations: 0 / 0.6768 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.387e-06/0.3901, allocations: 0 / 0.6768 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.985e-06/0.3901, allocations: 5.406 kB / 0.6768 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.741e-05/0.3901, allocations: 3.984 kB / 0.6768 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 3.429e-05/0.3901, allocations: 3.984 kB / 0.6768 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3901, allocations: 0.9062 kB / 0.6768 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3902, allocations: 0 / 0.6768 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.338e-06/0.3902, allocations: 0 / 0.6768 GB, free: 15.95 MB / 0.5137 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.000296/0.3905, allocations: 307 kB / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.3905, allocations: 8.938 kB / 0.6771 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.762e-05/0.3905, allocations: 31.75 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.591e-05/0.3906, allocations: 0.9375 kB / 0.6772 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.3907, allocations: 169.4 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.3907, allocations: 384 / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.2e-06/0.3907, allocations: 1.375 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.026e-05/0.3908, allocations: 37.66 kB / 0.6774 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3908, allocations: 5.188 kB / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.3908, allocations: 0 / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-06/0.3909, allocations: 0 / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.494e-05/0.3909, allocations: 1.312 kB / 0.6774 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003261/0.3912, allocations: 382.6 kB / 0.6777 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.3913, allocations: 177.1 kB / 0.6779 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.329e-05/0.3914, allocations: 85.11 kB / 0.678 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.3914, allocations: 75.28 kB / 0.678 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.016e-05/0.3915, allocations: 115 kB / 0.6782 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.3915, allocations: 0 / 0.6782 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.411e-05/0.3916, allocations: 27.11 kB / 0.6782 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.3916, allocations: 126.7 kB / 0.6783 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.275e-05/0.3917, allocations: 96.33 kB / 0.6784 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3918, allocations: 25.7 kB / 0.6784 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.585e-05/0.3918, allocations: 80.14 kB / 0.6785 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.3918, allocations: 1.281 kB / 0.6785 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.3918, allocations: 19.3 kB / 0.6785 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.392, allocations: 312.3 kB / 0.6788 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-06/0.392, allocations: 3.938 kB / 0.6788 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.148e-06/0.392, allocations: 1.344 kB / 0.6788 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.345e-05/0.392, allocations: 6.234 kB / 0.6788 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.392, allocations: 5 kB / 0.6788 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.132e-05/0.3921, allocations: 33.86 kB / 0.6789 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.3922, allocations: 11.53 kB / 0.6789 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3922, allocations: 1.156 kB / 0.6789 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3922, allocations: 3.938 kB / 0.6789 GB, free: 13.65 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.292e-05/0.3922, allocations: 6.016 kB / 0.6789 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.3922, allocations: 0 / 0.6789 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.045e-05/0.3923, allocations: 1.094 kB / 0.6789 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3923, allocations: 0 / 0.6789 GB, free: 13.64 MB / 0.5137 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.0001068/0.3924, allocations: 191.3 kB / 0.6791 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.3925, allocations: 110.1 kB / 0.6792 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.078e-05/0.3925, allocations: 105.1 kB / 0.6793 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.471e-05/0.3926, allocations: 185.2 kB / 0.6794 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.472e-05/0.3927, allocations: 181.3 kB / 0.6796 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-05/0.3928, allocations: 181.3 kB / 0.6798 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003086/0.3931, allocations: 403.3 kB / 0.6802 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.346e-05/0.3932, allocations: 105 kB / 0.6803 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.3932, allocations: 110.1 kB / 0.6804 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.557e-05/0.3933, allocations: 177.6 kB / 0.6806 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.497e-05/0.3934, allocations: 181.5 kB / 0.6807 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-05/0.3935, allocations: 177.5 kB / 0.6809 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.38e-05/0.3936, allocations: 184.3 kB / 0.6811 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.3937, allocations: 311.9 kB / 0.6814 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/0.3938, allocations: 187.2 kB / 0.6815 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.3939, allocations: 181.8 kB / 0.6817 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.981e-05/0.394, allocations: 102 kB / 0.6818 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.158e-05/0.3941, allocations: 193 kB / 0.682 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.3942, allocations: 106 kB / 0.6821 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.3942, allocations: 76.38 kB / 0.6822 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3942, allocations: 0 / 0.6822 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002275/0.3944, allocations: 1.062 kB / 0.6822 GB, free: 10.08 MB / 0.5137 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.0004855/0.3949, allocations: 0.8173 MB / 0.683 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.157e-05/0.395, allocations: 2.375 kB / 0.683 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.395, allocations: 0 / 0.683 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.383e-06/0.395, allocations: 0.9688 kB / 0.683 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3954, allocations: 460.8 kB / 0.6834 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.3957, allocations: 179.6 kB / 0.6836 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.396, allocations: 0.669 MB / 0.6842 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.987e-06/0.3961, allocations: 1.094 kB / 0.6842 GB, free: 7.895 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.908e-05/0.3961, allocations: 8.469 kB / 0.6843 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.3961, allocations: 0 / 0.6843 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02118/0.4173, allocations: 0.9689 MB / 0.6852 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.735/8.153, allocations: 16.83 kB / 0.6852 GB, free: 7.383 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)