Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, 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.00145/0.00145, allocations: 193.9 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.513/2.513, allocations: 469.8 MB / 0.7424 GB, free: 7.426 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001697, allocations: 75.38 kB / 0.9087 GB, free: 34.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2355, allocations: 159.1 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002118/0.2376, allocations: 1.267 MB / 1.065 GB, free: 12.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005982/0.2436, allocations: 4.489 MB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.779e-05/0.2437, allocations: 0 / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.18e-05/0.2437, allocations: 0 / 1.07 GB, free: 8.395 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 11.1.0-maint.11.x/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.002856/0.2466, allocations: 1.49 MB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.45e-05/0.2467, allocations: 39.89 kB / 1.071 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.989e-05/0.2467, allocations: 12 kB / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 2.718e-05/0.2467, allocations: 0 / 1.071 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.644e-05/0.2468, allocations: 7.938 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.087e-05/0.2468, allocations: 33.14 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.726e-06/0.2468, allocations: 0 / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.2496, allocations: 2.204 MB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001946/0.2498, allocations: 242.1 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000329/0.2501, allocations: 246.9 kB / 1.074 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.2524, allocations: 2.195 MB / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2525, allocations: 0 / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2525, allocations: 0 / 1.076 GB, free: 1.926 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2525, allocations: 0 / 1.076 GB, free: 1.926 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.001962/0.2544, allocations: 1.499 MB / 1.078 GB, free: 384 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.2545, allocations: 12.03 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.836e-05/0.2545, allocations: 30.75 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.2547, allocations: 44.38 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007791/0.2555, allocations: 0.6364 MB / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.235e-06/0.2555, allocations: 384 / 1.078 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.2555, allocations: 7.922 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/0.2557, allocations: 169.6 kB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.2557, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.11e-06/0.2557, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-06/0.2557, allocations: 0 / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2559, allocations: 279.9 kB / 1.079 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000568/0.2565, allocations: 0.5404 MB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.2566, allocations: 166.4 kB / 1.079 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.2568, allocations: 144.9 kB / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 9.017e-06/0.2568, allocations: 0 / 1.079 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.2568, allocations: 42.5 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=1): time 7.12e-07/0.2568, allocations: 0 / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1): time 0.0005565/0.2574, allocations: 489 kB / 1.08 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.2574, allocations: 55.53 kB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009025/0.2583, allocations: 0.6981 MB / 1.081 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.2583, allocations: 29.64 kB / 1.081 GB, free: 12.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001556/0.2585, allocations: 228.1 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.498e-05/0.2585, allocations: 0 / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.2586, allocations: 13.72 kB / 1.081 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.2587, allocations: 366.8 kB / 1.081 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.2588, allocations: 136 kB / 1.081 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001007/0.2589, allocations: 143.9 kB / 1.082 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.2592, allocations: 292.7 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2592, allocations: 0 / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004167/0.2596, allocations: 360.9 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.2596, allocations: 4 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.336e-06/0.2596, allocations: 3.938 kB / 1.082 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2596, allocations: 3.984 kB / 1.082 GB, free: 11.35 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.35e-05/0.2597, allocations: 7.938 kB / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.2597, allocations: 0 / 1.082 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001799/0.2599, allocations: 32.09 kB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.2599, allocations: 0 / 1.082 GB, free: 11.31 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 0.0001682/0.2601, allocations: 205.7 kB / 1.082 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.2602, allocations: 43.44 kB / 1.083 GB, free: 11.06 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003371/0.2606, allocations: 377 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2606, allocations: 4 kB / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.2606, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.2606, allocations: 0 / 1.083 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004048/0.261, allocations: 449.5 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.261, allocations: 0 / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.261, allocations: 0 / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.261, allocations: 0 / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.248e-06/0.261, allocations: 0 / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.261, allocations: 4 kB / 1.083 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2611, allocations: 3.938 kB / 1.083 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.2615, allocations: 380.4 kB / 1.084 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.2619, allocations: 344.3 kB / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/0.262, allocations: 0 / 1.084 GB, free: 9.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.2622, allocations: 28 kB / 1.084 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.379e-05/0.2622, allocations: 4 kB / 1.084 GB, free: 9.406 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.2623, allocations: 3.984 kB / 1.084 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007021/0.263, allocations: 0.53 MB / 1.085 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.263, allocations: 0 / 1.085 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001076/0.2641, allocations: 0.5661 MB / 1.085 GB, free: 8.309 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.002741/0.2668, allocations: 1.753 MB / 1.087 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.2671, allocations: 287.9 kB / 1.087 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2671, allocations: 0 / 1.087 GB, free: 6.348 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.2672, allocations: 169.7 kB / 1.087 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.2675, allocations: 34.3 kB / 1.087 GB, free: 6.145 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008426/0.2759, allocations: 7.42 MB / 1.095 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.2764, allocations: 0.8158 MB / 1.095 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001201/0.2776, allocations: 452 kB / 1.096 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006412/0.2782, allocations: 375.2 kB / 1.096 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.2782, allocations: 0 / 1.096 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.964/5.242, allocations: 25.6 MB / 1.121 GB, free: 3.609 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.41/19.65, allocations: 15.75 kB / 1.121 GB, free: 3.598 MB / 0.8731 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)