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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.814/0.814, allocations: 143.4 MB / 158.3 MB, free: 5.637 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 171.4 kB / 191.5 MB, free: 5.66 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008783/0.0008784, allocations: 96.2 kB / 0.5187 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001805/0.001805, allocations: 258.6 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004422/0.0004422, allocations: 18.47 kB / 0.693 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1896/0.1901, allocations: 82.79 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6566/0.8467, allocations: 123.6 MB / 0.8946 GB, free: 22 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000343/0.8471, allocations: 109.5 kB / 0.8947 GB, free: 22 MB / 0.5417 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:207:5-207:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Utilities/Streams.mo:208:5-208:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.05994/0.9071, allocations: 20.95 MB / 0.9151 GB, free: 20.53 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.126e-06/0.9071, allocations: 0 / 0.9151 GB, free: 20.53 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.641e-05/0.9071, allocations: 3.938 kB / 0.9151 GB, free: 20.53 MB / 0.5417 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.002985/0.9101, allocations: 1.205 MB / 0.9163 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.9102, allocations: 11.69 kB / 0.9163 GB, free: 19.82 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.9103, allocations: 38.38 kB / 0.9163 GB, free: 19.77 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001861/0.9105, allocations: 56.88 kB / 0.9164 GB, free: 19.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006977/0.9112, allocations: 0.594 MB / 0.917 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.9112, allocations: 0 / 0.917 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.9112, allocations: 3.938 kB / 0.917 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002634/0.9115, allocations: 180 kB / 0.9172 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.9115, allocations: 0 / 0.9172 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.9115, allocations: 0 / 0.9172 GB, free: 19.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.9115, allocations: 7.281 kB / 0.9172 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.9117, allocations: 120 kB / 0.9173 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.9123, allocations: 491.7 kB / 0.9177 GB, free: 19.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.9124, allocations: 137.2 kB / 0.9179 GB, free: 19.24 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.9125, allocations: 3.906 kB / 0.9179 GB, free: 19.24 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.9125, allocations: 34.5 kB / 0.9179 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.9125, allocations: 0 / 0.9179 GB, free: 19.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0006755/0.9132, allocations: 451.8 kB / 0.9183 GB, free: 19.14 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.9132, allocations: 51.41 kB / 0.9184 GB, free: 19.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006602/0.9139, allocations: 0.6263 MB / 0.919 GB, free: 18.96 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.875e-05/0.9139, allocations: 25.7 kB / 0.919 GB, free: 18.93 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.914, allocations: 225.1 kB / 0.9192 GB, free: 18.85 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.9141, allocations: 3.938 kB / 0.9192 GB, free: 18.85 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.9141, allocations: 0 / 0.9192 GB, free: 18.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.9142, allocations: 368.3 kB / 0.9196 GB, free: 18.53 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.9143, allocations: 127.2 kB / 0.9197 GB, free: 18.53 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.9145, allocations: 123 kB / 0.9198 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.9147, allocations: 120.2 kB / 0.92 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9147, allocations: 3.906 kB / 0.92 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004863/0.9152, allocations: 324.8 kB / 0.9203 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.9152, allocations: 7.75 kB / 0.9203 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.9152, allocations: 7.75 kB / 0.9203 GB, free: 18.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.9152, allocations: 3.984 kB / 0.9203 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.9153, allocations: 0 / 0.9203 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.9153, allocations: 7.969 kB / 0.9203 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.9155, allocations: 31.12 kB / 0.9203 GB, free: 18.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.9155, allocations: 24.34 kB / 0.9203 GB, free: 18.46 MB / 0.5417 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): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000193/0.9157, allocations: 214.5 kB / 0.9205 GB, free: 18.34 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.9158, allocations: 55.44 kB / 0.9206 GB, free: 18.31 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009617/0.9168, allocations: 484.1 kB / 0.9211 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.9168, allocations: 0 / 0.9211 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.9168, allocations: 0 / 0.9211 GB, free: 18.27 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.9168, allocations: 7.172 kB / 0.9211 GB, free: 18.26 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.9172, allocations: 397.2 kB / 0.9214 GB, free: 18.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.694e-05/0.9173, allocations: 11.81 kB / 0.9215 GB, free: 18.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.9173, allocations: 0 / 0.9215 GB, free: 18.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.9173, allocations: 0 / 0.9215 GB, free: 18.06 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.9173, allocations: 7.469 kB / 0.9215 GB, free: 18.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.9173, allocations: 3.797 kB / 0.9215 GB, free: 18.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.9173, allocations: 0 / 0.9215 GB, free: 18.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005119/0.9178, allocations: 359.7 kB / 0.9218 GB, free: 17.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005309/0.9184, allocations: 338.1 kB / 0.9221 GB, free: 17.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.9185, allocations: 11.69 kB / 0.9221 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.9187, allocations: 35.12 kB / 0.9222 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.485e-05/0.9187, allocations: 7.75 kB / 0.9222 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.9188, allocations: 23.38 kB / 0.9222 GB, free: 17.84 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005778/0.9194, allocations: 0.528 MB / 0.9227 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9194, allocations: 0 / 0.9227 GB, free: 17.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001838/0.9212, allocations: 490.5 kB / 0.9232 GB, free: 17.63 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002724/0.9239, allocations: 1.59 MB / 0.9247 GB, free: 16.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000389/0.9243, allocations: 279.7 kB / 0.925 GB, free: 16.77 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.9244, allocations: 3.938 kB / 0.925 GB, free: 16.77 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.9245, allocations: 151.6 kB / 0.9252 GB, free: 16.73 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.9248, allocations: 41.33 kB / 0.9252 GB, free: 16.73 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004785/0.9296, allocations: 3.752 MB / 0.9289 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002247/0.9298, allocations: 0.8282 MB / 0.9297 GB, free: 14.85 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001162/0.931, allocations: 422.1 kB / 0.9301 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005319/0.9316, allocations: 363.1 kB / 0.9304 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of SimCode: time 4.7e-07/0.9316, allocations: 0 / 0.9304 GB, free: 14.61 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.9681, allocations: 20.85 MB / 0.9508 GB, free: 4.539 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.9683, allocations: 307 kB / 0.9511 GB, free: 4.184 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/3.47, allocations: 0 / 0.9511 GB, free: 4.184 MB / 0.5417 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/linux/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)