Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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.TemperatureResponseMatrix,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",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.005981/0.005981, allocations: 97.84 kB / 15.73 MB, free: 6.043 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.002078/0.002078, allocations: 197.1 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.057/1.057, allocations: 143.3 MB / 433.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 63.89 kB / 0.5954 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3664, allocations: 82.03 MB / 0.6755 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001945/0.3684, allocations: 1.243 MB / 0.6767 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007411/0.3758, allocations: 4.497 MB / 0.6811 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.014e-05/0.3758, allocations: 1.25 kB / 0.6811 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.454e-05/0.3759, allocations: 0 / 0.6811 GB, free: 12.5 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/IBPSA/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.004837/0.3808, allocations: 1.5 MB / 0.6825 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.3809, allocations: 38.66 kB / 0.6826 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.381, allocations: 11.78 kB / 0.6826 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.381, allocations: 1.562 kB / 0.6826 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.955e-05/0.3811, allocations: 12.28 kB / 0.6826 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.3811, allocations: 22.89 kB / 0.6826 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/0.3812, allocations: 5.094 kB / 0.6826 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004239/0.3854, allocations: 2.276 MB / 0.6849 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002218/0.3857, allocations: 243.5 kB / 0.6851 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004494/0.3861, allocations: 245.3 kB / 0.6853 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004075/0.3902, allocations: 2.205 MB / 0.6875 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3902, allocations: 0 / 0.6875 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3902, allocations: 5.062 kB / 0.6875 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.3903, allocations: 0 / 0.6875 GB, free: 8.871 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.002943/0.3932, allocations: 1.544 MB / 0.689 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3933, allocations: 10.47 kB / 0.689 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.166e-05/0.3933, allocations: 38.62 kB / 0.689 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.3936, allocations: 43.59 kB / 0.6891 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008597/0.3944, allocations: 0.6578 MB / 0.6897 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.165e-05/0.3944, allocations: 384 / 0.6897 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.297e-05/0.3945, allocations: 3.938 kB / 0.6897 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.3947, allocations: 173.8 kB / 0.6899 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.3947, allocations: 0 / 0.6899 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.722e-06/0.3947, allocations: 0 / 0.6899 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3947, allocations: 0 / 0.6899 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002346/0.3949, allocations: 286.7 kB / 0.6902 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.3957, allocations: 0.5327 MB / 0.6907 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001641/0.3959, allocations: 170.3 kB / 0.6908 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.396, allocations: 148.9 kB / 0.691 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.396, allocations: 0 / 0.691 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.396, allocations: 30.56 kB / 0.691 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.273e-06/0.3961, allocations: 0 / 0.691 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0007217/0.3968, allocations: 497.2 kB / 0.6915 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3968, allocations: 55.34 kB / 0.6915 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.3981, allocations: 0.6942 MB / 0.6922 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.3981, allocations: 25.7 kB / 0.6922 GB, free: 4.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.3983, allocations: 236.2 kB / 0.6925 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.3984, allocations: 3.953 kB / 0.6925 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.3984, allocations: 9.719 kB / 0.6925 GB, free: 4.5 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.3986, allocations: 366.8 kB / 0.6928 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3987, allocations: 140 kB / 0.693 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.3989, allocations: 139.9 kB / 0.6931 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.3991, allocations: 284.8 kB / 0.6934 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3991, allocations: 4.062 kB / 0.6934 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005018/0.3996, allocations: 365.2 kB / 0.6937 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.3996, allocations: 8 kB / 0.6937 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.3997, allocations: 0 / 0.6937 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.3997, allocations: 4 kB / 0.6937 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.563e-05/0.3997, allocations: 0 / 0.6937 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.3998, allocations: 7.969 kB / 0.6937 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.4, allocations: 35.95 kB / 0.6938 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.4, allocations: 0 / 0.6938 GB, free: 3.156 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: 0 () * 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.0002058/0.4002, allocations: 213.7 kB / 0.694 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001925/0.4004, allocations: 43.72 kB / 0.694 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.4008, allocations: 373 kB / 0.6944 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.4008, allocations: 4 kB / 0.6944 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4008, allocations: 0 / 0.6944 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.4008, allocations: 0 / 0.6944 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.4013, allocations: 445.4 kB / 0.6948 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/0.4013, allocations: 0 / 0.6948 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-06/0.4013, allocations: 3.938 kB / 0.6948 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.4013, allocations: 0 / 0.6948 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.51e-06/0.4014, allocations: 4.031 kB / 0.6948 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4014, allocations: 0 / 0.6948 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4014, allocations: 0 / 0.6948 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004872/0.4019, allocations: 388.6 kB / 0.6952 GB, free: 1.629 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004406/0.4023, allocations: 356.5 kB / 0.6955 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.4025, allocations: 0 / 0.6955 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002064/0.4027, allocations: 32 kB / 0.6956 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.4027, allocations: 7.969 kB / 0.6956 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.4027, allocations: 0 / 0.6956 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000822/0.4036, allocations: 0.53 MB / 0.6961 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4036, allocations: 0 / 0.6961 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001627/0.4052, allocations: 0.5803 MB / 0.6966 GB, free: 116 kB / 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003397/0.4086, allocations: 1.752 MB / 0.6984 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003099/0.4089, allocations: 283.9 kB / 0.6986 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4089, allocations: 0 / 0.6986 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.4091, allocations: 165.6 kB / 0.6988 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.4095, allocations: 35.61 kB / 0.6988 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.4196, allocations: 7.193 MB / 0.7058 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.4201, allocations: 0.8158 MB / 0.7066 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001162/0.4212, allocations: 452.2 kB / 0.7071 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008399/0.4221, allocations: 371.2 kB / 0.7074 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.4221, allocations: 0 / 0.7074 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05935/0.4815, allocations: 26.06 MB / 0.7329 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.291/9.773, allocations: 14.16 kB / 0.7329 GB, free: 11.23 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)