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.001404/0.001404, allocations: 116.8 kB / 17.17 MB, free: 6 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.001458/0.001458, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.471/1.471, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9154/0.9154, allocations: 144.9 MB / 454.5 MB, free: 10.05 MB / 350.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="cs",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="cs",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.001897/0.001897, allocations: 66.91 kB / 0.6288 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 87.83 MB / 0.7145 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002678/0.1548, allocations: 1.269 MB / 0.7158 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007632/0.1625, allocations: 4.547 MB / 0.7202 GB, free: 5.914 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.1625, allocations: 4 kB / 0.7202 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 6.758e-05/0.1626, allocations: 0 / 0.7202 GB, free: 5.91 MB / 0.5294 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.004316/0.1669, allocations: 1.514 MB / 0.7217 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000102/0.167, allocations: 39.88 kB / 0.7217 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.391e-05/0.167, allocations: 8 kB / 0.7217 GB, free: 4.348 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.1671, allocations: 4 kB / 0.7217 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.1671, allocations: 4 kB / 0.7217 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.435e-05/0.1672, allocations: 25.27 kB / 0.7218 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1672, allocations: 0 / 0.7218 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.171, allocations: 2.402 MB / 0.7241 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.1712, allocations: 242.1 kB / 0.7243 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.1716, allocations: 246.9 kB / 0.7246 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003699/0.1753, allocations: 2.205 MB / 0.7267 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1753, allocations: 3.938 kB / 0.7267 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.432e-06/0.1753, allocations: 0 / 0.7267 GB, free: 15.21 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.1753, allocations: 0 / 0.7267 GB, free: 15.21 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.002685/0.178, allocations: 1.551 MB / 0.7283 GB, free: 13.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.178, allocations: 12.03 kB / 0.7283 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.335e-05/0.178, allocations: 4.125 kB / 0.7283 GB, free: 13.59 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.1781, allocations: 30.75 kB / 0.7283 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002344/0.1783, allocations: 48.61 kB / 0.7283 GB, free: 13.5 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009106/0.1792, allocations: 0.6525 MB / 0.729 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.1792, allocations: 4.125 kB / 0.729 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.1792, allocations: 0 / 0.729 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.1794, allocations: 173.6 kB / 0.7292 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1795, allocations: 0 / 0.7292 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1795, allocations: 0 / 0.7292 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1795, allocations: 0 / 0.7292 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002295/0.1797, allocations: 283.8 kB / 0.7294 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006486/0.1803, allocations: 0.5327 MB / 0.7299 GB, free: 11.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.1805, allocations: 166.5 kB / 0.7301 GB, free: 11.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.1806, allocations: 144.9 kB / 0.7302 GB, free: 11.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1806, allocations: 4 kB / 0.7302 GB, free: 11.45 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1807, allocations: 34.56 kB / 0.7303 GB, free: 11.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1807, allocations: 0 / 0.7303 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0006459/0.1813, allocations: 497.1 kB / 0.7308 GB, free: 10.92 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1813, allocations: 55.39 kB / 0.7308 GB, free: 10.85 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.1824, allocations: 0.6942 MB / 0.7315 GB, free: 10.14 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.1824, allocations: 25.7 kB / 0.7315 GB, free: 10.11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.1826, allocations: 232.2 kB / 0.7317 GB, free: 9.883 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.1826, allocations: 0 / 0.7317 GB, free: 9.883 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.1826, allocations: 13.72 kB / 0.7317 GB, free: 9.863 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.1828, allocations: 370.7 kB / 0.7321 GB, free: 9.492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1829, allocations: 139.9 kB / 0.7322 GB, free: 9.355 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.183, allocations: 140 kB / 0.7324 GB, free: 9.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/0.1833, allocations: 288.7 kB / 0.7326 GB, free: 8.934 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.1833, allocations: 3.938 kB / 0.7326 GB, free: 8.93 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004626/0.1837, allocations: 369.2 kB / 0.733 GB, free: 8.562 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1837, allocations: 4 kB / 0.733 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.1837, allocations: 0 / 0.733 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1838, allocations: 0 / 0.733 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.616e-05/0.1838, allocations: 4 kB / 0.733 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.1838, allocations: 0 / 0.733 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.184, allocations: 28 kB / 0.733 GB, free: 8.527 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.184, allocations: 0 / 0.733 GB, free: 8.527 MB / 0.545 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.0001891/0.1842, allocations: 213.7 kB / 0.7332 GB, free: 8.309 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.1844, allocations: 47.67 kB / 0.7333 GB, free: 8.262 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.1848, allocations: 384.9 kB / 0.7336 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1848, allocations: 0 / 0.7336 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1848, allocations: 0 / 0.7336 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1848, allocations: 7.922 kB / 0.7337 GB, free: 7.871 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.1853, allocations: 441.5 kB / 0.7341 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.1853, allocations: 0 / 0.7341 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.72e-07/0.1853, allocations: 0 / 0.7341 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1853, allocations: 0 / 0.7341 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1853, allocations: 32 / 0.7341 GB, free: 7.391 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1853, allocations: 4 kB / 0.7341 GB, free: 7.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1853, allocations: 4 kB / 0.7341 GB, free: 7.383 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004702/0.1857, allocations: 384.7 kB / 0.7344 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/0.1862, allocations: 356.5 kB / 0.7348 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.1863, allocations: 4 kB / 0.7348 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.1865, allocations: 28 kB / 0.7348 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.1866, allocations: 0 / 0.7348 GB, free: 6.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-06/0.1866, allocations: 4.031 kB / 0.7348 GB, free: 6.586 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008587/0.1874, allocations: 0.5377 MB / 0.7353 GB, free: 6.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1874, allocations: 0 / 0.7353 GB, free: 6.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001538/0.189, allocations: 0.5803 MB / 0.7359 GB, free: 5.469 MB / 0.545 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.003598/0.1926, allocations: 1.741 MB / 0.7376 GB, free: 3.797 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.1929, allocations: 283.9 kB / 0.7379 GB, free: 3.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1929, allocations: 0 / 0.7379 GB, free: 3.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.193, allocations: 173.6 kB / 0.7381 GB, free: 3.344 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.1934, allocations: 30.31 kB / 0.7381 GB, free: 3.316 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01021/0.2036, allocations: 7.195 MB / 0.7451 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.2041, allocations: 0.8197 MB / 0.7459 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001077/0.2052, allocations: 448.1 kB / 0.7463 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006923/0.2059, allocations: 375.2 kB / 0.7467 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.2059, allocations: 0 / 0.7467 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05594/0.2618, allocations: 26.33 MB / 0.7724 GB, free: 320 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.449/9.711, allocations: 12.38 kB / 0.7724 GB, free: 312 kB / 0.5762 GB " [Timeout remaining time 650] (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: 13.495658427011222] Failed to read output from testmodel.py, exit status != 0: 9.898802172974683 9.914906569 9.736693492 Calling exit ...