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.00126/0.00126, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001236/0.001236, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002199/0.002199, allocations: 298.6 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9505/0.9505, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001998, allocations: 95.86 kB / 0.6821 GB, free: 6.934 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4326/0.4346, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002385/0.437, allocations: 1.245 MB / 0.7683 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006669/0.4437, allocations: 4.487 MB / 0.7727 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.4438, allocations: 0 / 0.7727 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.244e-05/0.4439, allocations: 0 / 0.7727 GB, free: 14.18 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.004168/0.448, allocations: 1.506 MB / 0.7742 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.45e-05/0.4481, allocations: 43.83 kB / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.332e-05/0.4482, allocations: 8 kB / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.4483, allocations: 0 / 0.7742 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.324e-05/0.4483, allocations: 11.94 kB / 0.7742 GB, free: 12.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.763e-05/0.4484, allocations: 21.27 kB / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.347e-06/0.4484, allocations: 0 / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003467/0.4518, allocations: 2.278 MB / 0.7765 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.452, allocations: 153.2 kB / 0.7766 GB, free: 10.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.026e-05/0.452, allocations: 7.984 kB / 0.7766 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002996/0.455, allocations: 1.725 MB / 0.7783 GB, free: 8.422 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.455, allocations: 0 / 0.7783 GB, free: 8.422 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4551, allocations: 0 / 0.7783 GB, free: 8.422 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.4551, allocations: 0 / 0.7783 GB, free: 8.422 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.001099/0.4562, allocations: 0.6202 MB / 0.7789 GB, free: 7.754 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.4562, allocations: 15.97 kB / 0.7789 GB, free: 7.738 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.4563, allocations: 12.94 kB / 0.7789 GB, free: 7.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4564, allocations: 164.4 kB / 0.7791 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.4564, allocations: 4.359 kB / 0.7791 GB, free: 7.523 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.215e-05/0.4564, allocations: 8.125 kB / 0.7791 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.4566, allocations: 165.6 kB / 0.7793 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4566, allocations: 0 / 0.7793 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.4567, allocations: 0 / 0.7793 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.4567, allocations: 0 / 0.7793 GB, free: 7.348 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.4569, allocations: 279.9 kB / 0.7795 GB, free: 7.074 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.4571, allocations: 293.7 kB / 0.7798 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.4573, allocations: 158.5 kB / 0.78 GB, free: 6.574 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.4574, allocations: 152.8 kB / 0.7801 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.388e-06/0.4574, allocations: 0 / 0.7801 GB, free: 6.422 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.029e-05/0.4575, allocations: 30.56 kB / 0.7801 GB, free: 6.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.62e-07/0.4575, allocations: 3.938 kB / 0.7801 GB, free: 6.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004063/0.4579, allocations: 453.5 kB / 0.7806 GB, free: 5.93 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.4579, allocations: 59.34 kB / 0.7806 GB, free: 5.859 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.458, allocations: 169.8 kB / 0.7808 GB, free: 5.684 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.34e-05/0.4581, allocations: 29.64 kB / 0.7808 GB, free: 5.648 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.19e-05/0.4581, allocations: 80.14 kB / 0.7809 GB, free: 5.566 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.4581, allocations: 0 / 0.7809 GB, free: 5.566 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.581e-05/0.4582, allocations: 13.72 kB / 0.7809 GB, free: 5.547 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.4583, allocations: 319.1 kB / 0.7812 GB, free: 5.227 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.992e-05/0.4584, allocations: 139.9 kB / 0.7813 GB, free: 5.09 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.715e-05/0.4585, allocations: 139.9 kB / 0.7815 GB, free: 4.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002075/0.4587, allocations: 284.8 kB / 0.7817 GB, free: 4.672 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4587, allocations: 0 / 0.7817 GB, free: 4.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002396/0.459, allocations: 317.5 kB / 0.782 GB, free: 4.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.459, allocations: 7.938 kB / 0.7821 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.459, allocations: 0 / 0.7821 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.459, allocations: 4 kB / 0.7821 GB, free: 4.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.756e-05/0.4591, allocations: 4.094 kB / 0.7821 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4591, allocations: 0 / 0.7821 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.698e-05/0.4592, allocations: 7.984 kB / 0.7821 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4592, allocations: 0 / 0.7821 GB, free: 4.332 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.0001138/0.4593, allocations: 169.8 kB / 0.7822 GB, free: 4.156 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.188e-05/0.4593, allocations: 3.938 kB / 0.7822 GB, free: 4.152 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002683/0.4596, allocations: 320.6 kB / 0.7825 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4596, allocations: 0 / 0.7825 GB, free: 3.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4596, allocations: 4.031 kB / 0.7825 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4596, allocations: 0 / 0.7825 GB, free: 3.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002243/0.4599, allocations: 297.5 kB / 0.7828 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.4599, allocations: 0 / 0.7828 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.4599, allocations: 0 / 0.7828 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.4599, allocations: 0 / 0.7828 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.4599, allocations: 11.94 kB / 0.7828 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4599, allocations: 0 / 0.7828 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4599, allocations: 0 / 0.7828 GB, free: 3.48 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.4602, allocations: 345 kB / 0.7832 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.4602, allocations: 77.11 kB / 0.7832 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.88e-05/0.4603, allocations: 0 / 0.7832 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.4603, allocations: 0 / 0.7832 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.4604, allocations: 0 / 0.7832 GB, free: 3.031 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.4604, allocations: 4 kB / 0.7832 GB, free: 3.027 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.567e-05/0.4605, allocations: 151.2 kB / 0.7834 GB, free: 2.879 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4605, allocations: 0 / 0.7834 GB, free: 2.879 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001444/0.4619, allocations: 0.574 MB / 0.784 GB, free: 2.305 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.002605/0.4645, allocations: 0.9186 MB / 0.7849 GB, free: 1.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.4648, allocations: 283.8 kB / 0.7851 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.4648, allocations: 0 / 0.7851 GB, free: 1.203 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.465, allocations: 177.6 kB / 0.7853 GB, free: 1.023 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002213/0.4652, allocations: 7.688 kB / 0.7853 GB, free: 1.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.4658, allocations: 419.3 kB / 0.7857 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.466, allocations: 0.669 MB / 0.7864 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.819e-05/0.4661, allocations: 11.44 kB / 0.7864 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4661, allocations: 0 / 0.7864 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of Templates: time 0.02037/0.4864, allocations: 12.18 MB / 0.7983 GB, free: 3.688 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)