Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.328/2.328, allocations: 390.3 MB / 402.8 MB, free: 6.645 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 172.9 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 221.3 MB / 0.7915 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009686/0.0009685, allocations: 95.94 kB / 0.9318 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.898e-05/3.906e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3351, allocations: 143 MB / 1.219 GB, free: 13.47 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9606/1.296, allocations: 173.5 MB / 1.388 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000337/1.296, allocations: 106.5 kB / 1.388 GB, free: 12.75 MB / 0.8542 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/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.09029/1.386, allocations: 29.12 MB / 1.417 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.855e-06/1.386, allocations: 4 kB / 1.417 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.047e-05/1.386, allocations: 4 kB / 1.417 GB, free: 3.445 MB / 0.8698 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.001893/1.388, allocations: 0.912 MB / 1.418 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/1.388, allocations: 12.03 kB / 1.418 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/1.389, allocations: 55.33 kB / 1.418 GB, free: 2.449 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009546/1.39, allocations: 0.6119 MB / 1.418 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/1.39, allocations: 0 / 1.418 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/1.39, allocations: 0 / 1.418 GB, free: 1.863 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/1.39, allocations: 177.5 kB / 1.418 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/1.39, allocations: 0 / 1.418 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/1.39, allocations: 0 / 1.418 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/1.39, allocations: 3.953 kB / 1.418 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/1.39, allocations: 119.9 kB / 1.419 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006264/1.391, allocations: 495.6 kB / 1.419 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002213/1.391, allocations: 142.4 kB / 1.419 GB, free: 0.9219 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/1.391, allocations: 124.8 kB / 1.419 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/1.391, allocations: 0 / 1.419 GB, free: 0.7969 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/1.391, allocations: 34.56 kB / 1.419 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/1.391, allocations: 0 / 1.419 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0006269/1.392, allocations: 339.9 kB / 1.42 GB, free: 428 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/1.392, allocations: 55.36 kB / 1.42 GB, free: 360 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/1.393, allocations: 0.6282 MB / 1.42 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/1.393, allocations: 25.7 kB / 1.42 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/1.393, allocations: 227.5 kB / 1.421 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.101e-05/1.393, allocations: 3.625 kB / 1.421 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/1.393, allocations: 0 / 1.421 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000147/1.393, allocations: 369.4 kB / 1.421 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/1.393, allocations: 123.9 kB / 1.421 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/1.394, allocations: 115.9 kB / 1.421 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/1.394, allocations: 123.9 kB / 1.421 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.394, allocations: 4 kB / 1.421 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005446/1.394, allocations: 324.9 kB / 1.422 GB, free: 14.58 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/1.394, allocations: 8 kB / 1.422 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.58e-05/1.394, allocations: 8 kB / 1.422 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/1.394, allocations: 0 / 1.422 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.32e-07/1.394, allocations: 4 kB / 1.422 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/1.394, allocations: 4.094 kB / 1.422 GB, free: 14.56 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/1.395, allocations: 35.95 kB / 1.422 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/1.395, allocations: 24 kB / 1.422 GB, free: 14.5 MB / 0.8855 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.029e-05/1.395, allocations: 108 kB / 1.422 GB, free: 14.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/1.395, allocations: 51.38 kB / 1.422 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/1.396, allocations: 485.1 kB / 1.422 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.396, allocations: 0 / 1.422 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/1.396, allocations: 0 / 1.422 GB, free: 13.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/1.396, allocations: 8.016 kB / 1.422 GB, free: 13.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004406/1.396, allocations: 392.5 kB / 1.423 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/1.396, allocations: 12 kB / 1.423 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-06/1.396, allocations: 3.984 kB / 1.423 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/1.396, allocations: 0 / 1.423 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/1.396, allocations: 4 kB / 1.423 GB, free: 13.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.397, allocations: 4 kB / 1.423 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/1.397, allocations: 0 / 1.423 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005653/1.397, allocations: 371.6 kB / 1.423 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/1.398, allocations: 337.5 kB / 1.423 GB, free: 12.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.398, allocations: 4 kB / 1.423 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002252/1.398, allocations: 36 kB / 1.423 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/1.398, allocations: 7.984 kB / 1.423 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.872e-05/1.398, allocations: 24 kB / 1.423 GB, free: 12.74 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0006563/1.399, allocations: 0.5295 MB / 1.424 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/1.399, allocations: 0 / 1.424 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002243/1.401, allocations: 0.7061 MB / 1.425 GB, free: 11.59 MB / 0.8855 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.002467/1.403, allocations: 1.03 MB / 1.426 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005143/1.404, allocations: 273.5 kB / 1.426 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/1.404, allocations: 0 / 1.426 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002313/1.404, allocations: 149.6 kB / 1.426 GB, free: 10.24 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/1.404, allocations: 43.14 kB / 1.426 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/1.406, allocations: 0.6436 MB / 1.427 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/1.406, allocations: 0.8317 MB / 1.428 GB, free: 8.707 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001236/1.407, allocations: 437.6 kB / 1.428 GB, free: 8.312 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000617/1.408, allocations: 274.4 kB / 1.428 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of SimCode: time 2.8e-07/1.408, allocations: 0 / 1.428 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of Templates: time 0.03188/1.44, allocations: 20.14 MB / 1.448 GB, free: 3.922 MB / 0.9011 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)