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) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 104.9 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002224/0.002224, allocations: 296.7 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9366/0.9366, allocations: 169.3 MB / 0.4988 GB, free: 4.5 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002023, allocations: 101.8 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1769, allocations: 86.98 MB / 0.6809 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002657/0.1796, allocations: 1.231 MB / 0.6821 GB, free: 6.922 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006849/0.1865, allocations: 4.494 MB / 0.6865 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.058e-05/0.1866, allocations: 4 kB / 0.6865 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.673e-05/0.1867, allocations: 0 / 0.6865 GB, free: 2.406 MB / 494.1 MB [/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.004319/0.191, allocations: 1.496 MB / 0.6879 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.299e-05/0.1911, allocations: 43.89 kB / 0.688 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.843e-05/0.1912, allocations: 8 kB / 0.688 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.256e-05/0.1913, allocations: 3.984 kB / 0.688 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.33e-05/0.1913, allocations: 7.984 kB / 0.688 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.1914, allocations: 21.28 kB / 0.688 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1914, allocations: 0 / 0.688 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3082/0.4995, allocations: 2.207 MB / 0.6902 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002037/0.4998, allocations: 148.1 kB / 0.6903 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.853e-05/0.4998, allocations: 9.562 kB / 0.6903 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004825/0.5047, allocations: 1.723 MB / 0.692 GB, free: 12.45 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5047, allocations: 0 / 0.692 GB, free: 12.45 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5047, allocations: 1.062 kB / 0.692 GB, free: 12.45 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.5047, allocations: 1.297 kB / 0.692 GB, free: 12.45 MB / 494.1 MB 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.001724/0.5065, allocations: 0.6207 MB / 0.6926 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.5065, allocations: 9.625 kB / 0.6926 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.5065, allocations: 1.625 kB / 0.6926 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.5067, allocations: 163.9 kB / 0.6928 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5067, allocations: 6.062 kB / 0.6928 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.5067, allocations: 4.031 kB / 0.6928 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.5069, allocations: 173.4 kB / 0.693 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.507, allocations: 0.5625 kB / 0.693 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.507, allocations: 0.7188 kB / 0.693 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.507, allocations: 1.062 kB / 0.693 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002779/0.5073, allocations: 280.4 kB / 0.6932 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.5076, allocations: 287.3 kB / 0.6935 GB, free: 11.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001725/0.5078, allocations: 161.8 kB / 0.6937 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.5079, allocations: 147.6 kB / 0.6938 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.5079, allocations: 1.156 kB / 0.6938 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.508, allocations: 36.61 kB / 0.6938 GB, free: 11.44 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.954e-06/0.508, allocations: 1.219 kB / 0.6938 GB, free: 11.44 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0005648/0.5085, allocations: 453.3 kB / 0.6943 GB, free: 11.41 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.659e-05/0.5086, allocations: 59.86 kB / 0.6943 GB, free: 11.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.5087, allocations: 170.8 kB / 0.6945 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.934e-06/0.5087, allocations: 28.17 kB / 0.6945 GB, free: 11.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.203e-05/0.5088, allocations: 80.14 kB / 0.6946 GB, free: 11.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.5088, allocations: 3.219 kB / 0.6946 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/0.5088, allocations: 11.95 kB / 0.6946 GB, free: 11.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.5089, allocations: 316.1 kB / 0.6949 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000138/0.509, allocations: 140.5 kB / 0.695 GB, free: 10.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.5092, allocations: 142.3 kB / 0.6952 GB, free: 10.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003113/0.5095, allocations: 286.5 kB / 0.6954 GB, free: 10.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5095, allocations: 0 / 0.6954 GB, free: 10.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003576/0.5099, allocations: 323.1 kB / 0.6958 GB, free: 10.76 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.5099, allocations: 8.969 kB / 0.6958 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.5099, allocations: 0 / 0.6958 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.5099, allocations: 0 / 0.6958 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.51, allocations: 6.453 kB / 0.6958 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.51, allocations: 3.203 kB / 0.6958 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.423e-05/0.5101, allocations: 0 / 0.6958 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-06/0.5101, allocations: 3.812 kB / 0.6958 GB, free: 10.76 MB / 494.1 MB 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.0001152/0.5102, allocations: 167.7 kB / 0.6959 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.322e-05/0.5103, allocations: 5.516 kB / 0.6959 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003862/0.5106, allocations: 321.5 kB / 0.6963 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5107, allocations: 4.031 kB / 0.6963 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5107, allocations: 1.062 kB / 0.6963 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5107, allocations: 1.641 kB / 0.6963 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002562/0.5109, allocations: 291.6 kB / 0.6965 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.511, allocations: 1.562 kB / 0.6965 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-06/0.511, allocations: 4.812 kB / 0.6965 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.399e-06/0.511, allocations: 1.406 kB / 0.6965 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.511, allocations: 2.656 kB / 0.6965 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.511, allocations: 0 / 0.6965 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.511, allocations: 1.906 kB / 0.6965 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/0.5114, allocations: 337.8 kB / 0.6969 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.96e-05/0.5114, allocations: 82.44 kB / 0.6969 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.759e-05/0.5115, allocations: 4.953 kB / 0.697 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.5116, allocations: 3.281 kB / 0.697 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.5116, allocations: 1.953 kB / 0.697 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.5116, allocations: 1.5 kB / 0.697 GB, free: 10.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.139e-05/0.5117, allocations: 151.7 kB / 0.6971 GB, free: 10.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5117, allocations: 4.125 kB / 0.6971 GB, free: 10.17 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002316/0.514, allocations: 0.5664 MB / 0.6977 GB, free: 10.08 MB / 494.1 MB 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.003869/0.5179, allocations: 0.921 MB / 0.6986 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000354/0.5183, allocations: 287.2 kB / 0.6988 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.5183, allocations: 0 / 0.6988 GB, free: 9.836 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.5184, allocations: 171.4 kB / 0.699 GB, free: 9.801 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.5187, allocations: 5.578 kB / 0.699 GB, free: 9.797 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/0.5194, allocations: 429.5 kB / 0.6994 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.458e-05/0.5195, allocations: 0.6716 MB / 0.7001 GB, free: 8.969 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.5196, allocations: 16.42 kB / 0.7001 GB, free: 8.957 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.5196, allocations: 0 / 0.7001 GB, free: 8.957 MB / 494.1 MB Notification: Performance of Templates: time 0.02517/0.5447, allocations: 12.12 MB / 0.7119 GB, free: 6.398 MB / 494.1 MB 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)