Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001227/0.001227, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 472.6 MB / 0.7451 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002193/0.002193, allocations: 61.8 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2896, allocations: 159.9 MB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002218/0.2919, allocations: 1.255 MB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006393/0.2983, allocations: 4.494 MB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.385e-05/0.2984, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.777e-05/0.2984, allocations: 4 kB / 1.074 GB, free: 4.605 MB / 0.8262 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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. Notification: Performance of NFTyping.typeBindings: time 0.00392/0.3024, allocations: 1.507 MB / 1.075 GB, free: 3.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 9.18e-05/0.3025, allocations: 35.91 kB / 1.075 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.293e-05/0.3025, allocations: 11.98 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.3026, allocations: 0 / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.236e-05/0.3026, allocations: 7.984 kB / 1.075 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.3027, allocations: 25.22 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.3027, allocations: 0 / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.306, allocations: 2.207 MB / 1.078 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.3061, allocations: 145.2 kB / 1.078 GB, free: 0.6641 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.3061, allocations: 7.938 kB / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.309, allocations: 1.735 MB / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.309, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.194e-06/0.309, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.309, allocations: 0 / 1.079 GB, free: 14.92 MB / 0.8419 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.001032/0.31, allocations: 0.6243 MB / 1.08 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.3101, allocations: 11.97 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.3101, allocations: 4.844 kB / 1.08 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.3103, allocations: 164.4 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.3103, allocations: 384 / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.3103, allocations: 8.062 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3105, allocations: 165.6 kB / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.3105, allocations: 0 / 1.08 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.3105, allocations: 4 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3105, allocations: 4 kB / 1.08 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002043/0.3107, allocations: 279.9 kB / 1.081 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.311, allocations: 289.6 kB / 1.081 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3111, allocations: 154.5 kB / 1.081 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3112, allocations: 156.7 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.3112, allocations: 0 / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.3113, allocations: 30.56 kB / 1.081 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 1.643e-06/0.3113, allocations: 4 kB / 1.081 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0003888/0.3117, allocations: 453.5 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.3117, allocations: 51.41 kB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3118, allocations: 165.8 kB / 1.082 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.3118, allocations: 25.7 kB / 1.082 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 2.286e-05/0.3119, allocations: 80.14 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.3119, allocations: 11.92 kB / 1.082 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.3119, allocations: 17.97 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.896e-05/0.312, allocations: 310.8 kB / 1.082 GB, free: 11.74 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.624e-05/0.3121, allocations: 143.9 kB / 1.082 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.743e-05/0.3122, allocations: 140 kB / 1.083 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001963/0.3124, allocations: 292.7 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3125, allocations: 0 / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002301/0.3127, allocations: 317.5 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3127, allocations: 8 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3127, allocations: 4.094 kB / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.3127, allocations: 0 / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.3128, allocations: 0 / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3128, allocations: 0 / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.231e-05/0.3129, allocations: 0 / 1.083 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3129, allocations: 4 kB / 1.083 GB, free: 10.84 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.485e-05/0.313, allocations: 177.6 kB / 1.083 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.313, allocations: 3.938 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.3133, allocations: 324.7 kB / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3133, allocations: 0 / 1.084 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3133, allocations: 4 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.3133, allocations: 0 / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.3136, allocations: 285.6 kB / 1.084 GB, free: 9.996 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3136, allocations: 3.984 kB / 1.084 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.3136, allocations: 0 / 1.084 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.3136, allocations: 4 kB / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.3136, allocations: 0 / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3136, allocations: 0 / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3136, allocations: 0 / 1.084 GB, free: 9.988 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3139, allocations: 352.8 kB / 1.084 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.3139, allocations: 77.11 kB / 1.084 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/0.314, allocations: 3.984 kB / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.3141, allocations: 0 / 1.084 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.3141, allocations: 4 kB / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.3141, allocations: 0 / 1.084 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.803e-05/0.3142, allocations: 151.3 kB / 1.084 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3142, allocations: 4 kB / 1.084 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001304/0.3155, allocations: 0.5661 MB / 1.085 GB, free: 8.805 MB / 0.8419 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002519/0.318, allocations: 0.9188 MB / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002484/0.3183, allocations: 283.9 kB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3183, allocations: 0 / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.3184, allocations: 181.6 kB / 1.086 GB, free: 7.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3186, allocations: 8.594 kB / 1.086 GB, free: 7.512 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3198, allocations: 0.9258 MB / 1.087 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3201, allocations: 0.8224 MB / 1.088 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 2.296e-05/0.3202, allocations: 4 kB / 1.088 GB, free: 5.707 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.3202, allocations: 11.44 kB / 1.088 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of SimCode: time 3.4e-07/0.3202, allocations: 0 / 1.088 GB, free: 5.695 MB / 0.8419 GB Notification: Performance of Templates: time 0.02064/0.3408, allocations: 12.23 MB / 1.1 GB, free: 9.508 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)