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.00235/0.00235, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 194.3 kB / 16.53 MB, free: 6.664 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.38/1.38, allocations: 222.9 MB / 240.2 MB, free: 4.406 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.9719/0.9719, allocations: 143 MB / 433.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.89 kB / 0.5143 GB, free: 11.52 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1436, allocations: 82.04 MB / 0.5944 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002271/0.1459, allocations: 1.252 MB / 0.5957 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006478/0.1524, allocations: 4.482 MB / 0.6 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.256e-05/0.1525, allocations: 0 / 0.6 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.1525, allocations: 0 / 0.6 GB, free: 3.688 MB / 0.4981 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.003574/0.1561, allocations: 1.518 MB / 0.6015 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 8.692e-05/0.1562, allocations: 35.89 kB / 0.6016 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.516e-05/0.1563, allocations: 8 kB / 0.6016 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.505e-05/0.1563, allocations: 0 / 0.6016 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.82e-05/0.1563, allocations: 4 kB / 0.6016 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.348e-05/0.1564, allocations: 37.19 kB / 0.6016 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.1564, allocations: 4 kB / 0.6016 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.236/0.3925, allocations: 2.188 MB / 0.6037 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.3927, allocations: 244.4 kB / 0.604 GB, free: 37.74 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.393, allocations: 249.6 kB / 0.6042 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003434/0.3965, allocations: 2.193 MB / 0.6064 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3965, allocations: 0 / 0.6064 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3965, allocations: 1.125 kB / 0.6064 GB, free: 37.59 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.3965, allocations: 0 / 0.6064 GB, free: 37.59 MB / 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.001781/0.3983, allocations: 1.508 MB / 0.6078 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.3984, allocations: 15.55 kB / 0.6078 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.3984, allocations: 30.75 kB / 0.6079 GB, free: 36.82 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000207/0.3986, allocations: 46.22 kB / 0.6079 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.3993, allocations: 0.6534 MB / 0.6086 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.3993, allocations: 0.75 kB / 0.6086 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.3993, allocations: 0.8906 kB / 0.6086 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3995, allocations: 178.3 kB / 0.6087 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.852e-06/0.3995, allocations: 0 / 0.6087 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-06/0.3995, allocations: 0 / 0.6087 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.3995, allocations: 0.9688 kB / 0.6087 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.3997, allocations: 279.4 kB / 0.609 GB, free: 36.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.4002, allocations: 0.5349 MB / 0.6095 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.36e-05/0.4003, allocations: 159.8 kB / 0.6097 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.552e-05/0.4004, allocations: 146.7 kB / 0.6098 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.4004, allocations: 3.938 kB / 0.6098 GB, free: 36.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.427e-05/0.4004, allocations: 39.11 kB / 0.6098 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 2.034e-06/0.4004, allocations: 0 / 0.6098 GB, free: 36.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0004637/0.4009, allocations: 498.3 kB / 0.6103 GB, free: 36.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.904e-05/0.4009, allocations: 51.41 kB / 0.6104 GB, free: 36.1 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007655/0.4017, allocations: 0.6939 MB / 0.611 GB, free: 35.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.763e-06/0.4017, allocations: 26.27 kB / 0.6111 GB, free: 35.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001171/0.4018, allocations: 232.9 kB / 0.6113 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.4018, allocations: 0.75 kB / 0.6113 GB, free: 35.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.4019, allocations: 12.72 kB / 0.6113 GB, free: 35.85 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.277e-05/0.4019, allocations: 369.2 kB / 0.6117 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.81e-05/0.402, allocations: 137.4 kB / 0.6118 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.4021, allocations: 146.1 kB / 0.6119 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.4023, allocations: 284.5 kB / 0.6122 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4023, allocations: 1.875 kB / 0.6122 GB, free: 35.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003467/0.4026, allocations: 360.8 kB / 0.6125 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.4026, allocations: 6.109 kB / 0.6126 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.4026, allocations: 2.844 kB / 0.6126 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4027, allocations: 2.969 kB / 0.6126 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.4027, allocations: 0.75 kB / 0.6126 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.4027, allocations: 6.344 kB / 0.6126 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.4029, allocations: 32.97 kB / 0.6126 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.4029, allocations: 0 / 0.6126 GB, free: 35.47 MB / 0.4981 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.0001188/0.4031, allocations: 208.9 kB / 0.6128 GB, free: 35.36 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/0.4032, allocations: 50.97 kB / 0.6128 GB, free: 35.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002925/0.4035, allocations: 374.2 kB / 0.6132 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.4035, allocations: 0 / 0.6132 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4036, allocations: 3.281 kB / 0.6132 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.4036, allocations: 0 / 0.6132 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.404, allocations: 439.9 kB / 0.6136 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.404, allocations: 4.969 kB / 0.6136 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.12e-07/0.404, allocations: 0 / 0.6136 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.404, allocations: 3.406 kB / 0.6136 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.404, allocations: 2.406 kB / 0.6136 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.404, allocations: 1.562 kB / 0.6136 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.404, allocations: 0 / 0.6136 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004205/0.4045, allocations: 381.8 kB / 0.614 GB, free: 35.01 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003907/0.4049, allocations: 355.5 kB / 0.6143 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.405, allocations: 3.188 kB / 0.6143 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.4052, allocations: 35.25 kB / 0.6144 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.4053, allocations: 0.7188 kB / 0.6144 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.4053, allocations: 2.578 kB / 0.6144 GB, free: 34.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006778/0.406, allocations: 0.5316 MB / 0.6149 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.406, allocations: 0 / 0.6149 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001893/0.4079, allocations: 0.5697 MB / 0.6155 GB, free: 34.71 MB / 0.4981 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.002936/0.4108, allocations: 1.737 MB / 0.6172 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002522/0.4111, allocations: 287.8 kB / 0.6174 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4111, allocations: 0 / 0.6174 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.4112, allocations: 171.1 kB / 0.6176 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.4116, allocations: 33.56 kB / 0.6176 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007545/0.4191, allocations: 7.412 MB / 0.6249 GB, free: 32.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.4194, allocations: 0.8183 MB / 0.6257 GB, free: 31.48 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001228/0.4206, allocations: 458 kB / 0.6261 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006826/0.4213, allocations: 368.6 kB / 0.6264 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of SimCode: time 8.41e-07/0.4213, allocations: 9.094 kB / 0.6265 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05999/0.4813, allocations: 25.89 MB / 0.6517 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.341, allocations: 11.91 kB / 0.6518 GB, free: 28.2 MB / 0.4981 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)