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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009495, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005443/0.005443, allocations: 170.7 kB / 16.27 MB, free: 6.648 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.287/1.287, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001669/0.001669, allocations: 278.8 kB / 291.7 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9088/0.9088, allocations: 169.5 MB / 0.5004 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004287, allocations: 16.17 kB / 0.5988 GB, free: 27.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1618/0.1622, allocations: 88.54 MB / 0.6853 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001396/0.1637, allocations: 0.9714 MB / 0.6862 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.007439/0.1711, allocations: 4.674 MB / 0.6908 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.761e-05/0.1712, allocations: 0.8438 kB / 0.6908 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.271e-05/0.1713, allocations: 0 / 0.6908 GB, free: 9.293 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‘. Notification: Performance of NFTyping.typeBindings: time 0.003983/0.1753, allocations: 1.181 MB / 0.6919 GB, free: 8.121 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.702e-05/0.1754, allocations: 27.91 kB / 0.692 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.912e-05/0.1754, allocations: 31.97 kB / 0.692 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.263e-05/0.1755, allocations: 2.906 kB / 0.692 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.386e-05/0.1755, allocations: 7.984 kB / 0.692 GB, free: 8.055 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1756, allocations: 62.56 kB / 0.6921 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.427e-06/0.1756, allocations: 0 / 0.6921 GB, free: 7.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003622/0.1793, allocations: 2.241 MB / 0.6943 GB, free: 5.754 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002083/0.1795, allocations: 246.1 kB / 0.6945 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.1799, allocations: 312.5 kB / 0.6948 GB, free: 5.199 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003703/0.1836, allocations: 2.274 MB / 0.697 GB, free: 2.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1836, allocations: 0 / 0.697 GB, free: 2.922 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1836, allocations: 0.875 kB / 0.697 GB, free: 2.922 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.1836, allocations: 0 / 0.697 GB, free: 2.922 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.002294/0.1859, allocations: 1.208 MB / 0.6982 GB, free: 1.664 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.186, allocations: 9.094 kB / 0.6982 GB, free: 1.656 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.1861, allocations: 34.75 kB / 0.6982 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.1863, allocations: 45.38 kB / 0.6983 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008234/0.1871, allocations: 0.6363 MB / 0.6989 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.1871, allocations: 4.312 kB / 0.6989 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1872, allocations: 11.92 kB / 0.6989 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1874, allocations: 173.6 kB / 0.6991 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1874, allocations: 0 / 0.6991 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1874, allocations: 0 / 0.6991 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1874, allocations: 0 / 0.6991 GB, free: 0.707 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.1876, allocations: 279.9 kB / 0.6993 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.1883, allocations: 0.5365 MB / 0.6999 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.1884, allocations: 158.4 kB / 0.7 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.1886, allocations: 152.9 kB / 0.7002 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-06/0.1886, allocations: 0 / 0.7002 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.1886, allocations: 34.56 kB / 0.7002 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.1886, allocations: 0 / 0.7002 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0005522/0.1892, allocations: 497 kB / 0.7007 GB, free: 15 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.1892, allocations: 55.41 kB / 0.7007 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008835/0.1901, allocations: 0.6942 MB / 0.7014 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.1901, allocations: 29.83 kB / 0.7014 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001466/0.1903, allocations: 228 kB / 0.7016 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.1903, allocations: 7.938 kB / 0.7017 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.1903, allocations: 13.72 kB / 0.7017 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1905, allocations: 362.8 kB / 0.702 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.1906, allocations: 143.9 kB / 0.7021 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.932e-05/0.1907, allocations: 139.9 kB / 0.7023 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.1909, allocations: 288.8 kB / 0.7026 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.191, allocations: 0 / 0.7026 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003677/0.1913, allocations: 357 kB / 0.7029 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.1914, allocations: 8 kB / 0.7029 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1914, allocations: 0 / 0.7029 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.1914, allocations: 0 / 0.7029 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.1914, allocations: 3.938 kB / 0.7029 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.1915, allocations: 4 kB / 0.7029 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.1917, allocations: 28 kB / 0.7029 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1917, allocations: 0 / 0.7029 GB, free: 12.61 MB / 0.4981 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.0001763/0.1919, allocations: 218.4 kB / 0.7031 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.192, allocations: 43.44 kB / 0.7032 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.1924, allocations: 377 kB / 0.7035 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.1924, allocations: 0 / 0.7035 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.1924, allocations: 0 / 0.7035 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.1924, allocations: 0 / 0.7035 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.1928, allocations: 441.4 kB / 0.704 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.1929, allocations: 4 kB / 0.704 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.1929, allocations: 0 / 0.704 GB, free: 11.49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1929, allocations: 7.969 kB / 0.704 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.1929, allocations: 0 / 0.704 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.1929, allocations: 0 / 0.704 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1929, allocations: 3.938 kB / 0.704 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.1933, allocations: 384.4 kB / 0.7044 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.1937, allocations: 340.3 kB / 0.7047 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.1938, allocations: 4 kB / 0.7047 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.194, allocations: 28.03 kB / 0.7047 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.194, allocations: 4 kB / 0.7047 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.1941, allocations: 0 / 0.7047 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007739/0.1948, allocations: 0.53 MB / 0.7052 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.71e-07/0.1948, allocations: 3.938 kB / 0.7052 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001849/0.1967, allocations: 0.5739 MB / 0.7058 GB, free: 9.59 MB / 0.4981 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.00363/0.2003, allocations: 1.739 MB / 0.7075 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.2006, allocations: 283.9 kB / 0.7078 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.2006, allocations: 0 / 0.7078 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.2008, allocations: 169.6 kB / 0.7079 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.2011, allocations: 34.25 kB / 0.708 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009712/0.2109, allocations: 7.468 MB / 0.7152 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004274/0.2113, allocations: 0.8197 MB / 0.716 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001332/0.2127, allocations: 455 kB / 0.7165 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007102/0.2134, allocations: 377.1 kB / 0.7168 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of SimCode: time 7.82e-07/0.2134, allocations: 0 / 0.7168 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0459/0.2593, allocations: 24.97 MB / 0.7412 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002568/0.2596, allocations: 341 kB / 0.7415 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.259/2.519, allocations: 3.094 kB / 0.7416 GB, free: 5.172 MB / 0.5294 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)