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.001583/0.001583, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001668/0.001668, allocations: 187 kB / 17.34 MB, free: 5.762 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.375/1.375, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002183/0.002183, allocations: 293 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9252/0.9252, allocations: 169.2 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 103.8 kB / 0.6821 GB, free: 6.887 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5012/0.5031, allocations: 86.98 MB / 0.7671 GB, free: 3.855 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002768/0.5059, allocations: 1.249 MB / 0.7683 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00678/0.5127, allocations: 4.475 MB / 0.7727 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.5128, allocations: 4 kB / 0.7727 GB, free: 14.1 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.448e-05/0.5129, allocations: 3.984 kB / 0.7727 GB, free: 14.09 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.004098/0.517, allocations: 1.503 MB / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 9.856e-05/0.5171, allocations: 43.89 kB / 0.7742 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.5172, allocations: 15.92 kB / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.539e-05/0.5172, allocations: 0 / 0.7742 GB, free: 12.53 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.815e-05/0.5172, allocations: 7.938 kB / 0.7742 GB, free: 12.52 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.792e-05/0.5173, allocations: 25.27 kB / 0.7742 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.5173, allocations: 0 / 0.7742 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003581/0.5209, allocations: 2.274 MB / 0.7765 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.5211, allocations: 153.2 kB / 0.7766 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.5211, allocations: 4 kB / 0.7766 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.5243, allocations: 1.726 MB / 0.7783 GB, free: 8.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.5243, allocations: 0 / 0.7783 GB, free: 8.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.414e-06/0.5243, allocations: 4 kB / 0.7783 GB, free: 8.336 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.768e-06/0.5243, allocations: 0 / 0.7783 GB, free: 8.336 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.001262/0.5256, allocations: 0.624 MB / 0.7789 GB, free: 7.664 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.5256, allocations: 8.031 kB / 0.7789 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.5257, allocations: 0.9375 kB / 0.7789 GB, free: 7.656 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.5259, allocations: 172.4 kB / 0.7791 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.5259, allocations: 384 / 0.7791 GB, free: 7.449 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.5259, allocations: 4.125 kB / 0.7791 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.5261, allocations: 169.6 kB / 0.7793 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.5261, allocations: 0 / 0.7793 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.5261, allocations: 0 / 0.7793 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5261, allocations: 0 / 0.7793 GB, free: 7.273 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002171/0.5264, allocations: 283.9 kB / 0.7795 GB, free: 6.996 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002965/0.5267, allocations: 293.6 kB / 0.7798 GB, free: 6.66 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.5268, allocations: 166.4 kB / 0.78 GB, free: 6.488 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.5269, allocations: 148.8 kB / 0.7801 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.5269, allocations: 0 / 0.7801 GB, free: 6.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.527, allocations: 34.56 kB / 0.7801 GB, free: 6.297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.527, allocations: 0 / 0.7801 GB, free: 6.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0004222/0.5274, allocations: 445.5 kB / 0.7806 GB, free: 5.855 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.5275, allocations: 63.47 kB / 0.7806 GB, free: 5.781 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.5276, allocations: 165.8 kB / 0.7808 GB, free: 5.609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.5276, allocations: 25.7 kB / 0.7808 GB, free: 5.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.5277, allocations: 84.08 kB / 0.7809 GB, free: 5.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.5277, allocations: 4 kB / 0.7809 GB, free: 5.488 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/0.5277, allocations: 17.7 kB / 0.7809 GB, free: 5.465 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.147e-05/0.5278, allocations: 310.8 kB / 0.7812 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.5279, allocations: 144.1 kB / 0.7813 GB, free: 5.012 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.934e-05/0.528, allocations: 139.9 kB / 0.7815 GB, free: 4.875 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.5282, allocations: 288.7 kB / 0.7817 GB, free: 4.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5283, allocations: 0 / 0.7817 GB, free: 4.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002421/0.5285, allocations: 321.5 kB / 0.7821 GB, free: 4.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5285, allocations: 4 kB / 0.7821 GB, free: 4.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.5285, allocations: 3.984 kB / 0.7821 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5286, allocations: 0 / 0.7821 GB, free: 4.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.5286, allocations: 4 kB / 0.7821 GB, free: 4.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5286, allocations: 4.094 kB / 0.7821 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.224e-05/0.5287, allocations: 0 / 0.7821 GB, free: 4.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.5287, allocations: 4 kB / 0.7821 GB, free: 4.25 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.0001163/0.5288, allocations: 165.8 kB / 0.7822 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.5289, allocations: 7.938 kB / 0.7822 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.5292, allocations: 324.6 kB / 0.7825 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.5292, allocations: 0 / 0.7825 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5292, allocations: 0 / 0.7825 GB, free: 3.75 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5292, allocations: 4.031 kB / 0.7826 GB, free: 3.746 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.5294, allocations: 293.6 kB / 0.7828 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.5294, allocations: 0 / 0.7828 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.505e-06/0.5294, allocations: 3.938 kB / 0.7828 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.5295, allocations: 0 / 0.7828 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.5295, allocations: 3.984 kB / 0.7828 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.5295, allocations: 0 / 0.7828 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5295, allocations: 0 / 0.7828 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002639/0.5297, allocations: 345 kB / 0.7832 GB, free: 3.047 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.5298, allocations: 77.11 kB / 0.7832 GB, free: 2.953 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.077e-05/0.5299, allocations: 4 kB / 0.7832 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.5299, allocations: 0 / 0.7832 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.548e-05/0.5299, allocations: 3.938 kB / 0.7833 GB, free: 2.945 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.53, allocations: 0 / 0.7833 GB, free: 2.945 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.956e-05/0.53, allocations: 151.2 kB / 0.7834 GB, free: 2.797 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.53, allocations: 3.938 kB / 0.7834 GB, free: 2.793 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001401/0.5314, allocations: 0.5661 MB / 0.784 GB, free: 2.227 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.002561/0.534, allocations: 0.9161 MB / 0.7848 GB, free: 1.406 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.5343, allocations: 287.8 kB / 0.7851 GB, free: 1.125 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.5343, allocations: 0 / 0.7851 GB, free: 1.125 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.5345, allocations: 169.6 kB / 0.7853 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.5347, allocations: 17.88 kB / 0.7853 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.5352, allocations: 418 kB / 0.7857 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002115/0.5354, allocations: 0.669 MB / 0.7864 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.5355, allocations: 11.44 kB / 0.7864 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.5355, allocations: 0 / 0.7864 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.01913/0.5546, allocations: 12.12 MB / 0.7982 GB, free: 3.672 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)