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.001261/0.00126, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.312/1.312, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002319/0.002319, allocations: 290.4 kB / 290.7 MB, free: 1.996 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9559/0.9559, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 92.61 kB / 0.5954 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1532, allocations: 86.98 MB / 0.6803 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002526/0.1558, allocations: 1.251 MB / 0.6815 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006882/0.1627, allocations: 4.487 MB / 0.6859 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.813e-05/0.1628, allocations: 0 / 0.6859 GB, free: 10.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.065e-05/0.1629, allocations: 0 / 0.6859 GB, free: 10.8 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'. [/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.167, allocations: 1.495 MB / 0.6874 GB, free: 9.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.1672, allocations: 39.89 kB / 0.6874 GB, free: 9.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.317e-05/0.1672, allocations: 15.94 kB / 0.6874 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.1673, allocations: 0 / 0.6874 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.1673, allocations: 4 kB / 0.6874 GB, free: 9.242 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/0.1674, allocations: 25.27 kB / 0.6875 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.1674, allocations: 0 / 0.6875 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003643/0.171, allocations: 2.204 MB / 0.6896 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002144/0.1713, allocations: 250.1 kB / 0.6899 GB, free: 6.766 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.1716, allocations: 246.8 kB / 0.6901 GB, free: 6.523 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003468/0.1751, allocations: 2.195 MB / 0.6922 GB, free: 4.324 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1751, allocations: 0 / 0.6922 GB, free: 4.324 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1751, allocations: 0 / 0.6922 GB, free: 4.324 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1751, allocations: 0 / 0.6922 GB, free: 4.324 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.002452/0.1776, allocations: 1.503 MB / 0.6937 GB, free: 2.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.1776, allocations: 8.031 kB / 0.6937 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.037e-05/0.1777, allocations: 30.75 kB / 0.6937 GB, free: 2.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.1779, allocations: 44.38 kB / 0.6938 GB, free: 2.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007822/0.1787, allocations: 0.6364 MB / 0.6944 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1787, allocations: 384 / 0.6944 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.1787, allocations: 3.938 kB / 0.6944 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.1789, allocations: 169.6 kB / 0.6946 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.202e-06/0.1789, allocations: 0 / 0.6946 GB, free: 1.828 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.179, allocations: 4 kB / 0.6946 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.179, allocations: 0 / 0.6946 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.1792, allocations: 287.8 kB / 0.6948 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.1798, allocations: 0.5327 MB / 0.6954 GB, free: 0.9609 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1799, allocations: 162.5 kB / 0.6955 GB, free: 0.793 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.18, allocations: 148.9 kB / 0.6957 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.18, allocations: 0 / 0.6957 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.1801, allocations: 30.56 kB / 0.6957 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1801, allocations: 0 / 0.6957 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.000577/0.1806, allocations: 496.9 kB / 0.6962 GB, free: 116 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.1807, allocations: 59.53 kB / 0.6962 GB, free: 44 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.1816, allocations: 0.6942 MB / 0.6969 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.1817, allocations: 29.7 kB / 0.6969 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.1818, allocations: 228.1 kB / 0.6971 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.211e-05/0.1818, allocations: 4 kB / 0.6972 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.917e-05/0.1819, allocations: 9.719 kB / 0.6972 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.182, allocations: 370.8 kB / 0.6975 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.1821, allocations: 136 kB / 0.6976 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.857e-05/0.1822, allocations: 147.9 kB / 0.6978 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001991/0.1824, allocations: 288.7 kB / 0.6981 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1824, allocations: 0 / 0.6981 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004194/0.1829, allocations: 364.8 kB / 0.6984 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.1829, allocations: 4 kB / 0.6984 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1829, allocations: 0 / 0.6984 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.1829, allocations: 3.984 kB / 0.6984 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.183, allocations: 4 kB / 0.6984 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.183, allocations: 0 / 0.6984 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1832, allocations: 32.09 kB / 0.6984 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1832, allocations: 3.938 kB / 0.6985 GB, free: 13.71 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.0001615/0.1834, allocations: 210.4 kB / 0.6987 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1836, allocations: 43.44 kB / 0.6987 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003201/0.1839, allocations: 376.9 kB / 0.6991 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1839, allocations: 3.984 kB / 0.6991 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1839, allocations: 0 / 0.6991 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.1839, allocations: 0 / 0.6991 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.1843, allocations: 449.5 kB / 0.6995 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.1843, allocations: 0 / 0.6995 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.1843, allocations: 0 / 0.6995 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1844, allocations: 4 kB / 0.6995 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.1844, allocations: 0 / 0.6995 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1844, allocations: 0 / 0.6995 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1844, allocations: 0 / 0.6995 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004195/0.1848, allocations: 384.4 kB / 0.6999 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004017/0.1852, allocations: 340.3 kB / 0.7002 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.1854, allocations: 0 / 0.7002 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/0.1856, allocations: 28 kB / 0.7002 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.1856, allocations: 4 kB / 0.7002 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.1856, allocations: 3.938 kB / 0.7002 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007348/0.1863, allocations: 0.5416 MB / 0.7007 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1864, allocations: 0 / 0.7007 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00139/0.1877, allocations: 0.5622 MB / 0.7013 GB, free: 10.7 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.003075/0.1908, allocations: 1.724 MB / 0.703 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1911, allocations: 283.9 kB / 0.7032 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1911, allocations: 3.938 kB / 0.7033 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1912, allocations: 177.7 kB / 0.7034 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1915, allocations: 36.33 kB / 0.7035 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009159/0.2007, allocations: 7.431 MB / 0.7107 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.2012, allocations: 0.8158 MB / 0.7115 GB, free: 200 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001421/0.2027, allocations: 447.7 kB / 0.7119 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000725/0.2034, allocations: 375.1 kB / 0.7123 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of SimCode: time 6.82e-07/0.2034, allocations: 3.938 kB / 0.7123 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05077/0.2542, allocations: 25.62 MB / 0.7373 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.03/8.284, allocations: 16.27 kB / 0.7373 GB, free: 6.012 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)