Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildingSystems_BuildingSystems_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.005695/0.005696, allocations: 98.92 kB / 15.73 MB, free: 6.055 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.001538/0.001539, allocations: 202.2 kB / 16.68 MB, free: 5.977 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.372/1.372, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002497/0.002497, allocations: 286.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.057/1.057, allocations: 178.6 MB / 0.5074 GB, free: 4.484 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002662/0.002662, allocations: 100.5 kB / 0.6943 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4428, allocations: 89.13 MB / 0.7814 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00226/0.4451, allocations: 1.257 MB / 0.7826 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006971/0.4521, allocations: 4.48 MB / 0.787 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.613e-05/0.4521, allocations: 0 / 0.787 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.838e-05/0.4523, allocations: 0.6094 kB / 0.787 GB, free: 9.969 MB / 0.5606 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/BuildingSystems 2.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.004834/0.4571, allocations: 1.507 MB / 0.7885 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001239/0.4572, allocations: 36.27 kB / 0.7885 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.234e-05/0.4573, allocations: 12.78 kB / 0.7885 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.4574, allocations: 6.297 kB / 0.7885 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.678e-05/0.4574, allocations: 6.062 kB / 0.7885 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.818e-05/0.4575, allocations: 19.53 kB / 0.7885 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.4575, allocations: 0 / 0.7885 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004798/0.4623, allocations: 2.282 MB / 0.7908 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.4625, allocations: 241.2 kB / 0.791 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003696/0.4629, allocations: 244.2 kB / 0.7912 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004169/0.4671, allocations: 2.216 MB / 0.7934 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4671, allocations: 0 / 0.7934 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4671, allocations: 0 / 0.7934 GB, free: 7.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.4671, allocations: 1.375 kB / 0.7934 GB, free: 7.656 MB / 0.5606 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.002688/0.4698, allocations: 1.532 MB / 0.7949 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4699, allocations: 9.156 kB / 0.7949 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.802e-05/0.4699, allocations: 30.75 kB / 0.7949 GB, free: 6.562 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002023/0.4701, allocations: 45.16 kB / 0.795 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/0.471, allocations: 0.6406 MB / 0.7956 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.471, allocations: 4.375 kB / 0.7956 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.559e-05/0.471, allocations: 5.375 kB / 0.7956 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002087/0.4712, allocations: 171.8 kB / 0.7958 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.4713, allocations: 0 / 0.7958 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.4713, allocations: 0 / 0.7958 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4713, allocations: 1.219 kB / 0.7958 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000213/0.4715, allocations: 277.1 kB / 0.796 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007144/0.4722, allocations: 0.5363 MB / 0.7966 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.4724, allocations: 165.3 kB / 0.7967 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001185/0.4725, allocations: 146.2 kB / 0.7968 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.402e-06/0.4725, allocations: 1.469 kB / 0.7968 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.4725, allocations: 34.5 kB / 0.7969 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.4726, allocations: 0 / 0.7969 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0006186/0.4732, allocations: 495.2 kB / 0.7974 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.4732, allocations: 51.53 kB / 0.7974 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.4742, allocations: 0.6979 MB / 0.7981 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.4743, allocations: 25.7 kB / 0.7981 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.4745, allocations: 228.1 kB / 0.7983 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/0.4745, allocations: 3.953 kB / 0.7983 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.4745, allocations: 15.59 kB / 0.7983 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.4747, allocations: 366.8 kB / 0.7987 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.4748, allocations: 141.3 kB / 0.7988 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001118/0.4749, allocations: 145 kB / 0.799 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.4752, allocations: 289.4 kB / 0.7992 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4752, allocations: 0 / 0.7992 GB, free: 4.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0004691/0.4757, allocations: 358.8 kB / 0.7996 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.4757, allocations: 6.688 kB / 0.7996 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4757, allocations: 0 / 0.7996 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4757, allocations: 0 / 0.7996 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.4758, allocations: 3.719 kB / 0.7996 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4758, allocations: 7.875 kB / 0.7996 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.476, allocations: 34.72 kB / 0.7996 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.476, allocations: 0 / 0.7996 GB, free: 4.324 MB / 0.5606 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.0001877/0.4762, allocations: 215.7 kB / 0.7998 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.4764, allocations: 46.55 kB / 0.7999 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.4768, allocations: 378.5 kB / 0.8002 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4768, allocations: 0.9688 kB / 0.8002 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4768, allocations: 0 / 0.8002 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.4768, allocations: 1.125 kB / 0.8003 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.4773, allocations: 437.8 kB / 0.8007 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4773, allocations: 4.031 kB / 0.8007 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.4773, allocations: 0 / 0.8007 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.4773, allocations: 0 / 0.8007 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.4773, allocations: 3.938 kB / 0.8007 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4773, allocations: 0 / 0.8007 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4773, allocations: 0 / 0.8007 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004503/0.4778, allocations: 389.2 kB / 0.801 GB, free: 3.652 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004077/0.4782, allocations: 349.3 kB / 0.8014 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.4783, allocations: 5.219 kB / 0.8014 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.4785, allocations: 28.06 kB / 0.8014 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.4786, allocations: 1.312 kB / 0.8014 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.4786, allocations: 1.406 kB / 0.8014 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0007666/0.4793, allocations: 0.5296 MB / 0.8019 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4794, allocations: 0 / 0.8019 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00205/0.4814, allocations: 0.5755 MB / 0.8025 GB, free: 3.008 MB / 0.5606 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.00368/0.4851, allocations: 1.761 MB / 0.8042 GB, free: 2.012 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002996/0.4854, allocations: 289.7 kB / 0.8045 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4854, allocations: 4.062 kB / 0.8045 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.4856, allocations: 168.6 kB / 0.8047 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.4861, allocations: 32.75 kB / 0.8047 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.4961, allocations: 7.182 MB / 0.8117 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.4967, allocations: 0.8153 MB / 0.8125 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001086/0.4978, allocations: 452.6 kB / 0.8129 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007515/0.4985, allocations: 374 kB / 0.8133 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.4985, allocations: 0 / 0.8133 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05964/0.5582, allocations: 25.79 MB / 0.8385 GB, free: 4.742 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.089/9.647, allocations: 10.92 kB / 0.8385 GB, free: 4.738 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)