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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8944/0.8944, allocations: 140.1 MB / 156 MB, free: 5.145 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 178.3 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.4 MB / 426.3 MB, free: 8.391 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008492/0.0008492, allocations: 90.31 kB / 0.4945 GB, free: 8.328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.00179/0.00179, allocations: 277.5 kB / 0.5729 GB, free: 66.2 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 28 kB / 0.6621 GB, free: 6.738 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5726/0.5731, allocations: 79.29 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.8125, allocations: 122 MB / 0.8587 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004657/0.8131, allocations: 107.9 kB / 0.8588 GB, free: 4.027 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:212:5-212:61:writable] Warning: Unused input variable nrow in function .Modelica.Utilities.Streams.readRealMatrix. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Streams.mo:213:5-213:64:writable] Warning: Unused input variable ncol in function .Modelica.Utilities.Streams.readRealMatrix. Notification: Performance of FrontEnd - DAE generated: time 0.1268/0.9399, allocations: 27.74 MB / 0.8859 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.787e-06/0.94, allocations: 0 / 0.8859 GB, free: 8.25 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.715e-05/0.94, allocations: 4 kB / 0.8859 GB, free: 8.246 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.003884/0.9439, allocations: 1.208 MB / 0.887 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.944, allocations: 8.031 kB / 0.8871 GB, free: 6.977 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.9443, allocations: 48.38 kB / 0.8871 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.9457, allocations: 0.6169 MB / 0.8877 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/0.9458, allocations: 384 / 0.8877 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.9458, allocations: 384 / 0.8877 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000512/0.9463, allocations: 178.1 kB / 0.8879 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.9464, allocations: 192 / 0.8879 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.247e-05/0.9464, allocations: 7.938 kB / 0.8879 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.9464, allocations: 0 / 0.8879 GB, free: 6.086 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000366/0.9468, allocations: 123.8 kB / 0.888 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001334/0.9482, allocations: 489.4 kB / 0.8885 GB, free: 5.438 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.9486, allocations: 134.5 kB / 0.8886 GB, free: 5.297 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.9489, allocations: 128.8 kB / 0.8887 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.949, allocations: 0 / 0.8887 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.949, allocations: 38.56 kB / 0.8888 GB, free: 5.121 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 2.204e-06/0.949, allocations: 4 kB / 0.8888 GB, free: 5.117 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.001457/0.9505, allocations: 452.7 kB / 0.8892 GB, free: 4.668 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.9506, allocations: 51.41 kB / 0.8892 GB, free: 4.605 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.9522, allocations: 0.6942 MB / 0.8899 GB, free: 3.902 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.094e-05/0.9523, allocations: 29.7 kB / 0.8899 GB, free: 3.867 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.9526, allocations: 228.1 kB / 0.8902 GB, free: 3.641 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.9526, allocations: 3.906 kB / 0.8902 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/0.9527, allocations: 4.125 kB / 0.8902 GB, free: 3.633 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000217/0.9529, allocations: 362.8 kB / 0.8905 GB, free: 3.27 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003359/0.9532, allocations: 123.9 kB / 0.8906 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003263/0.9536, allocations: 119.9 kB / 0.8908 GB, free: 3.031 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000704/0.9543, allocations: 244.6 kB / 0.891 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.9543, allocations: 0 / 0.891 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.001076/0.9554, allocations: 340.8 kB / 0.8913 GB, free: 2.449 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.9555, allocations: 7.938 kB / 0.8913 GB, free: 2.441 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.029e-05/0.9555, allocations: 16.09 kB / 0.8913 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.9556, allocations: 0 / 0.8913 GB, free: 2.426 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-06/0.9556, allocations: 3.984 kB / 0.8913 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9556, allocations: 0 / 0.8913 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.9561, allocations: 32 kB / 0.8914 GB, free: 2.391 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.9562, allocations: 24 kB / 0.8914 GB, free: 2.367 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 () * 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.0003591/0.9566, allocations: 205.8 kB / 0.8916 GB, free: 2.156 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.9568, allocations: 51.38 kB / 0.8916 GB, free: 2.105 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.9587, allocations: 492.7 kB / 0.8921 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.9587, allocations: 0 / 0.8921 GB, free: 1.617 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.9587, allocations: 4 kB / 0.8921 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.9587, allocations: 0 / 0.8921 GB, free: 1.613 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008934/0.9596, allocations: 385.5 kB / 0.8925 GB, free: 1.188 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-05/0.9597, allocations: 15.98 kB / 0.8925 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.415e-06/0.9597, allocations: 0 / 0.8925 GB, free: 1.172 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.9597, allocations: 3.938 kB / 0.8925 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/0.9598, allocations: 4 kB / 0.8925 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.9598, allocations: 0 / 0.8925 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9598, allocations: 7.938 kB / 0.8925 GB, free: 1.156 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/0.9608, allocations: 356.4 kB / 0.8928 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006776/0.9615, allocations: 332.3 kB / 0.8932 GB, free: 456 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002729/0.9618, allocations: 7.938 kB / 0.8932 GB, free: 448 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000418/0.9623, allocations: 36 kB / 0.8932 GB, free: 412 kB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.9623, allocations: 7.938 kB / 0.8932 GB, free: 404 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.587e-05/0.9624, allocations: 27.98 kB / 0.8932 GB, free: 376 kB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.5473/1.51, allocations: 0.5279 MB / 0.8938 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.102e-06/1.51, allocations: 3.938 kB / 0.8938 GB, free: 138.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002934/1.513, allocations: 493 kB / 0.8942 GB, free: 138.4 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 () * 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.003365/1.516, allocations: 0.7805 MB / 0.895 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001098/1.517, allocations: 274.2 kB / 0.8953 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.517, allocations: 0 / 0.8953 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000518/1.518, allocations: 154 kB / 0.8954 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007956/1.519, allocations: 44.83 kB / 0.8954 GB, free: 138.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2553/1.774, allocations: 118.5 MB / 1.011 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003913/1.774, allocations: 0.82 MB / 1.012 GB, free: 38.52 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002529/1.777, allocations: 425.2 kB / 1.012 GB, free: 38.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009922/1.778, allocations: 279.2 kB / 1.013 GB, free: 37.83 MB / 0.5573 GB Notification: Performance of SimCode: time 2.364e-06/1.778, allocations: 0 / 1.013 GB, free: 37.83 MB / 0.5573 GB Notification: Performance of Templates: time 0.04365/1.822, allocations: 16.18 MB / 1.028 GB, free: 21.65 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)