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.8314/0.8314, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001102/0.001102, allocations: 172.9 kB / 182.2 MB, free: 9.453 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.477/1.477, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009016/0.0009016, allocations: 95.42 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 280.6 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.69e-05, allocations: 4 kB / 0.6767 GB, free: 12.67 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4503, allocations: 82.77 MB / 0.7575 GB, free: 31.9 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.168/0.6184, allocations: 122.9 MB / 0.8775 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.6188, allocations: 107.9 kB / 0.8776 GB, free: 4.715 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.4641/1.083, allocations: 20.79 MB / 0.8979 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.346e-06/1.083, allocations: 0.5938 kB / 0.8979 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.289e-05/1.083, allocations: 4.969 kB / 0.8979 GB, free: 126.1 MB / 0.5573 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.002599/1.086, allocations: 0.8068 MB / 0.8987 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.91e-05/1.086, allocations: 10.45 kB / 0.8987 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/1.086, allocations: 48.31 kB / 0.8988 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/1.087, allocations: 0.5979 MB / 0.8994 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/1.087, allocations: 4.781 kB / 0.8994 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/1.087, allocations: 0.5312 kB / 0.8994 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003043/1.088, allocations: 123.1 kB / 0.8995 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000388/1.088, allocations: 174 kB / 0.8996 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.088, allocations: 0 / 0.8996 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/1.088, allocations: 0.8125 kB / 0.8996 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/1.088, allocations: 3.5 kB / 0.8997 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/1.089, allocations: 466.1 kB / 0.9001 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003186/1.09, allocations: 142.7 kB / 0.9002 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/1.09, allocations: 128.6 kB / 0.9004 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/1.09, allocations: 1.188 kB / 0.9004 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/1.09, allocations: 32.94 kB / 0.9004 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/1.09, allocations: 0 / 0.9004 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0008877/1.091, allocations: 337.6 kB / 0.9007 GB, free: 125 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/1.091, allocations: 56.03 kB / 0.9008 GB, free: 125 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009839/1.092, allocations: 0.5887 MB / 0.9013 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/1.092, allocations: 27.17 kB / 0.9014 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/1.092, allocations: 227.7 kB / 0.9016 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/1.092, allocations: 2.672 kB / 0.9016 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.45e-05/1.092, allocations: 0 / 0.9016 GB, free: 124.7 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.092, allocations: 365.6 kB / 0.9019 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/1.093, allocations: 123.1 kB / 0.902 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002391/1.093, allocations: 119.5 kB / 0.9022 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/1.093, allocations: 121.9 kB / 0.9023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.093, allocations: 0.5 kB / 0.9023 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0007705/1.094, allocations: 336.5 kB / 0.9026 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/1.094, allocations: 9.703 kB / 0.9026 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.6e-05/1.094, allocations: 11.06 kB / 0.9026 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/1.094, allocations: 3.891 kB / 0.9026 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.264e-06/1.094, allocations: 3.375 kB / 0.9026 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.094, allocations: 1.281 kB / 0.9026 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/1.095, allocations: 36.08 kB / 0.9027 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.149e-05/1.095, allocations: 25.34 kB / 0.9027 GB, free: 124.4 MB / 0.5573 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 () * 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 8.978e-05/1.095, allocations: 102.8 kB / 0.9028 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008146/1.096, allocations: 329.1 kB / 0.9031 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/1.096, allocations: 50.98 kB / 0.9031 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/1.097, allocations: 487.1 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/1.097, allocations: 0.6562 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.097, allocations: 1.969 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/1.097, allocations: 1.281 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007578/1.098, allocations: 371.5 kB / 0.904 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-05/1.098, allocations: 13.59 kB / 0.904 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.163e-06/1.098, allocations: 0 / 0.904 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/1.098, allocations: 4.953 kB / 0.904 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/1.098, allocations: 7.75 kB / 0.904 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/1.098, allocations: 0 / 0.904 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/1.098, allocations: 0 / 0.904 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/1.099, allocations: 356.4 kB / 0.9043 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/1.099, allocations: 337.7 kB / 0.9047 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/1.1, allocations: 8.672 kB / 0.9047 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/1.1, allocations: 36.78 kB / 0.9047 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/1.1, allocations: 9.578 kB / 0.9047 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.81e-05/1.1, allocations: 28.75 kB / 0.9047 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000767/1.101, allocations: 0.4925 MB / 0.9052 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.5e-07/1.101, allocations: 2.031 kB / 0.9052 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002353/1.103, allocations: 496.8 kB / 0.9057 GB, free: 123.6 MB / 0.5573 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 () * 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.004256/1.107, allocations: 1.584 MB / 0.9072 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007344/1.108, allocations: 274.1 kB / 0.9075 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.108, allocations: 0 / 0.9075 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002921/1.108, allocations: 154.6 kB / 0.9076 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/1.109, allocations: 41.58 kB / 0.9077 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002876/1.112, allocations: 0.9756 MB / 0.9086 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/1.112, allocations: 0.8305 MB / 0.9095 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001208/1.113, allocations: 431.2 kB / 0.9099 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/1.114, allocations: 357.9 kB / 0.9102 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/1.114, allocations: 0 / 0.9102 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04112/1.155, allocations: 19.1 MB / 0.9289 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/1.155, allocations: 258.7 kB / 0.9291 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.38/3.535, allocations: 1.375 kB / 0.9291 GB, free: 113.5 MB / 0.5573 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)