Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.252/2.252, allocations: 390.5 MB / 398 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009744/0.0009744, allocations: 184.3 kB / 491.2 MB, free: 1.559 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 221.5 MB / 0.7868 GB, free: 13.29 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 95.52 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.027e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2837, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.307, allocations: 172.8 MB / 1.381 GB, free: 15.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/1.307, allocations: 110.5 kB / 1.381 GB, free: 15.51 MB / 0.823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.08266/1.39, allocations: 28.99 MB / 1.409 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.274e-06/1.39, allocations: 0 / 1.409 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.115e-05/1.39, allocations: 8 kB / 1.41 GB, free: 15.63 MB / 0.8386 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.002508/1.392, allocations: 0.916 MB / 1.41 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/1.393, allocations: 11.97 kB / 1.41 GB, free: 14.69 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002186/1.393, allocations: 59.23 kB / 1.41 GB, free: 14.63 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008731/1.394, allocations: 0.6096 MB / 1.411 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/1.394, allocations: 0 / 1.411 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/1.394, allocations: 7.938 kB / 1.411 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002368/1.394, allocations: 123.9 kB / 1.411 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002904/1.394, allocations: 173.5 kB / 1.411 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.394, allocations: 0 / 1.411 GB, free: 13.76 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/1.394, allocations: 3.953 kB / 1.411 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/1.394, allocations: 0 / 1.411 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/1.395, allocations: 472.3 kB / 1.412 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/1.395, allocations: 134.5 kB / 1.412 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001976/1.396, allocations: 132.2 kB / 1.412 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.155e-05/1.396, allocations: 4 kB / 1.412 GB, free: 13.02 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.998e-05/1.396, allocations: 34.5 kB / 1.412 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.663e-06/1.396, allocations: 0 / 1.412 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0007966/1.396, allocations: 328.9 kB / 1.412 GB, free: 12.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/1.396, allocations: 51.41 kB / 1.412 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008343/1.397, allocations: 0.5898 MB / 1.413 GB, free: 12.05 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/1.397, allocations: 29.73 kB / 1.413 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/1.398, allocations: 232 kB / 1.413 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/1.398, allocations: 0 / 1.413 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.469e-05/1.398, allocations: 0 / 1.413 GB, free: 11.89 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001801/1.398, allocations: 369.4 kB / 1.414 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/1.398, allocations: 119.9 kB / 1.414 GB, free: 11.42 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/1.398, allocations: 119.9 kB / 1.414 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002474/1.398, allocations: 123.9 kB / 1.414 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.398, allocations: 4.062 kB / 1.414 GB, free: 11.18 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006065/1.399, allocations: 335.7 kB / 1.414 GB, free: 10.85 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/1.399, allocations: 4 kB / 1.414 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-05/1.399, allocations: 12 kB / 1.414 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.399, allocations: 0 / 1.414 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.262e-06/1.399, allocations: 0 / 1.414 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/1.399, allocations: 0 / 1.414 GB, free: 10.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/1.399, allocations: 36 kB / 1.414 GB, free: 10.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.194e-05/1.399, allocations: 24 kB / 1.414 GB, free: 10.77 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/1.4, allocations: 109 kB / 1.414 GB, free: 10.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/1.4, allocations: 55.28 kB / 1.415 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/1.401, allocations: 485 kB / 1.415 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/1.401, allocations: 3.984 kB / 1.415 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/1.401, allocations: 0 / 1.415 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.401, allocations: 0 / 1.415 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004987/1.401, allocations: 377.3 kB / 1.415 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.442e-05/1.401, allocations: 8 kB / 1.415 GB, free: 9.781 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.737e-06/1.401, allocations: 7.922 kB / 1.415 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/1.401, allocations: 0 / 1.415 GB, free: 9.773 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/1.402, allocations: 12.03 kB / 1.415 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/1.402, allocations: 0 / 1.415 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.402, allocations: 0 / 1.415 GB, free: 9.762 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/1.402, allocations: 355.8 kB / 1.416 GB, free: 9.398 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/1.403, allocations: 342.8 kB / 1.416 GB, free: 9.109 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/1.403, allocations: 4 kB / 1.416 GB, free: 9.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/1.403, allocations: 36 kB / 1.416 GB, free: 9.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/1.403, allocations: 12.03 kB / 1.416 GB, free: 9.059 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/1.403, allocations: 24 kB / 1.416 GB, free: 9.035 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006273/1.404, allocations: 0.499 MB / 1.417 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2e-07/1.404, allocations: 0 / 1.417 GB, free: 8.594 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.002672/1.406, allocations: 0.6975 MB / 1.417 GB, free: 7.93 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004533/1.411, allocations: 1.037 MB / 1.418 GB, free: 7.031 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005039/1.411, allocations: 269.5 kB / 1.419 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.411, allocations: 0 / 1.419 GB, free: 6.762 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002269/1.412, allocations: 153.6 kB / 1.419 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/1.412, allocations: 38.14 kB / 1.419 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/1.413, allocations: 0.6539 MB / 1.419 GB, free: 5.918 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/1.414, allocations: 0.8275 MB / 1.42 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001311/1.415, allocations: 444.9 kB / 1.421 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/1.416, allocations: 273.9 kB / 1.421 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of SimCode: time 4.51e-07/1.416, allocations: 0 / 1.421 GB, free: 4.414 MB / 0.8386 GB Notification: Performance of Templates: time 0.03401/1.45, allocations: 18.9 MB / 1.439 GB, free: 1.527 MB / 0.8542 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)