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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 436.5 MB / 0.7104 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 8 kB / 0.8708 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7833/0.7836, allocations: 153.7 MB / 1.021 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001411/0.7851, allocations: 0.9843 MB / 1.022 GB, free: 228 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.006381/0.7915, allocations: 4.099 MB / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.851e-05/0.7916, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.651e-05/0.7916, allocations: 0 / 1.026 GB, free: 12.11 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeBindings: time 0.003549/0.7952, allocations: 1.084 MB / 1.027 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.275e-05/0.7953, allocations: 19.98 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.816e-05/0.7953, allocations: 7.969 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.69e-05/0.7954, allocations: 8 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.148e-05/0.7954, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.14e-05/0.7955, allocations: 4 kB / 1.027 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.7955, allocations: 3.938 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003002/0.7985, allocations: 1.876 MB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001832/0.7987, allocations: 231.5 kB / 1.029 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.84e-05/0.7988, allocations: 73.52 kB / 1.029 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002198/0.801, allocations: 1.577 MB / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.801, allocations: 0 / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.146e-06/0.801, allocations: 0 / 1.031 GB, free: 7.211 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.801, allocations: 0 / 1.031 GB, free: 7.211 MB / 0.7794 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.00226/0.8033, allocations: 1.215 MB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.352e-05/0.8034, allocations: 19.98 kB / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.8035, allocations: 43.44 kB / 1.032 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.8046, allocations: 0.616 MB / 1.032 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.8046, allocations: 0 / 1.032 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.427e-05/0.8046, allocations: 0 / 1.032 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.8049, allocations: 173.6 kB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.8049, allocations: 4 kB / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.8049, allocations: 0 / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.8049, allocations: 0 / 1.033 GB, free: 5.047 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002664/0.8052, allocations: 275.9 kB / 1.033 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.8059, allocations: 0.5405 MB / 1.033 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.8061, allocations: 162.5 kB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.8061, allocations: 0 / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.8061, allocations: 34.5 kB / 1.034 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.8061, allocations: 0 / 1.034 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0006485/0.8068, allocations: 0.4892 MB / 1.034 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/0.8069, allocations: 55.53 kB / 1.034 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009736/0.8079, allocations: 0.6942 MB / 1.035 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.8079, allocations: 25.7 kB / 1.035 GB, free: 2.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.8081, allocations: 232 kB / 1.035 GB, free: 2.449 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.8081, allocations: 3.906 kB / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-06/0.8082, allocations: 0 / 1.035 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8083, allocations: 366.8 kB / 1.035 GB, free: 2.078 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.8085, allocations: 143.9 kB / 1.036 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.8086, allocations: 140 kB / 1.036 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.8087, allocations: 143.9 kB / 1.036 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.8087, allocations: 0 / 1.036 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003859/0.8091, allocations: 361 kB / 1.036 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.8091, allocations: 4 kB / 1.036 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.8091, allocations: 0 / 1.036 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8092, allocations: 3.953 kB / 1.036 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.8092, allocations: 4 kB / 1.036 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.8093, allocations: 0 / 1.036 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.8095, allocations: 32.09 kB / 1.036 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.8095, allocations: 0 / 1.036 GB, free: 1.258 MB / 0.7794 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001949/0.8097, allocations: 217.7 kB / 1.036 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.8098, allocations: 43.44 kB / 1.036 GB, free: 0.9922 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.8102, allocations: 373 kB / 1.037 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.8102, allocations: 3.953 kB / 1.037 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8102, allocations: 4 kB / 1.037 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.8102, allocations: 0 / 1.037 GB, free: 0.6094 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004399/0.8107, allocations: 437.5 kB / 1.037 GB, free: 136 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.8107, allocations: 4.031 kB / 1.037 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.8107, allocations: 0 / 1.037 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.8107, allocations: 4 kB / 1.037 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.351e-06/0.8107, allocations: 0 / 1.037 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.8107, allocations: 3.984 kB / 1.037 GB, free: 124 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.8107, allocations: 3.953 kB / 1.037 GB, free: 120 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.8111, allocations: 380.4 kB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005915/0.8117, allocations: 340.3 kB / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.8119, allocations: 0 / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.8121, allocations: 28 kB / 1.038 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.541e-05/0.8121, allocations: 0 / 1.038 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.8121, allocations: 7.953 kB / 1.038 GB, free: 15.34 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0006774/0.8128, allocations: 0.5377 MB / 1.038 GB, free: 14.8 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8128, allocations: 3.938 kB / 1.038 GB, free: 14.8 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001656/0.8145, allocations: 0.5661 MB / 1.039 GB, free: 14.23 MB / 0.795 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.002193/0.8167, allocations: 0.908 MB / 1.04 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.817, allocations: 287.9 kB / 1.04 GB, free: 13.14 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.817, allocations: 0 / 1.04 GB, free: 13.14 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.8171, allocations: 173.6 kB / 1.04 GB, free: 12.97 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.8174, allocations: 34.3 kB / 1.04 GB, free: 12.93 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00124/0.8186, allocations: 0.875 MB / 1.041 GB, free: 12.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.819, allocations: 0.8278 MB / 1.042 GB, free: 11.18 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001289/0.8203, allocations: 447 kB / 1.042 GB, free: 10.79 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005979/0.8209, allocations: 287.2 kB / 1.043 GB, free: 10.5 MB / 0.795 GB Notification: Performance of SimCode: time 5.01e-07/0.821, allocations: 0 / 1.043 GB, free: 10.5 MB / 0.795 GB Notification: Performance of Templates: time 0.0316/0.8526, allocations: 19.84 MB / 1.062 GB, free: 6.684 MB / 0.8106 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)