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/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.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.006543/0.006543, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001503/0.001503, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.349/1.349, 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/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.003/1.003, allocations: 143 MB / 433.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.84 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3847, allocations: 82.02 MB / 0.6752 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001962/0.3867, allocations: 1.24 MB / 0.6764 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006637/0.3934, allocations: 4.505 MB / 0.6808 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/0.3935, allocations: 0 / 0.6808 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.449e-05/0.3935, allocations: 0 / 0.6808 GB, free: 12.64 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/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.004822/0.3984, allocations: 1.502 MB / 0.6823 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.3985, allocations: 35.11 kB / 0.6823 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.3986, allocations: 18.72 kB / 0.6823 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.3986, allocations: 6.375 kB / 0.6823 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.18e-05/0.3987, allocations: 3.531 kB / 0.6823 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.3987, allocations: 28.47 kB / 0.6824 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.658e-06/0.3987, allocations: 0 / 0.6824 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00427/0.403, allocations: 2.278 MB / 0.6846 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002305/0.4033, allocations: 241.9 kB / 0.6848 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003647/0.4036, allocations: 246 kB / 0.6851 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.4086, allocations: 2.209 MB / 0.6872 GB, free: 9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.4087, allocations: 0 / 0.6872 GB, free: 9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4087, allocations: 5.062 kB / 0.6872 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.4087, allocations: 0 / 0.6872 GB, free: 8.996 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.003066/0.4118, allocations: 1.55 MB / 0.6887 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.4118, allocations: 9.938 kB / 0.6887 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.148e-05/0.4119, allocations: 34.69 kB / 0.6888 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002536/0.4121, allocations: 44.38 kB / 0.6888 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009607/0.4131, allocations: 0.6509 MB / 0.6895 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.4131, allocations: 4.375 kB / 0.6895 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.4131, allocations: 5.375 kB / 0.6895 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4133, allocations: 168 kB / 0.6896 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4134, allocations: 0 / 0.6896 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.4134, allocations: 3.938 kB / 0.6896 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4134, allocations: 0 / 0.6896 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.4136, allocations: 286.2 kB / 0.6899 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000658/0.4142, allocations: 0.5327 MB / 0.6904 GB, free: 6.688 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001297/0.4144, allocations: 170.5 kB / 0.6906 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.4145, allocations: 144.9 kB / 0.6907 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.4145, allocations: 4 kB / 0.6907 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/0.4145, allocations: 30.56 kB / 0.6908 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.4145, allocations: 0 / 0.6908 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0005927/0.4151, allocations: 493.2 kB / 0.6912 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.4152, allocations: 51.41 kB / 0.6913 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009337/0.4161, allocations: 0.7021 MB / 0.692 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4161, allocations: 25.7 kB / 0.692 GB, free: 5.027 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.4163, allocations: 228.1 kB / 0.6922 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.4163, allocations: 3.953 kB / 0.6922 GB, free: 4.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.4164, allocations: 13.72 kB / 0.6922 GB, free: 4.777 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.4165, allocations: 366.8 kB / 0.6926 GB, free: 4.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-05/0.4166, allocations: 136 kB / 0.6927 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.748e-05/0.4167, allocations: 143.9 kB / 0.6928 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.4169, allocations: 296.7 kB / 0.6931 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4169, allocations: 0 / 0.6931 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000474/0.4174, allocations: 357.2 kB / 0.6935 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.4174, allocations: 5.875 kB / 0.6935 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4174, allocations: 0 / 0.6935 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.4175, allocations: 3.984 kB / 0.6935 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.4176, allocations: 4 kB / 0.6935 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4176, allocations: 0 / 0.6935 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002815/0.4179, allocations: 31.95 kB / 0.6935 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.4179, allocations: 4.031 kB / 0.6935 GB, free: 3.441 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.0001835/0.4181, allocations: 213.6 kB / 0.6937 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.4183, allocations: 39.72 kB / 0.6938 GB, free: 3.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.4186, allocations: 384.9 kB / 0.6941 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4186, allocations: 0 / 0.6941 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4186, allocations: 0 / 0.6941 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4186, allocations: 3.984 kB / 0.6941 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/0.4191, allocations: 445.4 kB / 0.6945 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.4191, allocations: 4.031 kB / 0.6946 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.02e-07/0.4191, allocations: 0 / 0.6946 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4191, allocations: 0 / 0.6946 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.4191, allocations: 4 kB / 0.6946 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.4191, allocations: 0 / 0.6946 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.4191, allocations: 0 / 0.6946 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004556/0.4196, allocations: 384.6 kB / 0.6949 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.4202, allocations: 364.4 kB / 0.6953 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.4204, allocations: 8.031 kB / 0.6953 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.4206, allocations: 28 kB / 0.6953 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.4206, allocations: 0 / 0.6953 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4207, allocations: 0 / 0.6953 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007374/0.4214, allocations: 0.5378 MB / 0.6958 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4214, allocations: 0 / 0.6958 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001822/0.4232, allocations: 0.5764 MB / 0.6964 GB, free: 396 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.00311/0.4264, allocations: 1.743 MB / 0.6981 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002941/0.4267, allocations: 283.8 kB / 0.6984 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4267, allocations: 64 / 0.6984 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.4268, allocations: 177.6 kB / 0.6985 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005246/0.4274, allocations: 31.25 kB / 0.6986 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009408/0.4368, allocations: 7.183 MB / 0.7056 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.4372, allocations: 0.8197 MB / 0.7064 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001078/0.4383, allocations: 453.9 kB / 0.7068 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006763/0.439, allocations: 375.2 kB / 0.7072 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of SimCode: time 7.91e-07/0.439, allocations: 0 / 0.7072 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05428/0.4933, allocations: 26.06 MB / 0.7326 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.671/9.164, allocations: 11.17 kB / 0.7326 GB, free: 11.5 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)