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: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8967/0.8967, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001031/0.001031, allocations: 184.6 kB / 182.2 MB, free: 9.438 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.439/1.439, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.000846/0.0008459, allocations: 81.77 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.001748/0.001748, allocations: 278.2 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.769e-05/2.771e-05, allocations: 4 kB / 0.6766 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4906/0.4907, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.6519, allocations: 122.9 MB / 0.8774 GB, free: 4.949 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.6523, allocations: 115.8 kB / 0.8775 GB, free: 4.84 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.06222/0.7145, allocations: 20.78 MB / 0.8978 GB, free: 40 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7146, allocations: 0 / 0.8978 GB, free: 40 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.7146, allocations: 8 kB / 0.8978 GB, free: 32 kB / 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.487/1.202, allocations: 0.8038 MB / 0.8986 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.202, allocations: 8.531 kB / 0.8986 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/1.202, allocations: 48.95 kB / 0.8987 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009064/1.203, allocations: 0.5974 MB / 0.8993 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.203, allocations: 8.625 kB / 0.8993 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/1.203, allocations: 0.8125 kB / 0.8993 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002731/1.203, allocations: 123.9 kB / 0.8994 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000317/1.203, allocations: 174 kB / 0.8996 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/1.203, allocations: 0 / 0.8996 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/1.203, allocations: 2.641 kB / 0.8996 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/1.203, allocations: 0 / 0.8996 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/1.204, allocations: 467.9 kB / 0.9 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/1.205, allocations: 141.5 kB / 0.9001 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/1.205, allocations: 128.4 kB / 0.9003 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/1.205, allocations: 1.516 kB / 0.9003 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/1.205, allocations: 31.59 kB / 0.9003 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/1.205, allocations: 3.344 kB / 0.9003 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0007591/1.206, allocations: 333.2 kB / 0.9006 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/1.206, allocations: 52.02 kB / 0.9007 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008164/1.206, allocations: 0.5903 MB / 0.9012 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/1.206, allocations: 25.7 kB / 0.9013 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001391/1.207, allocations: 228.5 kB / 0.9015 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/1.207, allocations: 7.5 kB / 0.9015 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.485e-05/1.207, allocations: 0 / 0.9015 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/1.207, allocations: 371.7 kB / 0.9018 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/1.207, allocations: 119.4 kB / 0.902 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/1.207, allocations: 120.2 kB / 0.9021 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/1.207, allocations: 125.7 kB / 0.9022 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.207, allocations: 4.312 kB / 0.9022 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0006186/1.208, allocations: 328.4 kB / 0.9025 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/1.208, allocations: 8.766 kB / 0.9025 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.857e-05/1.208, allocations: 11.45 kB / 0.9025 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/1.208, allocations: 0.75 kB / 0.9025 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.953e-06/1.208, allocations: 0.5 kB / 0.9025 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/1.208, allocations: 0.9688 kB / 0.9025 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/1.208, allocations: 33.19 kB / 0.9026 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/1.209, allocations: 28.47 kB / 0.9026 GB, free: 124.5 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 7.238e-05/1.209, allocations: 102.9 kB / 0.9027 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/1.209, allocations: 47.78 kB / 0.9027 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00113/1.21, allocations: 490.2 kB / 0.9032 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/1.21, allocations: 0 / 0.9032 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/1.21, allocations: 1.906 kB / 0.9032 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/1.21, allocations: 0 / 0.9032 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004801/1.21, allocations: 374.3 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/1.21, allocations: 14.06 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/1.21, allocations: 0 / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/1.21, allocations: 0 / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/1.21, allocations: 6.797 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/1.21, allocations: 1.375 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.211, allocations: 3.953 kB / 0.9036 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/1.211, allocations: 356.4 kB / 0.9039 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004105/1.212, allocations: 339.8 kB / 0.9042 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/1.212, allocations: 6.328 kB / 0.9043 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/1.212, allocations: 34.59 kB / 0.9043 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/1.212, allocations: 10.28 kB / 0.9043 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/1.212, allocations: 28.23 kB / 0.9043 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000602/1.213, allocations: 0.4928 MB / 0.9048 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.213, allocations: 2.844 kB / 0.9048 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001757/1.214, allocations: 489.6 kB / 0.9053 GB, free: 123.7 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.001961/1.216, allocations: 0.7987 MB / 0.9061 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006229/1.217, allocations: 276.8 kB / 0.9063 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/1.217, allocations: 3.719 kB / 0.9063 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002865/1.217, allocations: 154.4 kB / 0.9065 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/1.218, allocations: 36.64 kB / 0.9065 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.219, allocations: 0.6468 MB / 0.9071 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/1.219, allocations: 0.83 MB / 0.9079 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001137/1.22, allocations: 426.3 kB / 0.9084 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000494/1.221, allocations: 270.4 kB / 0.9086 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of SimCode: time 2.7e-07/1.221, allocations: 0 / 0.9086 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of Templates: time 0.02001/1.241, allocations: 14.87 MB / 0.9231 GB, free: 119.6 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)