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.001728/0.001728, allocations: 108.8 kB / 16.41 MB, free: 6.453 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.002087/0.002087, allocations: 189.2 kB / 17.34 MB, free: 5.703 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.435/1.435, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002596/0.002596, allocations: 285.6 kB / 291.5 MB, free: 14.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.02/1.02, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002812/0.002812, allocations: 103.8 kB / 0.6822 GB, free: 6.918 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.4473, allocations: 86.98 MB / 0.7671 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00235/0.4496, allocations: 1.244 MB / 0.7683 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00735/0.457, allocations: 4.498 MB / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.457, allocations: 0 / 0.7727 GB, free: 14.11 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.164e-05/0.4571, allocations: 3.938 kB / 0.7727 GB, free: 14.11 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.00435/0.4614, allocations: 1.519 MB / 0.7742 GB, free: 12.58 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.77e-05/0.4615, allocations: 35.91 kB / 0.7742 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.4616, allocations: 19.97 kB / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.747e-05/0.4616, allocations: 0 / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.066e-05/0.4616, allocations: 4 kB / 0.7743 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.529e-05/0.4617, allocations: 21.28 kB / 0.7743 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.4617, allocations: 0 / 0.7743 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003859/0.4656, allocations: 2.278 MB / 0.7765 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.4657, allocations: 149.2 kB / 0.7766 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.4657, allocations: 0 / 0.7766 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003132/0.4689, allocations: 1.748 MB / 0.7783 GB, free: 8.328 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4689, allocations: 0 / 0.7783 GB, free: 8.328 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4689, allocations: 0 / 0.7783 GB, free: 8.328 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.4689, allocations: 0 / 0.7783 GB, free: 8.328 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.001046/0.4699, allocations: 0.6369 MB / 0.779 GB, free: 7.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.47, allocations: 8.031 kB / 0.779 GB, free: 7.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.258e-05/0.47, allocations: 8.891 kB / 0.779 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.4702, allocations: 168.3 kB / 0.7791 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.433e-06/0.4702, allocations: 384 / 0.7791 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.4702, allocations: 4.125 kB / 0.7791 GB, free: 7.418 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.4704, allocations: 173.6 kB / 0.7793 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4704, allocations: 0 / 0.7793 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4704, allocations: 0 / 0.7793 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4704, allocations: 0 / 0.7793 GB, free: 7.242 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.4706, allocations: 283.9 kB / 0.7796 GB, free: 6.965 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.4709, allocations: 285.6 kB / 0.7799 GB, free: 6.637 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.4711, allocations: 162.5 kB / 0.78 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001291/0.4713, allocations: 144.8 kB / 0.7802 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.701e-06/0.4713, allocations: 0 / 0.7802 GB, free: 6.324 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.4713, allocations: 42.48 kB / 0.7802 GB, free: 6.273 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 2.615e-06/0.4713, allocations: 3.984 kB / 0.7802 GB, free: 6.27 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004736/0.4718, allocations: 449.5 kB / 0.7806 GB, free: 5.824 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.4718, allocations: 63.47 kB / 0.7807 GB, free: 5.75 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.472, allocations: 161.8 kB / 0.7808 GB, free: 5.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.472, allocations: 25.7 kB / 0.7809 GB, free: 5.551 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.753e-05/0.472, allocations: 84.14 kB / 0.7809 GB, free: 5.465 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.472, allocations: 3.938 kB / 0.7809 GB, free: 5.461 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.4721, allocations: 13.72 kB / 0.781 GB, free: 5.441 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4722, allocations: 314.8 kB / 0.7813 GB, free: 5.125 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.4723, allocations: 140 kB / 0.7814 GB, free: 4.988 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.4724, allocations: 148 kB / 0.7815 GB, free: 4.844 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000249/0.4727, allocations: 288.7 kB / 0.7818 GB, free: 4.559 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.4727, allocations: 0 / 0.7818 GB, free: 4.559 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002909/0.473, allocations: 317.5 kB / 0.7821 GB, free: 4.242 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.473, allocations: 6.5 kB / 0.7821 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.473, allocations: 0 / 0.7821 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.473, allocations: 0 / 0.7821 GB, free: 4.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.821e-05/0.4731, allocations: 7.984 kB / 0.7821 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.4731, allocations: 0 / 0.7821 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.383e-05/0.4732, allocations: 4.094 kB / 0.7821 GB, free: 4.227 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.4732, allocations: 0 / 0.7821 GB, free: 4.227 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.000122/0.4733, allocations: 169.8 kB / 0.7823 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.068e-05/0.4733, allocations: 3.938 kB / 0.7823 GB, free: 4.047 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.4736, allocations: 324.6 kB / 0.7826 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4736, allocations: 0 / 0.7826 GB, free: 3.727 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4736, allocations: 4 kB / 0.7826 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-06/0.4736, allocations: 0 / 0.7826 GB, free: 3.723 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.4739, allocations: 297.6 kB / 0.7829 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.4739, allocations: 0 / 0.7829 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.11e-07/0.4739, allocations: 0 / 0.7829 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.4739, allocations: 0 / 0.7829 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.4739, allocations: 0 / 0.7829 GB, free: 3.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4739, allocations: 3.984 kB / 0.7829 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.4739, allocations: 0 / 0.7829 GB, free: 3.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000314/0.4742, allocations: 340.9 kB / 0.7832 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.771e-05/0.4743, allocations: 89.12 kB / 0.7833 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.035e-05/0.4743, allocations: 0 / 0.7833 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.4744, allocations: 0 / 0.7833 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.4744, allocations: 3.938 kB / 0.7833 GB, free: 2.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.4744, allocations: 0 / 0.7833 GB, free: 2.918 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001097/0.4745, allocations: 151.2 kB / 0.7835 GB, free: 2.77 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.4745, allocations: 0 / 0.7835 GB, free: 2.77 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001466/0.476, allocations: 0.5764 MB / 0.784 GB, free: 2.191 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.002541/0.4785, allocations: 0.9339 MB / 0.7849 GB, free: 1.352 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003225/0.4789, allocations: 287.8 kB / 0.7852 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4789, allocations: 4 kB / 0.7852 GB, free: 1.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.479, allocations: 169.6 kB / 0.7854 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.4792, allocations: 7.938 kB / 0.7854 GB, free: 0.8867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4805, allocations: 0.9414 MB / 0.7863 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004462/0.4809, allocations: 0.8185 MB / 0.7871 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.4809, allocations: 3.984 kB / 0.7871 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.481, allocations: 11.44 kB / 0.7871 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of SimCode: time 8.12e-07/0.481, allocations: 0 / 0.7871 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of Templates: time 0.0217/0.5027, allocations: 12.28 MB / 0.7991 GB, free: 2.812 MB / 0.5606 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)