Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001728/0.001729, 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.002168/0.002168, allocations: 192.6 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.385/1.385, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 63.91 kB / 0.8127 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7794/0.7808, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002148/0.783, allocations: 1.252 MB / 0.951 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004313/0.7873, allocations: 3.298 MB / 0.9542 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.791e-05/0.7873, allocations: 1.094 kB / 0.9542 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.7874, allocations: 0 / 0.9542 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002694/0.7901, allocations: 0.9956 MB / 0.9552 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000106/0.7902, allocations: 42.42 kB / 0.9552 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.973e-05/0.7903, allocations: 20.11 kB / 0.9552 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.71e-05/0.7904, allocations: 0.8438 kB / 0.9552 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.312e-05/0.7904, allocations: 4.75 kB / 0.9552 GB, free: 5.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.71e-05/0.7905, allocations: 19.44 kB / 0.9553 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.7905, allocations: 0 / 0.9553 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.7926, allocations: 1.411 MB / 0.9566 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.7928, allocations: 243.5 kB / 0.9569 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003319/0.7931, allocations: 248.6 kB / 0.9571 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001748/0.7949, allocations: 1.54 MB / 0.9586 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7949, allocations: 1.125 kB / 0.9586 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.393e-06/0.7949, allocations: 0 / 0.9586 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.7949, allocations: 0 / 0.9586 GB, free: 3.238 MB / 0.7169 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.001845/0.7968, allocations: 1.394 MB / 0.96 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.7968, allocations: 14.12 kB / 0.96 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.736e-05/0.7969, allocations: 34.73 kB / 0.96 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.7971, allocations: 43.62 kB / 0.9601 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007357/0.7978, allocations: 0.624 MB / 0.9607 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.7978, allocations: 4.375 kB / 0.9607 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.7979, allocations: 5.156 kB / 0.9607 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002228/0.7981, allocations: 172.4 kB / 0.9608 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.7981, allocations: 0 / 0.9608 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.7981, allocations: 0 / 0.9608 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.7981, allocations: 0 / 0.9608 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.7984, allocations: 283 kB / 0.9611 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.7991, allocations: 0.5311 MB / 0.9616 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.7993, allocations: 169 kB / 0.9618 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000164/0.7995, allocations: 142.3 kB / 0.9619 GB, free: 1.305 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.7995, allocations: 5.141 kB / 0.9619 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.7995, allocations: 35.5 kB / 0.962 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.7995, allocations: 0 / 0.962 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0008102/0.8004, allocations: 494.1 kB / 0.9624 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.8004, allocations: 52.84 kB / 0.9625 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.8015, allocations: 0.6917 MB / 0.9632 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.8015, allocations: 31.27 kB / 0.9632 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.8017, allocations: 222.7 kB / 0.9634 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.362e-05/0.8017, allocations: 7.891 kB / 0.9634 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.8017, allocations: 12.62 kB / 0.9634 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.8018, allocations: 362.4 kB / 0.9638 GB, free: 188 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.8019, allocations: 141.2 kB / 0.9639 GB, free: 172 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.8021, allocations: 141.5 kB / 0.964 GB, free: 156 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.8023, allocations: 292.7 kB / 0.9643 GB, free: 112 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.8023, allocations: 0 / 0.9643 GB, free: 112 kB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004663/0.8028, allocations: 362.4 kB / 0.9647 GB, free: 16 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.8028, allocations: 6.375 kB / 0.9647 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8028, allocations: 0 / 0.9647 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.8029, allocations: 5 kB / 0.9647 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.8029, allocations: 1.125 kB / 0.9647 GB, free: 12 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.8029, allocations: 9.094 kB / 0.9647 GB, free: 4 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.8032, allocations: 32.66 kB / 0.9647 GB, free: 0 / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.8032, allocations: 1.203 kB / 0.9647 GB, free: 16 MB / 0.7325 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.0001936/0.8034, allocations: 210 kB / 0.9649 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002055/0.8036, allocations: 43.34 kB / 0.965 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.8041, allocations: 379 kB / 0.9653 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8041, allocations: 0 / 0.9653 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.8041, allocations: 0 / 0.9653 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.8041, allocations: 1.406 kB / 0.9653 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.8048, allocations: 440 kB / 0.9657 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.8048, allocations: 13.52 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.8048, allocations: 0 / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.8048, allocations: 0 / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.8049, allocations: 1.312 kB / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8049, allocations: 0 / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.8049, allocations: 0 / 0.9658 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005866/0.8055, allocations: 383.2 kB / 0.9661 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004769/0.806, allocations: 329.2 kB / 0.9664 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.8061, allocations: 4.031 kB / 0.9664 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.8063, allocations: 29 kB / 0.9665 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/0.8064, allocations: 5.297 kB / 0.9665 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.561e-06/0.8064, allocations: 5.5 kB / 0.9665 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007941/0.8072, allocations: 0.5288 MB / 0.967 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8072, allocations: 0 / 0.967 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001301/0.8085, allocations: 376.4 kB / 0.9673 GB, free: 14.74 MB / 0.7325 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.002355/0.8108, allocations: 1.536 MB / 0.9688 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002734/0.8111, allocations: 288.4 kB / 0.9691 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.8111, allocations: 4 kB / 0.9691 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.8113, allocations: 161.7 kB / 0.9693 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.8117, allocations: 34.3 kB / 0.9693 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008833/0.8205, allocations: 7.325 MB / 0.9765 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.821, allocations: 0.8197 MB / 0.9773 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001315/0.8223, allocations: 432.8 kB / 0.9777 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007138/0.823, allocations: 363.2 kB / 0.978 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of SimCode: time 7.81e-07/0.823, allocations: 0 / 0.978 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04652/0.8696, allocations: 21.36 MB / 0.9989 GB, free: 15.32 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.274/9.143, allocations: 16.28 kB / 0.9989 GB, free: 15.3 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)