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.001351/0.001351, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001454/0.001454, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.988 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.9332/0.9332, allocations: 145 MB / 457.4 MB, free: 15.5 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.002047/0.002047, allocations: 62.47 kB / 0.6332 GB, free: 7.246 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.1793, allocations: 87.89 MB / 0.719 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002527/0.1818, allocations: 1.267 MB / 0.7203 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007442/0.1892, allocations: 4.594 MB / 0.7248 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.1892, allocations: 0 / 0.7248 GB, free: 9.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.706e-05/0.1893, allocations: 7.984 kB / 0.7248 GB, free: 9.469 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.004111/0.1934, allocations: 1.606 MB / 0.7263 GB, free: 7.863 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.01e-05/0.1935, allocations: 27.91 kB / 0.7264 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.414e-05/0.1935, allocations: 19.92 kB / 0.7264 GB, free: 7.816 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.681e-05/0.1936, allocations: 4 kB / 0.7264 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.1936, allocations: 4 kB / 0.7264 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.1937, allocations: 29.2 kB / 0.7264 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.135e-06/0.1937, allocations: 0 / 0.7264 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/0.1978, allocations: 2.706 MB / 0.7291 GB, free: 5.066 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.198, allocations: 242.1 kB / 0.7293 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003496/0.1983, allocations: 242.9 kB / 0.7295 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.2013, allocations: 2.244 MB / 0.7317 GB, free: 2.344 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2013, allocations: 0 / 0.7317 GB, free: 2.344 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2013, allocations: 0 / 0.7317 GB, free: 2.344 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.573e-06/0.2013, allocations: 0 / 0.7317 GB, free: 2.344 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.00241/0.2037, allocations: 1.476 MB / 0.7332 GB, free: 0.832 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.2037, allocations: 12.03 kB / 0.7332 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.837e-05/0.2038, allocations: 34.69 kB / 0.7332 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002367/0.204, allocations: 48.61 kB / 0.7333 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008803/0.2049, allocations: 0.5921 MB / 0.7338 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.732e-06/0.2049, allocations: 384 / 0.7338 GB, free: 116 kB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2049, allocations: 3.938 kB / 0.7338 GB, free: 112 kB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.2051, allocations: 173.6 kB / 0.734 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2051, allocations: 0 / 0.734 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.2051, allocations: 4 kB / 0.734 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.286e-06/0.2052, allocations: 0 / 0.734 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002839/0.2054, allocations: 279.9 kB / 0.7343 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006151/0.2061, allocations: 0.5083 MB / 0.7348 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.2062, allocations: 166.3 kB / 0.7349 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.2063, allocations: 144.9 kB / 0.7351 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.2064, allocations: 0 / 0.7351 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/0.2064, allocations: 38.55 kB / 0.7351 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.2064, allocations: 0 / 0.7351 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.000613/0.207, allocations: 0.4933 MB / 0.7356 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.2071, allocations: 51.41 kB / 0.7356 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009889/0.2081, allocations: 0.6942 MB / 0.7363 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.2081, allocations: 25.7 kB / 0.7363 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.2083, allocations: 224.1 kB / 0.7366 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.2083, allocations: 7.938 kB / 0.7366 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.2083, allocations: 17.83 kB / 0.7366 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002649/0.2086, allocations: 362.8 kB / 0.7369 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.2087, allocations: 139.9 kB / 0.7371 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.2088, allocations: 143.9 kB / 0.7372 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.209, allocations: 284.8 kB / 0.7375 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2091, allocations: 0 / 0.7375 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004501/0.2095, allocations: 365.1 kB / 0.7378 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.2095, allocations: 8.094 kB / 0.7378 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2095, allocations: 4 kB / 0.7378 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2095, allocations: 0 / 0.7378 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.643e-05/0.2096, allocations: 3.984 kB / 0.7378 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2096, allocations: 0 / 0.7378 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.21, allocations: 32 kB / 0.7379 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.21, allocations: 7.984 kB / 0.7379 GB, free: 11.85 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.0001999/0.2102, allocations: 205.7 kB / 0.7381 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001721/0.2104, allocations: 47.67 kB / 0.7381 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00039/0.2108, allocations: 380.9 kB / 0.7385 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2108, allocations: 0 / 0.7385 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.2108, allocations: 0 / 0.7385 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2108, allocations: 4 kB / 0.7385 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.2112, allocations: 416.4 kB / 0.7389 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/0.2113, allocations: 8 kB / 0.7389 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.3e-07/0.2113, allocations: 0 / 0.7389 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.2113, allocations: 3.984 kB / 0.7389 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.2113, allocations: 0 / 0.7389 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2113, allocations: 3.938 kB / 0.7389 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2113, allocations: 32 / 0.7389 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005594/0.2118, allocations: 384.7 kB / 0.7393 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006018/0.2124, allocations: 287.4 kB / 0.7395 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.2126, allocations: 0 / 0.7395 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.2128, allocations: 32 kB / 0.7396 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.762e-05/0.2128, allocations: 0 / 0.7396 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.2128, allocations: 0 / 0.7396 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008007/0.2136, allocations: 0.5339 MB / 0.7401 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2136, allocations: 0 / 0.7401 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00154/0.2151, allocations: 0.5726 MB / 0.7406 GB, free: 8.93 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.002961/0.2181, allocations: 1.747 MB / 0.7423 GB, free: 7.246 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.2184, allocations: 279.9 kB / 0.7426 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2184, allocations: 0 / 0.7426 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.2186, allocations: 169.6 kB / 0.7428 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.2189, allocations: 32.06 kB / 0.7428 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2917/0.5106, allocations: 7.185 MB / 0.7498 GB, free: 27.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.5108, allocations: 0.8171 MB / 0.7506 GB, free: 27.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009549/0.5117, allocations: 460.7 kB / 0.7511 GB, free: 27.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005434/0.5123, allocations: 368.3 kB / 0.7514 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.5123, allocations: 1.531 kB / 0.7514 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06643/0.5787, allocations: 26.34 MB / 0.7771 GB, free: 18.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.91, allocations: 7.094 kB / 0.7771 GB, free: 18.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 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.23267273698002] Failed to read output from testmodel.py, exit status != 0: 13.081936825998127 13.093429207 12.889819288 Calling exit ...