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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002121/0.002121, allocations: 211.8 kB / 22.24 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.908/0.908, allocations: 145 MB / 457.4 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 67.73 kB / 0.6331 GB, free: 6.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1726, allocations: 87.88 MB / 0.719 GB, free: 14.84 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002528/0.1752, allocations: 1.274 MB / 0.7202 GB, free: 13.55 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007175/0.1823, allocations: 4.146 MB / 0.7243 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.692e-05/0.1824, allocations: 0 / 0.7243 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.156e-05/0.1824, allocations: 0 / 0.7243 GB, free: 9.387 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.7.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.004523/0.1869, allocations: 1.574 MB / 0.7258 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001029/0.187, allocations: 35.91 kB / 0.7258 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.774e-05/0.1871, allocations: 15.92 kB / 0.7259 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.1872, allocations: 0 / 0.7259 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.405e-05/0.1872, allocations: 11.92 kB / 0.7259 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.1872, allocations: 21.28 kB / 0.7259 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1872, allocations: 0 / 0.7259 GB, free: 7.723 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004108/0.1914, allocations: 2.429 MB / 0.7283 GB, free: 5.289 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002313/0.1916, allocations: 238.1 kB / 0.7285 GB, free: 5.059 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003066/0.1919, allocations: 223.1 kB / 0.7287 GB, free: 4.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003676/0.1956, allocations: 2.209 MB / 0.7309 GB, free: 2.625 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.1956, allocations: 0 / 0.7309 GB, free: 2.625 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.225e-06/0.1956, allocations: 3.938 kB / 0.7309 GB, free: 2.621 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.575e-05/0.1956, allocations: 3.938 kB / 0.7309 GB, free: 2.617 MB / 0.545 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.002533/0.1981, allocations: 1.46 MB / 0.7323 GB, free: 1.121 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.1982, allocations: 16.03 kB / 0.7323 GB, free: 1.105 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.807e-05/0.1982, allocations: 34.73 kB / 0.7323 GB, free: 1.062 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002009/0.1984, allocations: 48.61 kB / 0.7324 GB, free: 1.016 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.1993, allocations: 0.5999 MB / 0.733 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.1993, allocations: 384 / 0.733 GB, free: 400 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.435e-05/0.1993, allocations: 3.938 kB / 0.733 GB, free: 396 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00021/0.1995, allocations: 169.6 kB / 0.7331 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.1995, allocations: 0 / 0.7331 GB, free: 220 kB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.1995, allocations: 3.938 kB / 0.7331 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/0.1995, allocations: 0 / 0.7331 GB, free: 216 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000262/0.1998, allocations: 287.9 kB / 0.7334 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.2004, allocations: 0.5083 MB / 0.7339 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001738/0.2006, allocations: 162.5 kB / 0.7341 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.2007, allocations: 144.9 kB / 0.7342 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.2007, allocations: 0 / 0.7342 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.2008, allocations: 34.56 kB / 0.7342 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.2008, allocations: 0 / 0.7342 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0006639/0.2014, allocations: 0.4894 MB / 0.7347 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.2015, allocations: 51.41 kB / 0.7348 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000956/0.2024, allocations: 0.6942 MB / 0.7354 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.2025, allocations: 29.83 kB / 0.7355 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001775/0.2026, allocations: 232.1 kB / 0.7357 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.2027, allocations: 0 / 0.7357 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.099e-05/0.2027, allocations: 13.72 kB / 0.7357 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.2029, allocations: 366.8 kB / 0.7361 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.203, allocations: 136 kB / 0.7362 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.2031, allocations: 139.9 kB / 0.7363 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.2034, allocations: 288.7 kB / 0.7366 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2034, allocations: 0 / 0.7366 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004808/0.2039, allocations: 377.2 kB / 0.737 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2039, allocations: 4 kB / 0.737 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2039, allocations: 0 / 0.737 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2039, allocations: 0 / 0.737 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.395e-05/0.204, allocations: 4 kB / 0.737 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.204, allocations: 3.984 kB / 0.737 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.2042, allocations: 28 kB / 0.737 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.2042, allocations: 0 / 0.737 GB, free: 12.14 MB / 0.5606 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.0002053/0.2044, allocations: 209.7 kB / 0.7372 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.2046, allocations: 43.67 kB / 0.7372 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003867/0.2049, allocations: 392.8 kB / 0.7376 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2049, allocations: 0 / 0.7376 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.2049, allocations: 0 / 0.7376 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.205, allocations: 0 / 0.7376 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.2054, allocations: 412.5 kB / 0.738 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.2054, allocations: 0 / 0.738 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.585e-06/0.2054, allocations: 3.984 kB / 0.738 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.2054, allocations: 4 kB / 0.738 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.2054, allocations: 3.938 kB / 0.738 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2054, allocations: 0 / 0.738 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2054, allocations: 0 / 0.738 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.2059, allocations: 392.7 kB / 0.7384 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.2065, allocations: 283.3 kB / 0.7387 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.2067, allocations: 0 / 0.7387 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.2068, allocations: 32 kB / 0.7387 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.2069, allocations: 0 / 0.7387 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.2069, allocations: 0 / 0.7387 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007437/0.2076, allocations: 0.53 MB / 0.7392 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2076, allocations: 0 / 0.7392 GB, free: 9.793 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001838/0.2094, allocations: 0.5803 MB / 0.7398 GB, free: 9.211 MB / 0.5606 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.0033/0.2127, allocations: 1.77 MB / 0.7415 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003249/0.2131, allocations: 291.8 kB / 0.7418 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2131, allocations: 0 / 0.7418 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001447/0.2132, allocations: 165.6 kB / 0.7419 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.2136, allocations: 34.31 kB / 0.742 GB, free: 7.035 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.339/0.5525, allocations: 7.185 MB / 0.749 GB, free: 27.86 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.5527, allocations: 213 kB / 0.7492 GB, free: 27.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001115/0.5539, allocations: 452.5 kB / 0.7496 GB, free: 27.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006107/0.5545, allocations: 372.4 kB / 0.75 GB, free: 27.7 MB / 0.5606 GB Notification: Performance of SimCode: time 9.41e-07/0.5545, allocations: 0 / 0.75 GB, free: 27.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06795/0.6224, allocations: 27.29 MB / 0.7766 GB, free: 18.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.02/12.64, allocations: 9.844 kB / 0.7766 GB, free: 18.46 MB / 0.5606 GB " [Timeout remaining time 647] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.43118012882769] Failed to read output from testmodel.py, exit status != 0: 12.818887672852725 12.841992707 12.642244752 Calling exit ...