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.001798/0.001798, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.00212/0.00212, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.451/1.451, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002588/0.002588, allocations: 291 kB / 312.7 MB, free: 2.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.234/1.234, allocations: 180.6 MB / 0.5369 GB, free: 14.51 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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.003001/0.003001, allocations: 103.4 kB / 0.74 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.1634, allocations: 95.38 MB / 0.8332 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002332/0.1658, allocations: 1.29 MB / 0.8344 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007036/0.1728, allocations: 4.126 MB / 0.8385 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.1728, allocations: 0 / 0.8385 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.686e-05/0.1729, allocations: 4 kB / 0.8385 GB, free: 2.34 MB / 0.5762 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 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.004017/0.1769, allocations: 1.584 MB / 0.84 GB, free: 0.7539 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 9.518e-05/0.177, allocations: 39.89 kB / 0.8401 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.542e-05/0.1771, allocations: 15.88 kB / 0.8401 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.1771, allocations: 0 / 0.8401 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.377e-05/0.1771, allocations: 11.98 kB / 0.8401 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.125e-05/0.1772, allocations: 21.28 kB / 0.8401 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.036e-05/0.1772, allocations: 0 / 0.8401 GB, free: 0.6641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004058/0.1813, allocations: 2.421 MB / 0.8425 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.1814, allocations: 153.2 kB / 0.8426 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.1814, allocations: 0 / 0.8426 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.1841, allocations: 1.734 MB / 0.8443 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1841, allocations: 0 / 0.8443 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1841, allocations: 0 / 0.8443 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.1841, allocations: 0 / 0.8443 GB, free: 12.35 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.0008779/0.185, allocations: 0.5655 MB / 0.8449 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.185, allocations: 9.344 kB / 0.8449 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.7e-05/0.185, allocations: 0.9375 kB / 0.8449 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.1851, allocations: 110.5 kB / 0.845 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1852, allocations: 384 / 0.845 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.1852, allocations: 4.125 kB / 0.845 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.1854, allocations: 173.6 kB / 0.8451 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.1854, allocations: 0 / 0.8451 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.094e-06/0.1854, allocations: 0 / 0.8451 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1854, allocations: 3.984 kB / 0.8451 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.1856, allocations: 283.9 kB / 0.8454 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002804/0.1859, allocations: 241.3 kB / 0.8456 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1861, allocations: 154.5 kB / 0.8458 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.1863, allocations: 152.8 kB / 0.8459 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.1863, allocations: 0 / 0.8459 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/0.1863, allocations: 34.5 kB / 0.846 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.1863, allocations: 0 / 0.846 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0004946/0.1868, allocations: 457.5 kB / 0.8464 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.1868, allocations: 55.39 kB / 0.8465 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.187, allocations: 170 kB / 0.8466 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.187, allocations: 29.64 kB / 0.8467 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.187, allocations: 84.14 kB / 0.8467 GB, free: 9.715 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.1871, allocations: 3.953 kB / 0.8467 GB, free: 9.711 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.1871, allocations: 13.72 kB / 0.8467 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1872, allocations: 310.8 kB / 0.847 GB, free: 9.379 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.1874, allocations: 143.9 kB / 0.8472 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/0.1875, allocations: 143.9 kB / 0.8473 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.1877, allocations: 284.8 kB / 0.8476 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.1877, allocations: 0 / 0.8476 GB, free: 8.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002969/0.188, allocations: 321.7 kB / 0.8479 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.1881, allocations: 8 kB / 0.8479 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1881, allocations: 0 / 0.8479 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1881, allocations: 0 / 0.8479 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.1881, allocations: 0 / 0.8479 GB, free: 8.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1881, allocations: 7.984 kB / 0.8479 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.029e-05/0.1882, allocations: 0 / 0.8479 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.1882, allocations: 0 / 0.8479 GB, free: 8.48 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.0001295/0.1883, allocations: 170.4 kB / 0.8481 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.1884, allocations: 7.938 kB / 0.8481 GB, free: 8.297 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003657/0.1887, allocations: 332.5 kB / 0.8484 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1887, allocations: 0 / 0.8484 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1887, allocations: 0 / 0.8484 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1887, allocations: 0 / 0.8484 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.189, allocations: 237.3 kB / 0.8486 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.189, allocations: 3.984 kB / 0.8486 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.189, allocations: 0 / 0.8486 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.189, allocations: 3.938 kB / 0.8486 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.189, allocations: 0 / 0.8486 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.189, allocations: 0 / 0.8486 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.189, allocations: 0 / 0.8486 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003284/0.1893, allocations: 349 kB / 0.849 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-06/0.1893, allocations: 0 / 0.849 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.1894, allocations: 3.938 kB / 0.849 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.72e-05/0.1895, allocations: 3.938 kB / 0.849 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.68e-05/0.1895, allocations: 0 / 0.849 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-06/0.1895, allocations: 4 kB / 0.849 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001163/0.1896, allocations: 151.2 kB / 0.8491 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1896, allocations: 0 / 0.8491 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001433/0.191, allocations: 0.5687 MB / 0.8497 GB, free: 6.605 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.002506/0.1935, allocations: 0.9454 MB / 0.8506 GB, free: 5.762 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.1939, allocations: 287.8 kB / 0.8509 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1939, allocations: 0 / 0.8509 GB, free: 5.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/0.194, allocations: 169.6 kB / 0.851 GB, free: 5.309 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1942, allocations: 7.938 kB / 0.851 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001268/0.1955, allocations: 0.9842 MB / 0.852 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.1957, allocations: 213.1 kB / 0.8522 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 2.037e-05/0.1957, allocations: 4 kB / 0.8522 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.1957, allocations: 11.44 kB / 0.8522 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.1957, allocations: 0 / 0.8522 GB, free: 4.047 MB / 0.5919 GB Notification: Performance of Templates: time 0.02203/0.2178, allocations: 12.88 MB / 0.8648 GB, free: 7.191 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.060690179467201] Failed to read output from testmodel.py, exit status != 0: 0.22509866766631603 0.24096497400000003 0.05381193200000001 Calling exit ...