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/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8974/0.8974, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 182.7 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.3 MB / 441.4 MB, free: 4.609 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008946, allocations: 91.69 kB / 0.5124 GB, free: 24.29 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001942/0.001942, allocations: 274.2 kB / 0.5939 GB, free: 7.977 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.921e-05, allocations: 4 kB / 0.6835 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4665/0.4666, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1516/0.6183, allocations: 123.6 MB / 0.885 GB, free: 0.957 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.6187, allocations: 116.8 kB / 0.8851 GB, free: 0.8477 MB / 0.5417 GB [/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.06294/0.6816, allocations: 20.89 MB / 0.9055 GB, free: 11.96 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.185e-06/0.6817, allocations: 0 / 0.9055 GB, free: 11.96 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.6817, allocations: 4 kB / 0.9055 GB, free: 11.96 MB / 0.573 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.001705/0.6834, allocations: 0.813 MB / 0.9063 GB, free: 11.1 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6835, allocations: 8.031 kB / 0.9063 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.6836, allocations: 51.44 kB / 0.9063 GB, free: 11.04 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.6845, allocations: 0.5965 MB / 0.9069 GB, free: 10.4 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.6845, allocations: 0 / 0.9069 GB, free: 10.4 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.6845, allocations: 0 / 0.9069 GB, free: 10.4 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004161/0.6849, allocations: 181.5 kB / 0.9071 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.685, allocations: 0 / 0.9071 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.503e-05/0.6851, allocations: 0 / 0.9071 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.6851, allocations: 0 / 0.9071 GB, free: 10.22 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003233/0.6854, allocations: 123.9 kB / 0.9072 GB, free: 10.1 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007942/0.6863, allocations: 493.4 kB / 0.9077 GB, free: 9.566 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.6866, allocations: 138.4 kB / 0.9078 GB, free: 9.422 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.6868, allocations: 128.8 kB / 0.9079 GB, free: 9.293 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.829e-05/0.6868, allocations: 3.938 kB / 0.9079 GB, free: 9.289 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.6869, allocations: 30.56 kB / 0.908 GB, free: 9.25 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 1.683e-06/0.6869, allocations: 0 / 0.908 GB, free: 9.25 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0006148/0.6875, allocations: 332.8 kB / 0.9083 GB, free: 8.918 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.6876, allocations: 51.41 kB / 0.9083 GB, free: 8.855 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/0.6884, allocations: 0.6219 MB / 0.9089 GB, free: 8.227 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.6884, allocations: 25.73 kB / 0.909 GB, free: 8.195 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.6886, allocations: 236.1 kB / 0.9092 GB, free: 7.961 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.6886, allocations: 3.938 kB / 0.9092 GB, free: 7.957 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/0.6887, allocations: 0 / 0.9092 GB, free: 7.957 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001837/0.6889, allocations: 366.8 kB / 0.9096 GB, free: 7.59 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.6891, allocations: 123.9 kB / 0.9097 GB, free: 7.469 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.6892, allocations: 119.9 kB / 0.9098 GB, free: 7.352 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.6894, allocations: 119.9 kB / 0.9099 GB, free: 7.234 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.6894, allocations: 64 / 0.9099 GB, free: 7.234 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005474/0.69, allocations: 332.9 kB / 0.9102 GB, free: 6.902 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.69, allocations: 4 kB / 0.9102 GB, free: 6.898 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.163e-05/0.6901, allocations: 16 kB / 0.9102 GB, free: 6.883 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.6901, allocations: 0 / 0.9102 GB, free: 6.883 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.6901, allocations: 0 / 0.9102 GB, free: 6.883 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6901, allocations: 0 / 0.9102 GB, free: 6.883 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.6904, allocations: 35.94 kB / 0.9103 GB, free: 6.848 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.6904, allocations: 28 kB / 0.9103 GB, free: 6.82 MB / 0.573 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.000106/0.6905, allocations: 105 kB / 0.9104 GB, free: 6.711 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001096/0.6906, allocations: 51.44 kB / 0.9104 GB, free: 6.66 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.6917, allocations: 488.7 kB / 0.9109 GB, free: 6.172 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.6917, allocations: 0 / 0.9109 GB, free: 6.172 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.6917, allocations: 0 / 0.9109 GB, free: 6.172 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.6917, allocations: 0 / 0.9109 GB, free: 6.172 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.6922, allocations: 393.4 kB / 0.9113 GB, free: 5.738 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/0.6922, allocations: 12 kB / 0.9113 GB, free: 5.727 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.6922, allocations: 0 / 0.9113 GB, free: 5.727 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.6922, allocations: 0 / 0.9113 GB, free: 5.727 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.6922, allocations: 12.03 kB / 0.9113 GB, free: 5.715 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6923, allocations: 0 / 0.9113 GB, free: 5.715 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6923, allocations: 0 / 0.9113 GB, free: 5.715 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.6928, allocations: 364.1 kB / 0.9117 GB, free: 5.34 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.6933, allocations: 340.2 kB / 0.912 GB, free: 4.988 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.6935, allocations: 8 kB / 0.912 GB, free: 4.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002242/0.6937, allocations: 32.03 kB / 0.912 GB, free: 4.949 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.887e-05/0.6938, allocations: 7.984 kB / 0.912 GB, free: 4.941 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-05/0.6938, allocations: 32.03 kB / 0.9121 GB, free: 4.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006432/0.6944, allocations: 0.5209 MB / 0.9126 GB, free: 4.391 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6945, allocations: 0 / 0.9126 GB, free: 4.391 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001746/0.6962, allocations: 491.3 kB / 0.913 GB, free: 3.91 MB / 0.573 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.002024/0.6982, allocations: 0.7925 MB / 0.9138 GB, free: 3.188 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005021/0.6988, allocations: 285.4 kB / 0.9141 GB, free: 2.902 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6988, allocations: 0 / 0.9141 GB, free: 2.902 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.699, allocations: 149.6 kB / 0.9142 GB, free: 2.75 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002325/0.6992, allocations: 34.09 kB / 0.9143 GB, free: 2.711 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.7003, allocations: 0.6533 MB / 0.9149 GB, free: 2.035 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.7007, allocations: 0.8356 MB / 0.9157 GB, free: 1.176 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001203/0.7019, allocations: 420.2 kB / 0.9161 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005463/0.7025, allocations: 275.2 kB / 0.9164 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of SimCode: time 3.81e-07/0.7025, allocations: 0 / 0.9164 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of Templates: time 0.4129/1.115, allocations: 16.05 MB / 0.932 GB, free: 134.2 MB / 0.573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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)