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.8969/0.8969, allocations: 143.4 MB / 158.3 MB, free: 5.777 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 183.5 kB / 191.5 MB, free: 5.758 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.423/1.423, allocations: 223.2 MB / 447.7 MB, free: 6.539 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.0009779/0.0009778, allocations: 92.25 kB / 0.5188 GB, free: 2.883 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001724/0.001724, allocations: 264.9 kB / 0.6005 GB, free: 48.96 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004531/0.0004532, allocations: 16 kB / 0.6929 GB, free: 2.25 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.408/0.4085, allocations: 82.78 MB / 0.7738 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5699, allocations: 123.6 MB / 0.8945 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003157/0.5702, allocations: 115.8 kB / 0.8946 GB, free: 14.29 MB / 0.5573 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.4265/0.9967, allocations: 20.94 MB / 0.915 GB, free: 124 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9967, allocations: 0 / 0.915 GB, free: 124 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.48e-05/0.9968, allocations: 5.375 kB / 0.915 GB, free: 124 MB / 0.5573 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.00272/0.9995, allocations: 1.206 MB / 0.9162 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.9996, allocations: 13.66 kB / 0.9162 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.9997, allocations: 51.03 kB / 0.9163 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009659/1.001, allocations: 0.6004 MB / 0.9169 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/1.001, allocations: 3.938 kB / 0.9169 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/1.001, allocations: 4.062 kB / 0.9169 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/1.001, allocations: 180.5 kB / 0.9171 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.575e-06/1.001, allocations: 0 / 0.9171 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/1.001, allocations: 0 / 0.9171 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/1.001, allocations: 0 / 0.9171 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002361/1.001, allocations: 118.6 kB / 0.9172 GB, free: 123 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/1.002, allocations: 495.9 kB / 0.9176 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002654/1.002, allocations: 143.6 kB / 0.9178 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/1.002, allocations: 1.75 kB / 0.9178 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/1.002, allocations: 35.58 kB / 0.9178 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.603e-06/1.002, allocations: 0 / 0.9178 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0009254/1.003, allocations: 448.5 kB / 0.9182 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/1.003, allocations: 52.88 kB / 0.9183 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008826/1.004, allocations: 0.6265 MB / 0.9189 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.004, allocations: 25.7 kB / 0.9189 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/1.005, allocations: 230.9 kB / 0.9191 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/1.005, allocations: 1.125 kB / 0.9191 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/1.005, allocations: 0 / 0.9191 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 8.931e-05/1.005, allocations: 364.1 kB / 0.9195 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/1.005, allocations: 123.8 kB / 0.9196 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/1.005, allocations: 121 kB / 0.9197 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/1.005, allocations: 129.8 kB / 0.9199 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.005, allocations: 0 / 0.9199 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006342/1.006, allocations: 330.2 kB / 0.9202 GB, free: 122 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.006, allocations: 5.469 kB / 0.9202 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/1.006, allocations: 10.97 kB / 0.9202 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/1.006, allocations: 0 / 0.9202 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.074e-06/1.006, allocations: 3.797 kB / 0.9202 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/1.006, allocations: 2.625 kB / 0.9202 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/1.006, allocations: 34.38 kB / 0.9202 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/1.006, allocations: 25 kB / 0.9202 GB, free: 122 MB / 0.5573 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.0002055/1.007, allocations: 219 kB / 0.9205 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/1.007, allocations: 46.91 kB / 0.9205 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/1.008, allocations: 486.7 kB / 0.921 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/1.008, allocations: 0.5312 kB / 0.921 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.008, allocations: 4.531 kB / 0.921 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/1.008, allocations: 0.5 kB / 0.921 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/1.008, allocations: 387.4 kB / 0.9213 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.83e-05/1.009, allocations: 14.17 kB / 0.9214 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-06/1.009, allocations: 7.938 kB / 0.9214 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/1.009, allocations: 0 / 0.9214 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/1.009, allocations: 9.516 kB / 0.9214 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.009, allocations: 0.5 kB / 0.9214 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.009, allocations: 0.5 kB / 0.9214 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006571/1.009, allocations: 353.4 kB / 0.9217 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/1.01, allocations: 343.8 kB / 0.922 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001478/1.01, allocations: 5.719 kB / 0.922 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/1.01, allocations: 33.44 kB / 0.9221 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.932e-05/1.01, allocations: 7.594 kB / 0.9221 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/1.01, allocations: 25.97 kB / 0.9221 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005664/1.011, allocations: 0.53 MB / 0.9226 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/1.011, allocations: 0 / 0.9226 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00169/1.013, allocations: 488.2 kB / 0.9231 GB, free: 121.1 MB / 0.5573 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.002045/1.015, allocations: 0.8096 MB / 0.9239 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004942/1.015, allocations: 276.5 kB / 0.9241 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.015, allocations: 3.906 kB / 0.9241 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002159/1.015, allocations: 149.8 kB / 0.9243 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/1.016, allocations: 40.45 kB / 0.9243 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001396/1.017, allocations: 0.858 MB / 0.9252 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/1.017, allocations: 0.8267 MB / 0.926 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001401/1.019, allocations: 426.6 kB / 0.9264 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/1.019, allocations: 267.4 kB / 0.9266 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.232e-06/1.019, allocations: 0 / 0.9266 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.02302/1.042, allocations: 15.97 MB / 0.9422 GB, free: 109.2 MB / 0.5573 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)