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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001909/0.001909, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.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.002319/0.002319, allocations: 278.8 kB / 304.8 MB, free: 3.516 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.061/1.061, allocations: 180.9 MB / 0.5282 GB, free: 2.316 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002891/0.002891, allocations: 103.8 kB / 0.7284 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4749, allocations: 94.16 MB / 0.8203 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00237/0.4773, allocations: 1.257 MB / 0.8216 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007607/0.4849, allocations: 4.56 MB / 0.826 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.085e-05/0.4849, allocations: 1.25 kB / 0.826 GB, free: 148 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 7.03e-05/0.485, allocations: 3.984 kB / 0.826 GB, free: 144 kB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.004851/0.4898, allocations: 1.516 MB / 0.8275 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.4899, allocations: 38.67 kB / 0.8275 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.084e-05/0.49, allocations: 16.33 kB / 0.8276 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.99e-05/0.4901, allocations: 0 / 0.8276 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.309e-05/0.4901, allocations: 4.906 kB / 0.8276 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.992e-05/0.4901, allocations: 24.23 kB / 0.8276 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.009e-05/0.4901, allocations: 0 / 0.8276 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004475/0.4946, allocations: 2.379 MB / 0.8299 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.4948, allocations: 152.9 kB / 0.8301 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.4948, allocations: 6.562 kB / 0.8301 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003957/0.4988, allocations: 1.738 MB / 0.8318 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.4988, allocations: 1.281 kB / 0.8318 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4988, allocations: 0 / 0.8318 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.072e-05/0.4988, allocations: 0 / 0.8318 GB, free: 12.73 MB / 0.5762 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.001114/0.4999, allocations: 0.6432 MB / 0.8324 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.4999, allocations: 8.812 kB / 0.8324 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.5, allocations: 4.938 kB / 0.8324 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.5001, allocations: 162.1 kB / 0.8326 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.5001, allocations: 1.906 kB / 0.8326 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.5001, allocations: 4.125 kB / 0.8326 GB, free: 11.94 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.5003, allocations: 175.7 kB / 0.8327 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.5003, allocations: 0 / 0.8327 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.5004, allocations: 1.781 kB / 0.8327 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5004, allocations: 0 / 0.8327 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002021/0.5006, allocations: 282 kB / 0.833 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.5009, allocations: 287.8 kB / 0.8333 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.501, allocations: 156.6 kB / 0.8334 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001147/0.5011, allocations: 150 kB / 0.8336 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.5011, allocations: 1.438 kB / 0.8336 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.5012, allocations: 38.48 kB / 0.8336 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.5012, allocations: 0 / 0.8336 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0004466/0.5016, allocations: 457 kB / 0.834 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.5017, allocations: 51.41 kB / 0.8341 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.5018, allocations: 169.7 kB / 0.8342 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.5018, allocations: 25.7 kB / 0.8343 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.547e-05/0.5019, allocations: 80.14 kB / 0.8343 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.5019, allocations: 1.094 kB / 0.8343 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.5019, allocations: 15.88 kB / 0.8344 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.502, allocations: 319.1 kB / 0.8347 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.5022, allocations: 141.3 kB / 0.8348 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.5023, allocations: 141.9 kB / 0.8349 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.5025, allocations: 292.5 kB / 0.8352 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5025, allocations: 0 / 0.8352 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000259/0.5028, allocations: 311.9 kB / 0.8355 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.5028, allocations: 6.125 kB / 0.8355 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5028, allocations: 0 / 0.8355 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5028, allocations: 4.078 kB / 0.8355 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.257e-05/0.5029, allocations: 6.031 kB / 0.8355 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.5029, allocations: 0 / 0.8355 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.5029, allocations: 9.156 kB / 0.8355 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.5029, allocations: 0 / 0.8355 GB, free: 10.67 MB / 0.5762 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.0001202/0.5031, allocations: 168.2 kB / 0.8357 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.5031, allocations: 8.859 kB / 0.8357 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.5034, allocations: 324.1 kB / 0.836 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.5034, allocations: 5.609 kB / 0.836 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.5034, allocations: 4.031 kB / 0.836 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.5034, allocations: 0 / 0.836 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.5036, allocations: 287.4 kB / 0.8363 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5036, allocations: 1.562 kB / 0.8363 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.5036, allocations: 0 / 0.8363 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.5036, allocations: 1.562 kB / 0.8363 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.5036, allocations: 0 / 0.8363 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.5036, allocations: 3.984 kB / 0.8363 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.5036, allocations: 1.531 kB / 0.8363 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.5039, allocations: 344 kB / 0.8366 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.322e-05/0.504, allocations: 81.09 kB / 0.8367 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.537e-05/0.504, allocations: 1.656 kB / 0.8367 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.285e-05/0.5041, allocations: 3.938 kB / 0.8367 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.5041, allocations: 0 / 0.8367 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.5041, allocations: 1.781 kB / 0.8367 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.999e-05/0.5042, allocations: 154.3 kB / 0.8369 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5042, allocations: 0 / 0.8369 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001489/0.5057, allocations: 0.5752 MB / 0.8374 GB, free: 9.797 MB / 0.5762 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.002903/0.5086, allocations: 0.9402 MB / 0.8383 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.5089, allocations: 285.1 kB / 0.8386 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5089, allocations: 64 / 0.8386 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001321/0.509, allocations: 173.1 kB / 0.8388 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.5092, allocations: 12.16 kB / 0.8388 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.5105, allocations: 0.9406 MB / 0.8397 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.511, allocations: 0.8177 MB / 0.8405 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.638e-05/0.511, allocations: 7 kB / 0.8405 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.423e-05/0.511, allocations: 10.5 kB / 0.8405 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.511, allocations: 1.531 kB / 0.8405 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.02124/0.5323, allocations: 12.39 MB / 0.8526 GB, free: 12.42 MB / 0.5919 GB " [Timeout remaining time 659] 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.080731960944831]