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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_10_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_10_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.008488/0.008488, allocations: 98.2 kB / 15.73 MB, free: 6.004 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.001965/0.001965, allocations: 190.9 kB / 16.67 MB, free: 5.934 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.432/1.432, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.642/2.642, allocations: 437.1 MB / 0.7105 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002938/0.002938, allocations: 67.89 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3234/0.3264, allocations: 151.6 MB / 1.166 GB, free: 7.258 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002404/0.3289, allocations: 1.262 MB / 1.167 GB, free: 5.984 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.007105/0.336, allocations: 4.492 MB / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.336, allocations: 0 / 1.172 GB, free: 1.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 6.46e-05/0.3362, allocations: 0 / 1.172 GB, free: 1.469 MB / 0.92 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 10.1.1-maint.10.0.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.004519/0.3407, allocations: 1.504 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001016/0.3408, allocations: 39.73 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.646e-05/0.3409, allocations: 11.94 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.3409, allocations: 3.984 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.777e-05/0.341, allocations: 11.98 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.637e-05/0.341, allocations: 21.28 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.029e-05/0.341, allocations: 0 / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004038/0.3451, allocations: 2.278 MB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.3454, allocations: 242.1 kB / 1.176 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003724/0.3458, allocations: 246.9 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.3494, allocations: 2.213 MB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3494, allocations: 0 / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.114e-06/0.3494, allocations: 3.938 kB / 1.178 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3494, allocations: 0 / 1.178 GB, free: 10.89 MB / 0.9356 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.00252/0.352, allocations: 1.53 MB / 1.18 GB, free: 9.309 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.352, allocations: 12.03 kB / 1.18 GB, free: 9.297 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.3521, allocations: 34.73 kB / 1.18 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.3523, allocations: 44.66 kB / 1.18 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/0.3532, allocations: 0.6408 MB / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3532, allocations: 384 / 1.18 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-06/0.3532, allocations: 3.938 kB / 1.18 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.3534, allocations: 165.6 kB / 1.181 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3535, allocations: 4 kB / 1.181 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.3535, allocations: 0 / 1.181 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3535, allocations: 0 / 1.181 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.3537, allocations: 283.8 kB / 1.181 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006563/0.3544, allocations: 0.5366 MB / 1.181 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001559/0.3546, allocations: 162.5 kB / 1.182 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001318/0.3547, allocations: 140.9 kB / 1.182 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.3547, allocations: 3.984 kB / 1.182 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.3548, allocations: 38.56 kB / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.163e-06/0.3548, allocations: 0 / 1.182 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0006559/0.3554, allocations: 497.2 kB / 1.182 GB, free: 6.637 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3555, allocations: 51.41 kB / 1.182 GB, free: 6.574 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.3565, allocations: 0.6981 MB / 1.183 GB, free: 5.863 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3565, allocations: 25.7 kB / 1.183 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001976/0.3567, allocations: 224.1 kB / 1.183 GB, free: 5.609 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.3568, allocations: 11.88 kB / 1.183 GB, free: 5.598 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.345e-05/0.3568, allocations: 13.72 kB / 1.183 GB, free: 5.578 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002425/0.3571, allocations: 358.8 kB / 1.184 GB, free: 5.219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001227/0.3572, allocations: 148.1 kB / 1.184 GB, free: 5.074 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3573, allocations: 143.9 kB / 1.184 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002589/0.3576, allocations: 288.8 kB / 1.184 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3576, allocations: 0 / 1.184 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004738/0.3581, allocations: 369.1 kB / 1.184 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3581, allocations: 4 kB / 1.184 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3581, allocations: 0 / 1.184 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3581, allocations: 0 / 1.184 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.3582, allocations: 0 / 1.184 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3582, allocations: 12.03 kB / 1.184 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.3584, allocations: 31.98 kB / 1.184 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3584, allocations: 0 / 1.184 GB, free: 4.234 MB / 0.9356 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.0001979/0.3587, allocations: 205.7 kB / 1.185 GB, free: 4.023 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/0.3588, allocations: 43.72 kB / 1.185 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.3592, allocations: 377 kB / 1.185 GB, free: 3.602 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.964e-06/0.3593, allocations: 11.92 kB / 1.185 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3593, allocations: 0 / 1.185 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3593, allocations: 4.031 kB / 1.185 GB, free: 3.586 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.3597, allocations: 441.5 kB / 1.186 GB, free: 3.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.3597, allocations: 3.984 kB / 1.186 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.3598, allocations: 0 / 1.186 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3598, allocations: 0 / 1.186 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.3598, allocations: 0 / 1.186 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3598, allocations: 0 / 1.186 GB, free: 3.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3598, allocations: 4 kB / 1.186 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004697/0.3603, allocations: 388.6 kB / 1.186 GB, free: 2.699 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003878/0.3606, allocations: 336.5 kB / 1.186 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.3608, allocations: 4 kB / 1.186 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.361, allocations: 32 kB / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.08e-05/0.361, allocations: 0 / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.361, allocations: 0 / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008002/0.3618, allocations: 0.5338 MB / 1.187 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3618, allocations: 0 / 1.187 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001505/0.3634, allocations: 0.5726 MB / 1.187 GB, free: 1.211 MB / 0.9356 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.00325/0.3666, allocations: 1.756 MB / 1.189 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.3669, allocations: 287.9 kB / 1.189 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.367, allocations: 0 / 1.189 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.3671, allocations: 173.6 kB / 1.189 GB, free: 15.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.3674, allocations: 30.31 kB / 1.19 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/0.3769, allocations: 7.195 MB / 1.197 GB, free: 7.766 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005081/0.3775, allocations: 0.8197 MB / 1.197 GB, free: 6.918 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001044/0.3785, allocations: 445.8 kB / 1.198 GB, free: 6.52 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/0.3792, allocations: 375.2 kB / 1.198 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of SimCode: time 8.41e-07/0.3792, allocations: 0 / 1.198 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05779/0.437, allocations: 25.76 MB / 1.223 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.303/9.74, allocations: 14.45 kB / 1.223 GB, free: 12.61 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)