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.001331/0.001331, allocations: 109.2 kB / 15.99 MB, free: 6.352 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.001328/0.001328, allocations: 194.1 kB / 16.91 MB, free: 6.184 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.504/1.504, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002512/0.002512, allocations: 291.9 kB / 291 MB, free: 14.62 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.255/1.255, allocations: 178.5 MB / 0.5076 GB, free: 12.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 99.84 kB / 0.6066 GB, free: 9.633 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1993, allocations: 89.14 MB / 0.6937 GB, free: 420 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.003123/0.2025, allocations: 1.317 MB / 0.695 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006971/0.2095, allocations: 4.501 MB / 0.6994 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.332e-05/0.2096, allocations: 0 / 0.6994 GB, free: 10.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.114e-05/0.2097, allocations: 0 / 0.6994 GB, free: 10.55 MB / 0.545 GB [/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.003824/0.2135, allocations: 1.332 MB / 0.7007 GB, free: 9.219 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.353e-05/0.2136, allocations: 35.91 kB / 0.7007 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.694e-05/0.2137, allocations: 8 kB / 0.7007 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.142e-05/0.2137, allocations: 7.984 kB / 0.7007 GB, free: 9.168 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.245e-05/0.2137, allocations: 4 kB / 0.7007 GB, free: 9.164 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.2139, allocations: 70.5 kB / 0.7008 GB, free: 9.094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.2139, allocations: 3.984 kB / 0.7008 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003155/0.217, allocations: 2.246 MB / 0.703 GB, free: 6.84 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.2172, allocations: 153.2 kB / 0.7031 GB, free: 6.691 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.2173, allocations: 25.28 kB / 0.7031 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001672/0.219, allocations: 1.24 MB / 0.7044 GB, free: 5.422 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.219, allocations: 4 kB / 0.7044 GB, free: 5.418 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.473e-06/0.219, allocations: 0 / 0.7044 GB, free: 5.418 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.219, allocations: 0 / 0.7044 GB, free: 5.418 MB / 0.545 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.0008698/0.2199, allocations: 0.6164 MB / 0.705 GB, free: 4.754 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2199, allocations: 12.02 kB / 0.705 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.334e-05/0.22, allocations: 0.9375 kB / 0.705 GB, free: 4.742 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.2201, allocations: 168.3 kB / 0.7051 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.2201, allocations: 384 / 0.7051 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.2201, allocations: 8.125 kB / 0.7051 GB, free: 4.531 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.2203, allocations: 177.5 kB / 0.7053 GB, free: 4.352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.2204, allocations: 4 kB / 0.7053 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.2204, allocations: 0 / 0.7053 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.2204, allocations: 0 / 0.7053 GB, free: 4.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.2206, allocations: 283.8 kB / 0.7056 GB, free: 4.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003006/0.2209, allocations: 285.6 kB / 0.7059 GB, free: 3.742 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.2211, allocations: 166.6 kB / 0.706 GB, free: 3.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.2212, allocations: 152.7 kB / 0.7062 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.2212, allocations: 0 / 0.7062 GB, free: 3.418 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.2213, allocations: 34.55 kB / 0.7062 GB, free: 3.375 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.91e-07/0.2213, allocations: 0 / 0.7062 GB, free: 3.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004558/0.2217, allocations: 449.5 kB / 0.7066 GB, free: 2.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.2218, allocations: 51.41 kB / 0.7067 GB, free: 2.867 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.2219, allocations: 170 kB / 0.7068 GB, free: 2.691 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.222, allocations: 29.73 kB / 0.7069 GB, free: 2.656 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.222, allocations: 80.14 kB / 0.7069 GB, free: 2.574 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.222, allocations: 0 / 0.7069 GB, free: 2.574 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.2221, allocations: 13.72 kB / 0.707 GB, free: 2.555 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2222, allocations: 318.8 kB / 0.7073 GB, free: 2.234 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.2223, allocations: 139.9 kB / 0.7074 GB, free: 2.098 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.2224, allocations: 147.9 kB / 0.7075 GB, free: 1.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002434/0.2227, allocations: 292.8 kB / 0.7078 GB, free: 1.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2227, allocations: 0 / 0.7078 GB, free: 1.664 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002642/0.223, allocations: 309.5 kB / 0.7081 GB, free: 1.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.223, allocations: 8 kB / 0.7081 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.223, allocations: 0 / 0.7081 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.223, allocations: 0 / 0.7081 GB, free: 1.348 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.2231, allocations: 3.984 kB / 0.7081 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2231, allocations: 0 / 0.7081 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.335e-05/0.2232, allocations: 3.984 kB / 0.7081 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.2232, allocations: 4 kB / 0.7081 GB, free: 1.336 MB / 0.545 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): 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.0001216/0.2233, allocations: 177.8 kB / 0.7083 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.098e-05/0.2233, allocations: 3.938 kB / 0.7083 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000308/0.2237, allocations: 316.7 kB / 0.7086 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.2237, allocations: 0 / 0.7086 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.2237, allocations: 4 kB / 0.7086 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2237, allocations: 3.938 kB / 0.7086 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.224, allocations: 285.6 kB / 0.7089 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.224, allocations: 0 / 0.7089 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-06/0.224, allocations: 4 kB / 0.7089 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.224, allocations: 4.031 kB / 0.7089 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.224, allocations: 4 kB / 0.7089 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.224, allocations: 0 / 0.7089 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.224, allocations: 3.984 kB / 0.7089 GB, free: 496 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.2243, allocations: 336.9 kB / 0.7092 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.2244, allocations: 81.09 kB / 0.7093 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.841e-05/0.2244, allocations: 3.938 kB / 0.7093 GB, free: 36 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.965e-05/0.2245, allocations: 4.031 kB / 0.7093 GB, free: 32 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.2245, allocations: 4 kB / 0.7093 GB, free: 28 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.2245, allocations: 0 / 0.7093 GB, free: 28 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.3382/0.5627, allocations: 149.9 kB / 0.7094 GB, free: 49.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.02e-07/0.5628, allocations: 1.781 kB / 0.7094 GB, free: 49.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001672/0.5644, allocations: 0.5656 MB / 0.71 GB, free: 49.57 MB / 0.545 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 (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.002626/0.5671, allocations: 0.9257 MB / 0.7109 GB, free: 49.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003063/0.5674, allocations: 288.3 kB / 0.7112 GB, free: 49.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.5674, allocations: 0 / 0.7112 GB, free: 49.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.5675, allocations: 170.9 kB / 0.7113 GB, free: 49.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.5678, allocations: 2.75 kB / 0.7113 GB, free: 49.38 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.5682, allocations: 324.1 kB / 0.7117 GB, free: 49.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.5683, allocations: 0.677 MB / 0.7123 GB, free: 48.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.314e-05/0.5683, allocations: 11.36 kB / 0.7123 GB, free: 48.56 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.5683, allocations: 0 / 0.7123 GB, free: 48.56 MB / 0.545 GB Notification: Performance of Templates: time 0.01881/0.5872, allocations: 12.11 MB / 0.7242 GB, free: 46.78 MB / 0.545 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)