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.001/0.001005, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001337/0.001337, allocations: 168.7 kB / 15.95 MB, free: 204 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.363/1.363, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.718/2.718, allocations: 462.6 MB / 0.736 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003348/0.0003348, allocations: 10.84 kB / 0.9022 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2989, allocations: 159.6 MB / 1.058 GB, free: 5.371 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001273/0.3003, allocations: 0.9751 MB / 1.059 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006062/0.3063, allocations: 4.182 MB / 1.063 GB, free: 192 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.963e-05/0.3064, allocations: 4 kB / 1.063 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.243e-05/0.3064, allocations: 0 / 1.063 GB, free: 188 kB / 0.8106 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.003029/0.3095, allocations: 1.131 MB / 1.064 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 6.364e-05/0.3095, allocations: 19.97 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.866e-05/0.3096, allocations: 27.91 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.3097, allocations: 0 / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.285e-05/0.3097, allocations: 4 kB / 1.064 GB, free: 15 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.217e-05/0.3098, allocations: 63.97 kB / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.987e-06/0.3098, allocations: 0 / 1.064 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00284/0.3126, allocations: 1.993 MB / 1.066 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.3128, allocations: 159.9 kB / 1.066 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.3128, allocations: 29.7 kB / 1.066 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.3144, allocations: 1.178 MB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3144, allocations: 4 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3144, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.3144, allocations: 0 / 1.068 GB, free: 11.57 MB / 0.8262 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.0007519/0.3151, allocations: 0.6124 MB / 1.068 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3152, allocations: 8.031 kB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.425e-05/0.3152, allocations: 0 / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001155/0.3153, allocations: 167.1 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.3154, allocations: 0 / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.3154, allocations: 3.953 kB / 1.068 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3156, allocations: 177.6 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3156, allocations: 3.984 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3156, allocations: 0 / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3156, allocations: 3.938 kB / 1.069 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002078/0.3158, allocations: 283.8 kB / 1.069 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002552/0.3161, allocations: 281.6 kB / 1.069 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.3162, allocations: 162.5 kB / 1.069 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001596/0.3164, allocations: 148.9 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.067e-06/0.3164, allocations: 3.953 kB / 1.069 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.132e-05/0.3164, allocations: 34.56 kB / 1.069 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3165, allocations: 4 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0004112/0.3169, allocations: 449.5 kB / 1.07 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/0.3169, allocations: 55.39 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.317, allocations: 170 kB / 1.07 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.3171, allocations: 29.83 kB / 1.07 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.3171, allocations: 84.12 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.3171, allocations: 3.906 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-06/0.3171, allocations: 4 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.3172, allocations: 310.8 kB / 1.07 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.988e-05/0.3173, allocations: 143.9 kB / 1.071 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.3174, allocations: 136 kB / 1.071 GB, free: 8.133 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.3175, allocations: 151.9 kB / 1.071 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.3176, allocations: 4.062 kB / 1.071 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002443/0.3178, allocations: 317.5 kB / 1.071 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.3178, allocations: 9.828 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.3178, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.336e-06/0.3178, allocations: 0 / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.863e-05/0.3179, allocations: 4 kB / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.3179, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.318, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.318, allocations: 0 / 1.071 GB, free: 7.652 MB / 0.8262 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.0001289/0.3181, allocations: 169.8 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.025e-06/0.3181, allocations: 4 kB / 1.071 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.3184, allocations: 324.7 kB / 1.072 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3185, allocations: 3.938 kB / 1.072 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3185, allocations: 0 / 1.072 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.3185, allocations: 3.984 kB / 1.072 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.3187, allocations: 281.6 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.585e-06/0.3187, allocations: 4 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.3187, allocations: 3.938 kB / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3187, allocations: 0 / 1.072 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.3188, allocations: 4.031 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3188, allocations: 3.953 kB / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3188, allocations: 0 / 1.072 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.319, allocations: 337 kB / 1.072 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.3191, allocations: 77.11 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.3192, allocations: 4 kB / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.192e-05/0.3192, allocations: 0 / 1.072 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.3192, allocations: 11.97 kB / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.3193, allocations: 0 / 1.072 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.094e-05/0.3193, allocations: 155.2 kB / 1.073 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3193, allocations: 0 / 1.073 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001055/0.3204, allocations: 0.5622 MB / 1.073 GB, free: 5.633 MB / 0.8262 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.002014/0.3224, allocations: 0.9207 MB / 1.074 GB, free: 4.805 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.3227, allocations: 283.9 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3227, allocations: 0 / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.3229, allocations: 173.6 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.3231, allocations: 0 / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3243, allocations: 0.9619 MB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.3247, allocations: 0.8187 MB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.988e-05/0.3247, allocations: 0 / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.3248, allocations: 11.44 kB / 1.076 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3248, allocations: 3.938 kB / 1.076 GB, free: 2.496 MB / 0.8262 GB Notification: Performance of Templates: time 0.01825/0.343, allocations: 12.07 MB / 1.088 GB, free: 6.469 MB / 0.8419 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)