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.008113/0.008113, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001487/0.001487, allocations: 188.6 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.312 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 1.005/1.005, allocations: 143 MB / 433.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.89 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3972, allocations: 82.02 MB / 0.6752 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.001534/0.3987, allocations: 0.5485 MB / 0.6757 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.3995, allocations: 0.7761 MB / 0.6765 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.001e-05/0.3995, allocations: 0 / 0.6765 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.361e-05/0.3995, allocations: 0 / 0.6765 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.741e-06/0.3995, allocations: 1.125 kB / 0.6765 GB, free: 100 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.3998, allocations: 18.06 kB / 0.6765 GB, free: 88 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.637e-05/0.3999, allocations: 10.16 kB / 0.6765 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.3999, allocations: 1.219 kB / 0.6765 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.394e-05/0.3999, allocations: 0 / 0.6765 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.4001, allocations: 19.98 kB / 0.6765 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.4001, allocations: 0 / 0.6765 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.829e-06/0.4001, allocations: 1.281 kB / 0.6765 GB, free: 72 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.4001, allocations: 3.984 kB / 0.6765 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.609e-05/0.4001, allocations: 4 kB / 0.6766 GB, free: 64 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 3.801e-05/0.4002, allocations: 1.344 kB / 0.6766 GB, free: 64 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4002, allocations: 0 / 0.6766 GB, free: 64 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4002, allocations: 0 / 0.6766 GB, free: 64 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.4002, allocations: 0 / 0.6766 GB, free: 64 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.0002865/0.4005, allocations: 314.3 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4005, allocations: 10.28 kB / 0.6769 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.955e-05/0.4006, allocations: 30.75 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.838e-05/0.4006, allocations: 0.9375 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.597e-05/0.4007, allocations: 165.8 kB / 0.6771 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.4007, allocations: 4.375 kB / 0.6771 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.4007, allocations: 1.719 kB / 0.6771 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.053e-05/0.4008, allocations: 30 kB / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.4008, allocations: 3.938 kB / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.4008, allocations: 3.984 kB / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4008, allocations: 1.469 kB / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.768e-05/0.4009, allocations: 0 / 0.6771 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.4011, allocations: 378.1 kB / 0.6775 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.347e-05/0.4012, allocations: 178.2 kB / 0.6776 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.828e-05/0.4013, allocations: 81.17 kB / 0.6777 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.4013, allocations: 79.22 kB / 0.6778 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.4014, allocations: 123 kB / 0.6779 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.4014, allocations: 3.938 kB / 0.6779 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.59e-05/0.4014, allocations: 30.83 kB / 0.6779 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.4015, allocations: 126.7 kB / 0.678 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.4016, allocations: 92.05 kB / 0.6781 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.917e-06/0.4016, allocations: 25.7 kB / 0.6782 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.122e-05/0.4016, allocations: 81.33 kB / 0.6782 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.4016, allocations: 0 / 0.6782 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.4017, allocations: 19.91 kB / 0.6783 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.4018, allocations: 310.8 kB / 0.6786 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.105e-05/0.4018, allocations: 4.953 kB / 0.6786 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.759e-06/0.4018, allocations: 1.094 kB / 0.6786 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.475e-05/0.4018, allocations: 7.578 kB / 0.6786 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4018, allocations: 3.938 kB / 0.6786 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.688e-05/0.4019, allocations: 34.98 kB / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.4019, allocations: 5.375 kB / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.402, allocations: 4 kB / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.402, allocations: 0 / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.97e-05/0.402, allocations: 1.281 kB / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.402, allocations: 1.281 kB / 0.6786 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.237e-05/0.4021, allocations: 3.906 kB / 0.6786 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.4021, allocations: 5.609 kB / 0.6786 GB, free: 13.75 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 9.424e-05/0.4022, allocations: 193 kB / 0.6788 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.308e-05/0.4022, allocations: 102 kB / 0.6789 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.4023, allocations: 113.3 kB / 0.679 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-05/0.4023, allocations: 177.6 kB / 0.6792 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.85e-05/0.4024, allocations: 177.4 kB / 0.6794 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.08e-05/0.4025, allocations: 185.2 kB / 0.6795 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.4027, allocations: 402.2 kB / 0.6799 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/0.4027, allocations: 109.9 kB / 0.68 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.4028, allocations: 102.1 kB / 0.6801 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.746e-05/0.4028, allocations: 185.2 kB / 0.6803 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.718e-05/0.4029, allocations: 177.2 kB / 0.6805 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-05/0.4029, allocations: 181.2 kB / 0.6806 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.043e-05/0.403, allocations: 185.6 kB / 0.6808 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.4031, allocations: 311.3 kB / 0.6811 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.508e-05/0.4032, allocations: 182.1 kB / 0.6813 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.616e-05/0.4033, allocations: 181.8 kB / 0.6815 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.94e-05/0.4034, allocations: 106.2 kB / 0.6816 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.741e-05/0.4034, allocations: 185.4 kB / 0.6817 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.4035, allocations: 110 kB / 0.6818 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.053e-05/0.4035, allocations: 80.34 kB / 0.6819 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4035, allocations: 0 / 0.6819 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002043/0.4037, allocations: 1.094 kB / 0.6819 GB, free: 10.18 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.0003354/0.4041, allocations: 0.8132 MB / 0.6827 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 5.948e-05/0.4041, allocations: 6.406 kB / 0.6827 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4041, allocations: 0 / 0.6827 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.094e-06/0.4042, allocations: 1.094 kB / 0.6827 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.4045, allocations: 464.2 kB / 0.6832 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.4048, allocations: 180.7 kB / 0.6833 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.405, allocations: 0.6741 MB / 0.684 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 9.768e-06/0.405, allocations: 0 / 0.684 GB, free: 7.992 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.733e-05/0.405, allocations: 7.438 kB / 0.684 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.405, allocations: 1.031 kB / 0.684 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.4206, allocations: 0.9743 MB / 0.685 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.337/7.757, allocations: 15.36 kB / 0.685 GB, free: 7.48 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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)