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.6968/0.6968, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 184 kB / 187.3 MB, free: 11.88 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.254/1.254, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009299/0.0009298, allocations: 93.55 kB / 0.5124 GB, free: 24.22 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001627/0.001627, allocations: 283.1 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.411e-05/3.416e-05, allocations: 7.984 kB / 0.6836 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3582, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1228/0.4811, allocations: 123.6 MB / 0.8851 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/0.4814, allocations: 104.7 kB / 0.8852 GB, free: 0.832 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.05996/0.5414, allocations: 20.89 MB / 0.9056 GB, free: 11.95 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.542e-06/0.5414, allocations: 0 / 0.9056 GB, free: 11.95 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.219e-05/0.5414, allocations: 4 kB / 0.9056 GB, free: 11.94 MB / 0.573 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.001158/0.5426, allocations: 0.8207 MB / 0.9064 GB, free: 11.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.5426, allocations: 12.03 kB / 0.9064 GB, free: 11.06 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.867e-05/0.5427, allocations: 30.56 kB / 0.9064 GB, free: 11.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.5428, allocations: 47.44 kB / 0.9065 GB, free: 10.98 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007802/0.5436, allocations: 0.5966 MB / 0.9071 GB, free: 10.34 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.5436, allocations: 0 / 0.9071 GB, free: 10.34 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.5437, allocations: 4 kB / 0.9071 GB, free: 10.33 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.544, allocations: 177.5 kB / 0.9072 GB, free: 10.15 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.544, allocations: 0 / 0.9072 GB, free: 10.15 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.544, allocations: 0 / 0.9072 GB, free: 10.15 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.544, allocations: 0 / 0.9072 GB, free: 10.15 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001836/0.5442, allocations: 123.9 kB / 0.9073 GB, free: 10.03 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.5448, allocations: 497.2 kB / 0.9078 GB, free: 9.496 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.545, allocations: 142.4 kB / 0.908 GB, free: 9.348 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.5452, allocations: 128.8 kB / 0.9081 GB, free: 9.219 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.5452, allocations: 0 / 0.9081 GB, free: 9.219 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.5452, allocations: 30.56 kB / 0.9081 GB, free: 9.18 MB / 0.573 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.5452, allocations: 4 kB / 0.9081 GB, free: 9.176 MB / 0.573 GB Notification: Performance of matching and sorting (n=1): time 0.0005602/0.5458, allocations: 324.9 kB / 0.9084 GB, free: 8.852 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.5458, allocations: 55.34 kB / 0.9085 GB, free: 8.785 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007531/0.5466, allocations: 0.6219 MB / 0.9091 GB, free: 8.156 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.5466, allocations: 29.73 kB / 0.9091 GB, free: 8.121 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.5468, allocations: 228.1 kB / 0.9093 GB, free: 7.895 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.5468, allocations: 0 / 0.9093 GB, free: 7.895 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.117e-05/0.5468, allocations: 0 / 0.9093 GB, free: 7.895 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5469, allocations: 366.8 kB / 0.9097 GB, free: 7.527 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.5471, allocations: 123.9 kB / 0.9098 GB, free: 7.406 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001701/0.5473, allocations: 119.9 kB / 0.9099 GB, free: 7.289 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001884/0.5475, allocations: 119.9 kB / 0.91 GB, free: 7.172 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5475, allocations: 8 kB / 0.91 GB, free: 7.164 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005185/0.548, allocations: 332.9 kB / 0.9103 GB, free: 6.832 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5481, allocations: 4 kB / 0.9104 GB, free: 6.828 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/0.5481, allocations: 15.98 kB / 0.9104 GB, free: 6.812 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.5481, allocations: 0 / 0.9104 GB, free: 6.812 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.5481, allocations: 0 / 0.9104 GB, free: 6.812 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.5481, allocations: 0 / 0.9104 GB, free: 6.812 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.5484, allocations: 39.94 kB / 0.9104 GB, free: 6.773 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.5484, allocations: 24 kB / 0.9104 GB, free: 6.75 MB / 0.573 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 7.123e-05/0.5485, allocations: 109 kB / 0.9105 GB, free: 6.637 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.5486, allocations: 47.44 kB / 0.9106 GB, free: 6.59 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.5496, allocations: 488.8 kB / 0.911 GB, free: 6.102 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5496, allocations: 0 / 0.911 GB, free: 6.102 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.5496, allocations: 4 kB / 0.911 GB, free: 6.098 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.963e-06/0.5496, allocations: 0 / 0.911 GB, free: 6.098 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004198/0.5501, allocations: 393.4 kB / 0.9114 GB, free: 5.664 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.807e-05/0.5501, allocations: 8 kB / 0.9114 GB, free: 5.656 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.5501, allocations: 0 / 0.9114 GB, free: 5.656 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.5501, allocations: 4 kB / 0.9114 GB, free: 5.652 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.5501, allocations: 11.97 kB / 0.9114 GB, free: 5.641 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.5501, allocations: 0 / 0.9114 GB, free: 5.641 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5501, allocations: 0 / 0.9114 GB, free: 5.641 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005269/0.5507, allocations: 360.2 kB / 0.9118 GB, free: 5.27 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.5511, allocations: 340.2 kB / 0.9121 GB, free: 4.918 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.5512, allocations: 4 kB / 0.9121 GB, free: 4.914 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.5515, allocations: 32.03 kB / 0.9121 GB, free: 4.883 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.5515, allocations: 16.02 kB / 0.9122 GB, free: 4.867 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.119e-05/0.5515, allocations: 24 kB / 0.9122 GB, free: 4.844 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006553/0.5522, allocations: 0.5248 MB / 0.9127 GB, free: 4.32 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5522, allocations: 0 / 0.9127 GB, free: 4.32 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001444/0.5537, allocations: 495.3 kB / 0.9132 GB, free: 3.836 MB / 0.573 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.002594/0.5563, allocations: 1.581 MB / 0.9147 GB, free: 2.305 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.000479/0.5567, allocations: 273.5 kB / 0.915 GB, free: 2.031 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5568, allocations: 7.938 kB / 0.915 GB, free: 2.023 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.557, allocations: 149.6 kB / 0.9151 GB, free: 1.871 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002061/0.5572, allocations: 42.22 kB / 0.9152 GB, free: 1.824 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.5588, allocations: 0.9816 MB / 0.9161 GB, free: 0.8047 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2879/0.8467, allocations: 0.8208 MB / 0.9169 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001317/0.8481, allocations: 429.7 kB / 0.9173 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006907/0.8488, allocations: 365.6 kB / 0.9177 GB, free: 135.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.333e-06/0.8488, allocations: 0.6562 kB / 0.9177 GB, free: 135.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.8834, allocations: 20.6 MB / 0.9378 GB, free: 133.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001362/0.8835, allocations: 267.8 kB / 0.9381 GB, free: 132.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.232/3.116, allocations: 0 / 0.9381 GB, free: 132.9 MB / 0.573 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)