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.0009145/0.0009145, allocations: 80.81 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001251/0.001251, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9116/0.9116, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.001626/0.001626, allocations: 241.9 kB / 260.5 MB, free: 12.71 MB / 250.7 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 0.6962/0.6962, allocations: 138.4 MB / 402.2 MB, free: 0.5625 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 462.4 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.017e-05/1.155e-05, allocations: 3.188 kB / 462.4 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001475/0.001487, allocations: 1.309 MB / 463.7 MB, free: 28 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.006335, allocations: 4.325 MB / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.006356, allocations: 0.5 kB / 468 MB, free: 12.98 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 5.199e-05/0.006408, allocations: 1.031 kB / 468 MB, free: 12.98 MB / 426.7 MB [/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.003252/0.00966, allocations: 1.623 MB / 469.6 MB, free: 11.36 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 6.59e-05/0.009726, allocations: 39.88 kB / 469.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 4.442e-05/0.00977, allocations: 8.938 kB / 469.7 MB, free: 11.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.18e-05/0.009802, allocations: 4 kB / 469.7 MB, free: 11.31 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.894e-05/0.009831, allocations: 12.58 kB / 469.7 MB, free: 11.3 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.405e-05/0.009885, allocations: 25.27 kB / 469.7 MB, free: 11.28 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.009894, allocations: 1.469 kB / 469.7 MB, free: 11.28 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002812/0.01271, allocations: 2.432 MB / 472.1 MB, free: 8.859 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.01281, allocations: 153.2 kB / 472.3 MB, free: 8.711 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.744e-05/0.01283, allocations: 0 / 472.3 MB, free: 8.711 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.015, allocations: 2.059 MB / 474.4 MB, free: 6.648 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.01501, allocations: 0 / 474.4 MB, free: 6.648 MB / 426.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.01501, allocations: 0.8438 kB / 474.4 MB, free: 6.648 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.01501, allocations: 0 / 474.4 MB, free: 6.648 MB / 426.7 MB 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.0006747/0.01568, allocations: 0.5436 MB / 474.9 MB, free: 6.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.01571, allocations: 9.469 kB / 474.9 MB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.27e-05/0.01574, allocations: 5.734 kB / 474.9 MB, free: 6.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.919e-05/0.01581, allocations: 102.7 kB / 475 MB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.534e-06/0.01581, allocations: 384 / 475 MB, free: 5.945 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.833e-06/0.01582, allocations: 5 kB / 475 MB, free: 5.941 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.01591, allocations: 90.78 kB / 475.1 MB, free: 5.848 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.01591, allocations: 9.469 kB / 475.1 MB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.55e-06/0.01592, allocations: 2.672 kB / 475.1 MB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.01592, allocations: 0 / 475.1 MB, free: 5.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.01599, allocations: 123.9 kB / 475.2 MB, free: 5.719 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001368/0.01613, allocations: 182 kB / 475.4 MB, free: 5.527 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.824e-05/0.01618, allocations: 78.58 kB / 475.5 MB, free: 5.441 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.92e-05/0.01622, allocations: 70.02 kB / 475.6 MB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.418e-06/0.01623, allocations: 0 / 475.6 MB, free: 5.371 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.578e-05/0.01624, allocations: 35.19 kB / 475.6 MB, free: 5.328 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 6.22e-07/0.01624, allocations: 0.625 kB / 475.6 MB, free: 5.328 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001688/0.01641, allocations: 214.5 kB / 475.8 MB, free: 5.113 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.01644, allocations: 55.34 kB / 475.9 MB, free: 5.047 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.652e-05/0.01649, allocations: 103.7 kB / 476 MB, free: 4.934 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.043e-06/0.01649, allocations: 25.7 kB / 476 MB, free: 4.902 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.643e-05/0.01651, allocations: 80.77 kB / 476.1 MB, free: 4.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.084e-05/0.01653, allocations: 7.078 kB / 476.1 MB, free: 4.816 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.01655, allocations: 16.09 kB / 476.1 MB, free: 4.797 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.01661, allocations: 310.8 kB / 476.4 MB, free: 4.484 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.351e-05/0.01665, allocations: 59.97 kB / 476.5 MB, free: 4.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.586e-05/0.01668, allocations: 67.97 kB / 476.5 MB, free: 4.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.258e-05/0.01675, allocations: 128.8 kB / 476.6 MB, free: 4.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.01676, allocations: 3.094 kB / 476.6 MB, free: 4.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.35e-05/0.01685, allocations: 153.6 kB / 476.8 MB, free: 4.074 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.357e-06/0.01686, allocations: 6.312 kB / 476.8 MB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.01686, allocations: 4.844 kB / 476.8 MB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.01687, allocations: 0 / 476.8 MB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.893e-05/0.01691, allocations: 1.156 kB / 476.8 MB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.01691, allocations: 3.938 kB / 476.8 MB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.01696, allocations: 0 / 476.8 MB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-06/0.01696, allocations: 0 / 476.8 MB, free: 4.062 MB / 426.7 MB 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 4.661e-05/0.01701, allocations: 113.9 kB / 476.9 MB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.419e-06/0.01701, allocations: 3.984 kB / 476.9 MB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.01714, allocations: 161.2 kB / 477.1 MB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01714, allocations: 2.062 kB / 477.1 MB, free: 3.777 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.145e-06/0.01714, allocations: 3.938 kB / 477.1 MB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.01714, allocations: 0 / 477.1 MB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.01727, allocations: 185.8 kB / 477.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01727, allocations: 0 / 477.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.01727, allocations: 0.8125 kB / 477.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.01727, allocations: 0.6875 kB / 477.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-06/0.01728, allocations: 0 / 477.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.01728, allocations: 0.5625 kB / 477.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.01728, allocations: 5.047 kB / 477.3 MB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.01764, allocations: 185 kB / 477.5 MB, free: 3.367 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.01764, allocations: 4 kB / 477.5 MB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.669e-05/0.01768, allocations: 1.188 kB / 477.5 MB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.936e-05/0.01772, allocations: 1.094 kB / 477.5 MB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.101e-05/0.01773, allocations: 0.8438 kB / 477.5 MB, free: 3.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.01773, allocations: 3.938 kB / 477.5 MB, free: 3.359 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.081e-05/0.01774, allocations: 13.59 kB / 477.5 MB, free: 3.344 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01774, allocations: 1.531 kB / 477.5 MB, free: 3.344 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006903/0.01843, allocations: 0.5764 MB / 478.1 MB, free: 2.766 MB / 426.7 MB 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.001728/0.02016, allocations: 1.099 MB / 479.2 MB, free: 1.891 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000116/0.02028, allocations: 129.7 kB / 479.3 MB, free: 1.762 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.02028, allocations: 0 / 479.3 MB, free: 1.762 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.484e-05/0.02033, allocations: 96.06 kB / 479.4 MB, free: 1.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.646e-05/0.02043, allocations: 23.94 kB / 479.4 MB, free: 1.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005914/0.02102, allocations: 0.7616 MB / 480.2 MB, free: 0.8516 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.03e-05/0.02108, allocations: 117 kB / 480.3 MB, free: 0.7188 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 1.367e-05/0.0211, allocations: 4.5 kB / 480.3 MB, free: 0.7148 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.735e-05/0.02113, allocations: 51.97 kB / 480.3 MB, free: 0.668 MB / 426.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02113, allocations: 2.688 kB / 480.3 MB, free: 0.668 MB / 426.7 MB Notification: Performance of Templates: time 0.0145/0.03563, allocations: 13.72 MB / 494.1 MB, free: 3.262 MB / 442.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9951459211297333]