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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.004435/0.004435, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001054/0.001054, allocations: 193.3 kB / 16.67 MB, free: 5.969 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9683/0.9683, allocations: 143 MB / 433.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.5951 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4076, allocations: 82.03 MB / 0.6752 GB, free: 1.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001527/0.4092, allocations: 0.5379 MB / 0.6757 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007033/0.4099, allocations: 0.7838 MB / 0.6765 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.721e-05/0.4099, allocations: 0 / 0.6765 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.666e-05/0.4099, allocations: 0 / 0.6765 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.4099, allocations: 0 / 0.6765 GB, free: 44 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.4102, allocations: 23.58 kB / 0.6765 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.091e-05/0.4103, allocations: 5.609 kB / 0.6765 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.4103, allocations: 2 kB / 0.6765 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.456e-05/0.4103, allocations: 0 / 0.6765 GB, free: 24 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.4105, allocations: 18.95 kB / 0.6766 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.254e-06/0.4105, allocations: 0 / 0.6766 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-06/0.4105, allocations: 1.406 kB / 0.6766 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.4105, allocations: 0 / 0.6766 GB, free: 16 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.4105, allocations: 4 kB / 0.6766 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.277e-05/0.4106, allocations: 7.688 kB / 0.6766 GB, free: 8 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4106, allocations: 0 / 0.6766 GB, free: 8 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4106, allocations: 0 / 0.6766 GB, free: 8 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.4106, allocations: 0 / 0.6766 GB, free: 8 kB / 0.4981 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.0003147/0.4109, allocations: 315.1 kB / 0.6769 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.411, allocations: 8.75 kB / 0.6769 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.892e-05/0.411, allocations: 35.88 kB / 0.6769 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.797e-05/0.411, allocations: 0.9375 kB / 0.6769 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.799e-05/0.4111, allocations: 160.4 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.4111, allocations: 5.469 kB / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-06/0.4111, allocations: 384 / 0.6771 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.041e-05/0.4112, allocations: 38.67 kB / 0.6771 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.4113, allocations: 3.938 kB / 0.6771 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.4113, allocations: 1.062 kB / 0.6771 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.4113, allocations: 0 / 0.6771 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.4113, allocations: 1 kB / 0.6771 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000311/0.4116, allocations: 381.7 kB / 0.6775 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.471e-05/0.4117, allocations: 174.4 kB / 0.6776 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.4118, allocations: 93.16 kB / 0.6777 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.4118, allocations: 75.28 kB / 0.6778 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.707e-05/0.4118, allocations: 107.1 kB / 0.6779 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4118, allocations: 7.938 kB / 0.6779 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.3e-05/0.4119, allocations: 27.11 kB / 0.6779 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.412, allocations: 126.7 kB / 0.6781 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.086e-05/0.4121, allocations: 91.23 kB / 0.6781 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.4121, allocations: 26.61 kB / 0.6782 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.207e-05/0.4121, allocations: 80.14 kB / 0.6782 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.107e-06/0.4121, allocations: 1.25 kB / 0.6782 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.4121, allocations: 18.72 kB / 0.6783 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.4123, allocations: 316.1 kB / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.676e-06/0.4123, allocations: 5.344 kB / 0.6786 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-06/0.4123, allocations: 0 / 0.6786 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.096e-05/0.4123, allocations: 7.734 kB / 0.6786 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.4123, allocations: 7.938 kB / 0.6786 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.187e-05/0.4124, allocations: 29.89 kB / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.4124, allocations: 6.25 kB / 0.6786 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.4124, allocations: 4 kB / 0.6786 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.4125, allocations: 0 / 0.6786 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.553e-05/0.4125, allocations: 2.75 kB / 0.6786 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4125, allocations: 3.984 kB / 0.6786 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.4125, allocations: 4 kB / 0.6786 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.4125, allocations: 9.297 kB / 0.6786 GB, free: 13.69 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 8.819e-05/0.4126, allocations: 189.9 kB / 0.6788 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.455e-05/0.4127, allocations: 102.4 kB / 0.6789 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.4128, allocations: 108.1 kB / 0.679 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.575e-05/0.4128, allocations: 181.5 kB / 0.6792 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.523e-05/0.4129, allocations: 181.5 kB / 0.6794 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.55e-05/0.413, allocations: 185.5 kB / 0.6795 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.4132, allocations: 402.3 kB / 0.6799 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.4132, allocations: 105 kB / 0.68 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.193e-05/0.4133, allocations: 110.2 kB / 0.6801 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-05/0.4133, allocations: 177.5 kB / 0.6803 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.4134, allocations: 185.6 kB / 0.6805 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.626e-05/0.4135, allocations: 177.6 kB / 0.6807 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-05/0.4135, allocations: 180.3 kB / 0.6808 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.4136, allocations: 315.8 kB / 0.6811 GB, free: 11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.4137, allocations: 183.2 kB / 0.6813 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.4138, allocations: 181.7 kB / 0.6815 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.911e-05/0.4139, allocations: 105 kB / 0.6816 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.4139, allocations: 185.3 kB / 0.6818 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.947e-05/0.414, allocations: 106.1 kB / 0.6819 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.414, allocations: 76.41 kB / 0.6819 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.414, allocations: 0 / 0.6819 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002169/0.4142, allocations: 5.188 kB / 0.6819 GB, free: 10.12 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.0003394/0.4146, allocations: 0.813 MB / 0.6827 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 4.996e-05/0.4146, allocations: 7.562 kB / 0.6827 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4147, allocations: 0 / 0.6827 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.242e-06/0.4147, allocations: 0 / 0.6827 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.415, allocations: 466 kB / 0.6832 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002808/0.4153, allocations: 175.3 kB / 0.6833 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.4155, allocations: 0.6729 MB / 0.684 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.929e-06/0.4155, allocations: 1.406 kB / 0.684 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.683e-05/0.4155, allocations: 7.438 kB / 0.684 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.4156, allocations: 0 / 0.684 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.4306, allocations: 0.9749 MB / 0.685 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.697, allocations: 11.27 kB / 0.685 GB, free: 7.43 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)