Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001325/0.001325, allocations: 110.5 kB / 19.58 MB, free: 2.34 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.001411/0.001411, allocations: 221.5 kB / 22.87 MB, free: 5.617 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.418/1.418, allocations: 230.5 MB / 256.5 MB, free: 8.141 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002557/0.002557, allocations: 291.2 kB / 313.2 MB, free: 2.926 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.207/1.207, allocations: 180.8 MB / 0.5376 GB, free: 12.9 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002949/0.002949, allocations: 110.6 kB / 0.7406 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1554, allocations: 95.38 MB / 0.8338 GB, free: 8.027 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002238/0.1576, allocations: 1.282 MB / 0.835 GB, free: 6.73 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.006953/0.1646, allocations: 4.567 MB / 0.8395 GB, free: 2.141 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.428e-05/0.1646, allocations: 4 kB / 0.8395 GB, free: 2.137 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 4.733e-05/0.1646, allocations: 0 / 0.8395 GB, free: 2.137 MB / 0.5763 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/BuildingSystems 2.0.0-master/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.00386/0.1685, allocations: 1.605 MB / 0.841 GB, free: 0.5312 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 8.315e-05/0.1686, allocations: 31.91 kB / 0.8411 GB, free: 0.5 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 5.594e-05/0.1686, allocations: 23.91 kB / 0.8411 GB, free: 488 kB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.1687, allocations: 8 kB / 0.8411 GB, free: 480 kB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.1687, allocations: 4 kB / 0.8411 GB, free: 476 kB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.1687, allocations: 17.28 kB / 0.8411 GB, free: 456 kB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-06/0.1687, allocations: 0 / 0.8411 GB, free: 456 kB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.1725, allocations: 2.574 MB / 0.8436 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001491/0.1726, allocations: 161.2 kB / 0.8438 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.211e-05/0.1726, allocations: 0 / 0.8438 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002261/0.1749, allocations: 1.742 MB / 0.8455 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1749, allocations: 0 / 0.8455 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1749, allocations: 0 / 0.8455 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1749, allocations: 0 / 0.8455 GB, free: 11.96 MB / 0.5919 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.0008515/0.1758, allocations: 0.5655 MB / 0.846 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.1758, allocations: 9.344 kB / 0.846 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.1758, allocations: 4.938 kB / 0.8461 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.1759, allocations: 106.5 kB / 0.8462 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.1759, allocations: 384 / 0.8462 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.176, allocations: 8.109 kB / 0.8462 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.1762, allocations: 173.6 kB / 0.8463 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1762, allocations: 0 / 0.8463 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.1762, allocations: 0 / 0.8463 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1762, allocations: 0 / 0.8463 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.1764, allocations: 279.9 kB / 0.8466 GB, free: 10.77 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002812/0.1767, allocations: 264.7 kB / 0.8468 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001417/0.1768, allocations: 154.5 kB / 0.847 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.1769, allocations: 148.8 kB / 0.8471 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.906e-06/0.1769, allocations: 4 kB / 0.8471 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.177, allocations: 34.5 kB / 0.8472 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.253e-06/0.177, allocations: 0 / 0.8472 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0004481/0.1774, allocations: 457.5 kB / 0.8476 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.1775, allocations: 55.41 kB / 0.8477 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.1776, allocations: 161.8 kB / 0.8478 GB, free: 9.426 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.1776, allocations: 33.69 kB / 0.8478 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.1776, allocations: 80.14 kB / 0.8479 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.1777, allocations: 7.953 kB / 0.8479 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.787e-05/0.1777, allocations: 9.719 kB / 0.8479 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.1778, allocations: 315.1 kB / 0.8482 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.1779, allocations: 143.9 kB / 0.8484 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.178, allocations: 136 kB / 0.8485 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.1783, allocations: 292.7 kB / 0.8488 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1783, allocations: 0 / 0.8488 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002699/0.1785, allocations: 325.5 kB / 0.8491 GB, free: 8.078 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1786, allocations: 4 kB / 0.8491 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1786, allocations: 0 / 0.8491 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1786, allocations: 0 / 0.8491 GB, free: 8.074 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.805e-05/0.1786, allocations: 8.094 kB / 0.8491 GB, free: 8.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.1786, allocations: 3.938 kB / 0.8491 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.461e-05/0.1787, allocations: 0 / 0.8491 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.1787, allocations: 0 / 0.8491 GB, free: 8.062 MB / 0.5919 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.0001167/0.1788, allocations: 170.5 kB / 0.8493 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.13e-05/0.1788, allocations: 3.938 kB / 0.8493 GB, free: 7.883 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.1791, allocations: 332.4 kB / 0.8496 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1791, allocations: 0 / 0.8496 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.1791, allocations: 32 / 0.8496 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1791, allocations: 4 kB / 0.8496 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.1794, allocations: 264.6 kB / 0.8499 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1794, allocations: 0 / 0.8499 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1794, allocations: 0 / 0.8499 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.1794, allocations: 0 / 0.8499 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-06/0.1794, allocations: 0 / 0.8499 GB, free: 7.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1794, allocations: 4 kB / 0.8499 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1794, allocations: 0 / 0.8499 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000282/0.1797, allocations: 348.9 kB / 0.8502 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-06/0.1797, allocations: 0 / 0.8502 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.1797, allocations: 0 / 0.8502 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.613e-05/0.1798, allocations: 0 / 0.8502 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.1798, allocations: 0 / 0.8502 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.1798, allocations: 4 kB / 0.8502 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 9.326e-05/0.1799, allocations: 151.2 kB / 0.8503 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.1799, allocations: 0 / 0.8503 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001172/0.1811, allocations: 0.5687 MB / 0.8509 GB, free: 6.16 MB / 0.5919 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.002336/0.1834, allocations: 0.9314 MB / 0.8518 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.1837, allocations: 279.9 kB / 0.8521 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1837, allocations: 0 / 0.8521 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.1839, allocations: 173.6 kB / 0.8522 GB, free: 4.863 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.1841, allocations: 8.578 kB / 0.8522 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.1852, allocations: 0.9511 MB / 0.8532 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.1854, allocations: 209.1 kB / 0.8534 GB, free: 3.656 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.051e-05/0.1855, allocations: 4 kB / 0.8534 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.649e-05/0.1855, allocations: 11.44 kB / 0.8534 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.1855, allocations: 0 / 0.8534 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of Templates: time 0.02019/0.2057, allocations: 12.44 MB / 0.8655 GB, free: 7.246 MB / 0.6075 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.753416835999815] Failed to read output from testmodel.py, exit status != 0: 0.21314668201375753 0.227865593 0.04995236300000001 Calling exit ...