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.001792/0.001792, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.002301/0.002301, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.444/1.444, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.002595/0.002595, allocations: 234.5 kB / 259.8 MB, free: 12.84 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 1.07/1.07, allocations: 138.4 MB / 454.7 MB, free: 1.469 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.543e-06/1.543e-06, allocations: 0 / 0.5544 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.907e-05/3.062e-05, allocations: 6.25 kB / 0.5544 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002504/0.002535, allocations: 1.271 MB / 0.5556 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00802/0.01055, allocations: 4.135 MB / 0.5597 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.043e-05/0.01058, allocations: 0 / 0.5597 GB, free: 11.36 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 5.659e-05/0.01063, allocations: 3.938 kB / 0.5597 GB, free: 11.35 MB / 490.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.004777/0.01541, allocations: 1.605 MB / 0.5612 GB, free: 9.742 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.01551, allocations: 31.91 kB / 0.5613 GB, free: 9.711 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 5.954e-05/0.01557, allocations: 15.92 kB / 0.5613 GB, free: 9.695 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.324e-05/0.01561, allocations: 8 kB / 0.5613 GB, free: 9.688 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.408e-05/0.01564, allocations: 7.984 kB / 0.5613 GB, free: 9.68 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.301e-05/0.0157, allocations: 17.28 kB / 0.5613 GB, free: 9.664 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.01571, allocations: 4 kB / 0.5613 GB, free: 9.66 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004562/0.02028, allocations: 2.436 MB / 0.5637 GB, free: 7.219 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.02046, allocations: 145.2 kB / 0.5638 GB, free: 7.074 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.02049, allocations: 4 kB / 0.5638 GB, free: 7.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.02453, allocations: 2.1 MB / 0.5659 GB, free: 4.965 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.02454, allocations: 0 / 0.5659 GB, free: 4.965 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.02454, allocations: 4 kB / 0.5659 GB, free: 4.961 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.02454, allocations: 0 / 0.5659 GB, free: 4.961 MB / 490.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.001204/0.02575, allocations: 0.5616 MB / 0.5664 GB, free: 4.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.02579, allocations: 12.75 kB / 0.5665 GB, free: 4.355 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.368e-05/0.02583, allocations: 4.875 kB / 0.5665 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.02597, allocations: 105.8 kB / 0.5666 GB, free: 4.223 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.02599, allocations: 4.359 kB / 0.5666 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.644e-06/0.026, allocations: 4.375 kB / 0.5666 GB, free: 4.215 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.02629, allocations: 170.2 kB / 0.5667 GB, free: 4.043 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.517e-06/0.0263, allocations: 3.938 kB / 0.5667 GB, free: 4.039 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.02631, allocations: 0 / 0.5667 GB, free: 4.039 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.097e-06/0.02632, allocations: 0 / 0.5667 GB, free: 4.039 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002716/0.02659, allocations: 279.8 kB / 0.567 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.02691, allocations: 241.3 kB / 0.5672 GB, free: 3.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.0271, allocations: 158.5 kB / 0.5674 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.02726, allocations: 144.9 kB / 0.5675 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.02727, allocations: 0 / 0.5675 GB, free: 3.191 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.02731, allocations: 38.56 kB / 0.5676 GB, free: 3.145 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.02731, allocations: 0 / 0.5676 GB, free: 3.145 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0005536/0.02786, allocations: 457.4 kB / 0.568 GB, free: 2.691 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.02792, allocations: 55.41 kB / 0.568 GB, free: 2.625 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.02808, allocations: 161.8 kB / 0.5682 GB, free: 2.457 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.0281, allocations: 29.7 kB / 0.5682 GB, free: 2.422 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.02815, allocations: 84.14 kB / 0.5683 GB, free: 2.336 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.02817, allocations: 0 / 0.5683 GB, free: 2.336 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.523e-05/0.0282, allocations: 13.7 kB / 0.5683 GB, free: 2.316 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.02837, allocations: 315.1 kB / 0.5686 GB, free: 2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.02851, allocations: 143.9 kB / 0.5688 GB, free: 1.859 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.02864, allocations: 136 kB / 0.5689 GB, free: 1.727 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.02895, allocations: 296.7 kB / 0.5692 GB, free: 1.434 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.02895, allocations: 4 kB / 0.5692 GB, free: 1.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003347/0.02928, allocations: 313.5 kB / 0.5695 GB, free: 1.117 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.0293, allocations: 7.984 kB / 0.5695 GB, free: 1.109 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.02931, allocations: 4 kB / 0.5695 GB, free: 1.105 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.02933, allocations: 3.938 kB / 0.5695 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.509e-05/0.02938, allocations: 0 / 0.5695 GB, free: 1.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.02939, allocations: 4.094 kB / 0.5695 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.02947, allocations: 0 / 0.5695 GB, free: 1.098 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.02948, allocations: 4 kB / 0.5695 GB, free: 1.094 MB / 490.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 0.0001413/0.02962, allocations: 165.8 kB / 0.5697 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.137e-05/0.02963, allocations: 3.938 kB / 0.5697 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003805/0.03001, allocations: 324.5 kB / 0.57 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.03002, allocations: 7.938 kB / 0.57 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.03002, allocations: 0 / 0.57 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.03002, allocations: 0 / 0.57 GB, free: 0.5898 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.03029, allocations: 233.3 kB / 0.5702 GB, free: 340 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.0303, allocations: 8.031 kB / 0.5702 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.91e-07/0.0303, allocations: 0 / 0.5702 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.03031, allocations: 3.984 kB / 0.5702 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.03031, allocations: 0 / 0.5702 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.03031, allocations: 0 / 0.5702 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.03032, allocations: 7.922 kB / 0.5702 GB, free: 320 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003785/0.0307, allocations: 333 kB / 0.5705 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.03071, allocations: 7.984 kB / 0.5705 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.234e-05/0.03078, allocations: 0 / 0.5705 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.03086, allocations: 3.938 kB / 0.5705 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.03088, allocations: 7.969 kB / 0.5706 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.03088, allocations: 0 / 0.5706 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001184/0.031, allocations: 151.2 kB / 0.5707 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7e-08/0.031, allocations: 0 / 0.5707 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001508/0.03251, allocations: 0.5764 MB / 0.5713 GB, free: 15.22 MB / 0.4948 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.003158/0.03567, allocations: 1.017 MB / 0.5723 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003313/0.036, allocations: 291.9 kB / 0.5725 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.036, allocations: 0 / 0.5725 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.03617, allocations: 165.7 kB / 0.5727 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.03642, allocations: 47.94 kB / 0.5727 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.0379, allocations: 0.9758 MB / 0.5737 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.03815, allocations: 213.1 kB / 0.5739 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.03817, allocations: 4 kB / 0.5739 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.004e-05/0.03821, allocations: 16.48 kB / 0.5739 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of SimCode: time 6.11e-07/0.03821, allocations: 0 / 0.5739 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of Templates: time 0.02549/0.0637, allocations: 12.6 MB / 0.5862 GB, free: 15.97 MB / 0.5105 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: 6.418131098034792]