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.425/2.425, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001167/0.001167, allocations: 181.4 kB / 0.4902 GB, free: 2.293 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.594/1.594, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.000931/0.0009305, allocations: 103.2 kB / 0.9396 GB, free: 1.941 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003953/0.0003954, allocations: 14.75 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2748, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2032/0.4781, allocations: 173.5 MB / 1.399 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.4784, allocations: 123.1 kB / 1.399 GB, free: 11.95 MB / 0.9011 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.727/1.205, allocations: 29.2 MB / 1.427 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.993e-06/1.206, allocations: 1.625 kB / 1.427 GB, free: 177.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.188e-05/1.206, allocations: 5 kB / 1.427 GB, free: 177.1 MB / 0.9167 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.002977/1.209, allocations: 1.31 MB / 1.429 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/1.209, allocations: 9.125 kB / 1.429 GB, free: 176.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/1.209, allocations: 55.94 kB / 1.429 GB, free: 176.4 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/1.21, allocations: 0.6098 MB / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/1.21, allocations: 0 / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/1.21, allocations: 0 / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002861/1.21, allocations: 178.3 kB / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.146e-06/1.21, allocations: 0.9375 kB / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/1.21, allocations: 3.281 kB / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/1.21, allocations: 0 / 1.429 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/1.21, allocations: 119.8 kB / 1.43 GB, free: 176.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000638/1.211, allocations: 499.5 kB / 1.43 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/1.211, allocations: 133.6 kB / 1.43 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/1.211, allocations: 0.75 kB / 1.43 GB, free: 176 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.807e-05/1.211, allocations: 39.5 kB / 1.43 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/1.211, allocations: 2.062 kB / 1.43 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0008434/1.212, allocations: 450.1 kB / 1.431 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/1.212, allocations: 53.38 kB / 1.431 GB, free: 175.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008884/1.213, allocations: 0.6313 MB / 1.431 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/1.213, allocations: 25.7 kB / 1.431 GB, free: 175.7 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/1.213, allocations: 229.6 kB / 1.432 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/1.213, allocations: 5.984 kB / 1.432 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/1.213, allocations: 0 / 1.432 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.213, allocations: 367.9 kB / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/1.213, allocations: 119.5 kB / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001982/1.214, allocations: 121.4 kB / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/1.214, allocations: 124.6 kB / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.214, allocations: 0 / 1.432 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006042/1.214, allocations: 334 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/1.215, allocations: 7.219 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.089e-05/1.215, allocations: 9.125 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/1.215, allocations: 0 / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.525e-06/1.215, allocations: 1.828 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.215, allocations: 3.406 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002197/1.215, allocations: 36.22 kB / 1.433 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.484e-05/1.215, allocations: 25.31 kB / 1.433 GB, free: 175.2 MB / 0.9167 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): 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.0002138/1.215, allocations: 210.1 kB / 1.433 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/1.215, allocations: 51.22 kB / 1.433 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/1.216, allocations: 488.8 kB / 1.433 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/1.216, allocations: 1.078 kB / 1.433 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/1.216, allocations: 0 / 1.433 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/1.216, allocations: 1.906 kB / 1.433 GB, free: 175 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005075/1.217, allocations: 394.8 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.199e-05/1.217, allocations: 10.59 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-06/1.217, allocations: 2.094 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/1.217, allocations: 0.5625 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.043e-05/1.217, allocations: 5.406 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.217, allocations: 7.797 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/1.217, allocations: 1.031 kB / 1.434 GB, free: 174.8 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/1.218, allocations: 358.9 kB / 1.434 GB, free: 174.7 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006576/1.218, allocations: 340.3 kB / 1.434 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/1.218, allocations: 6.469 kB / 1.434 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/1.219, allocations: 34.09 kB / 1.434 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/1.219, allocations: 5.766 kB / 1.434 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/1.219, allocations: 31.38 kB / 1.434 GB, free: 174.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007498/1.219, allocations: 0.5336 MB / 1.435 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.81e-07/1.219, allocations: 0 / 1.435 GB, free: 174.5 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002517/1.222, allocations: 0.7049 MB / 1.436 GB, free: 174.4 MB / 0.9167 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 (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.003033/1.225, allocations: 1.038 MB / 1.437 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0005369/1.226, allocations: 280.1 kB / 1.437 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.226, allocations: 0 / 1.437 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0002324/1.226, allocations: 152 kB / 1.437 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/1.226, allocations: 43.56 kB / 1.437 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/1.228, allocations: 0.8566 MB / 1.438 GB, free: 173.7 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002994/1.228, allocations: 0.8315 MB / 1.439 GB, free: 173 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001257/1.229, allocations: 435.9 kB / 1.439 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006085/1.23, allocations: 283.6 kB / 1.44 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of SimCode: time 9.92e-07/1.23, allocations: 0 / 1.44 GB, free: 172.9 MB / 0.9167 GB Notification: Performance of Templates: time 0.03438/1.264, allocations: 19.92 MB / 1.459 GB, free: 171.3 MB / 0.9167 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)