Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.0008773/0.0008773, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001063/0.001063, allocations: 172.7 kB / 15.95 MB, free: 208 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.606/2.606, allocations: 437.7 MB / 0.7117 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003226/0.0003226, allocations: 8 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7635/0.7638, allocations: 153.8 MB / 1.022 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001321/0.7652, allocations: 0.9846 MB / 1.023 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006347/0.7715, allocations: 4.169 MB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.7716, allocations: 0 / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 5.377e-05/0.7716, allocations: 0 / 1.027 GB, free: 10.86 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.003265/0.7749, allocations: 1.131 MB / 1.029 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.584e-05/0.775, allocations: 23.91 kB / 1.029 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.285e-05/0.7751, allocations: 19.98 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.7751, allocations: 3.984 kB / 1.029 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.651e-05/0.7752, allocations: 4 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.7753, allocations: 67.95 kB / 1.029 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.7753, allocations: 4 kB / 1.029 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.7783, allocations: 1.981 MB / 1.031 GB, free: 7.625 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001566/0.7785, allocations: 159.9 kB / 1.031 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.7785, allocations: 29.7 kB / 1.031 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.78, allocations: 1.191 MB / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.78, allocations: 0 / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.78, allocations: 0 / 1.032 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.526e-06/0.78, allocations: 0 / 1.032 GB, free: 6.242 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.0007942/0.7808, allocations: 0.6123 MB / 1.033 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.7809, allocations: 12.52 kB / 1.033 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.7809, allocations: 3.984 kB / 1.033 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.781, allocations: 171.1 kB / 1.033 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7811, allocations: 4 kB / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.087e-05/0.7811, allocations: 0 / 1.033 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002004/0.7813, allocations: 173.6 kB / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.7813, allocations: 0 / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7813, allocations: 0 / 1.033 GB, free: 5.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7813, allocations: 3.938 kB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002097/0.7815, allocations: 283.9 kB / 1.033 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.7818, allocations: 281.6 kB / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.782, allocations: 166.5 kB / 1.034 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001073/0.7821, allocations: 140.9 kB / 1.034 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.7821, allocations: 0 / 1.034 GB, free: 4.262 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.7821, allocations: 38.52 kB / 1.034 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 2.314e-06/0.7821, allocations: 3.984 kB / 1.034 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.000418/0.7826, allocations: 453.5 kB / 1.034 GB, free: 3.762 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.7826, allocations: 59.47 kB / 1.034 GB, free: 3.691 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.7827, allocations: 169.8 kB / 1.034 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.7827, allocations: 25.7 kB / 1.034 GB, free: 3.484 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.7828, allocations: 80.14 kB / 1.035 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.7828, allocations: 0 / 1.035 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-06/0.7828, allocations: 7.938 kB / 1.035 GB, free: 3.395 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.7829, allocations: 310.8 kB / 1.035 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.783, allocations: 139.9 kB / 1.035 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.7831, allocations: 148.1 kB / 1.035 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.7833, allocations: 143.9 kB / 1.035 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.7833, allocations: 0 / 1.035 GB, free: 2.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002497/0.7835, allocations: 317.4 kB / 1.036 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.7835, allocations: 4 kB / 1.036 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7836, allocations: 3.953 kB / 1.036 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.7836, allocations: 0 / 1.036 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.747e-05/0.7836, allocations: 7.984 kB / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7836, allocations: 0 / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.069e-05/0.7837, allocations: 0 / 1.036 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.7837, allocations: 4.094 kB / 1.036 GB, free: 2.324 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.0001077/0.7838, allocations: 165.8 kB / 1.036 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.7839, allocations: 4 kB / 1.036 GB, free: 2.148 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003149/0.7842, allocations: 324.6 kB / 1.036 GB, free: 1.824 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.7842, allocations: 3.953 kB / 1.036 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.7842, allocations: 0 / 1.036 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.7842, allocations: 0 / 1.036 GB, free: 1.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002149/0.7844, allocations: 281.6 kB / 1.036 GB, free: 1.496 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.7844, allocations: 8.031 kB / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.7844, allocations: 0 / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.7845, allocations: 0 / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.7845, allocations: 0 / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.7845, allocations: 3.984 kB / 1.036 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.7845, allocations: 3.953 kB / 1.036 GB, free: 1.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.7847, allocations: 333 kB / 1.037 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.564e-05/0.7848, allocations: 85.09 kB / 1.037 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.7849, allocations: 8.031 kB / 1.037 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.741e-05/0.7849, allocations: 0 / 1.037 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.8e-05/0.785, allocations: 3.953 kB / 1.037 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-06/0.785, allocations: 0 / 1.037 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.393e-05/0.7851, allocations: 159.2 kB / 1.037 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7851, allocations: 0 / 1.037 GB, free: 0.8672 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001103/0.7862, allocations: 0.5661 MB / 1.037 GB, free: 308 kB / 0.7794 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.002111/0.7883, allocations: 0.9194 MB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.7886, allocations: 287.9 kB / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.7886, allocations: 0 / 1.039 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.7887, allocations: 169.6 kB / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001847/0.7889, allocations: 0 / 1.039 GB, free: 15.03 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/0.7901, allocations: 0.9659 MB / 1.04 GB, free: 14.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003655/0.7905, allocations: 0.8148 MB / 1.041 GB, free: 13.2 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.096e-05/0.7905, allocations: 7.938 kB / 1.041 GB, free: 13.19 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.7905, allocations: 19.42 kB / 1.041 GB, free: 13.17 MB / 0.795 GB Notification: Performance of SimCode: time 3.51e-07/0.7905, allocations: 0 / 1.041 GB, free: 13.17 MB / 0.795 GB Notification: Performance of Templates: time 0.01892/0.8095, allocations: 12.06 MB / 1.052 GB, free: 1.145 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)