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.005564/0.005565, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001304/0.001304, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00254/0.00254, allocations: 271.1 kB / 290.8 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.002/1.002, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 100.2 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1569, allocations: 86.97 MB / 0.7659 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.00226/0.1592, allocations: 1.252 MB / 0.7672 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006771/0.166, allocations: 4.481 MB / 0.7715 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.1661, allocations: 7.938 kB / 0.7716 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.1662, allocations: 4 kB / 0.7716 GB, free: 3.129 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.003947/0.1701, allocations: 1.5 MB / 0.773 GB, free: 1.625 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 9.53e-05/0.1702, allocations: 35.91 kB / 0.7731 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.1703, allocations: 15.92 kB / 0.7731 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.234e-05/0.1703, allocations: 0 / 0.7731 GB, free: 1.574 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.451e-05/0.1704, allocations: 7.984 kB / 0.7731 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.119e-05/0.1704, allocations: 21.28 kB / 0.7731 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.766e-06/0.1704, allocations: 0 / 0.7731 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.303/0.4735, allocations: 2.275 MB / 0.7753 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.4738, allocations: 243.4 kB / 0.7756 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000279/0.4741, allocations: 248.9 kB / 0.7758 GB, free: 8.875 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.4775, allocations: 2.202 MB / 0.7779 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4775, allocations: 0 / 0.7779 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.744e-06/0.4775, allocations: 0 / 0.7779 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.4775, allocations: 5.531 kB / 0.7779 GB, free: 8.711 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.00213/0.4797, allocations: 1.534 MB / 0.7794 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.4797, allocations: 9.562 kB / 0.7795 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.995e-05/0.4797, allocations: 34.53 kB / 0.7795 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.4799, allocations: 45.5 kB / 0.7795 GB, free: 7.871 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006605/0.4806, allocations: 0.6402 MB / 0.7802 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.4806, allocations: 0.75 kB / 0.7802 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-06/0.4806, allocations: 1.25 kB / 0.7802 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4808, allocations: 174.1 kB / 0.7803 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-06/0.4808, allocations: 0.875 kB / 0.7803 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-06/0.4808, allocations: 0 / 0.7803 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4809, allocations: 1.125 kB / 0.7803 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.4811, allocations: 281.6 kB / 0.7806 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005734/0.4817, allocations: 0.5413 MB / 0.7811 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.4818, allocations: 156.4 kB / 0.7813 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.4819, allocations: 146.8 kB / 0.7814 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-06/0.4819, allocations: 5.312 kB / 0.7814 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.595e-05/0.4819, allocations: 32.75 kB / 0.7814 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.482, allocations: 0.625 kB / 0.7814 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0005106/0.4825, allocations: 0.4904 MB / 0.7819 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.4825, allocations: 52.16 kB / 0.782 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007423/0.4832, allocations: 0.6916 MB / 0.7827 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-06/0.4833, allocations: 26.58 kB / 0.7827 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4834, allocations: 228.7 kB / 0.7829 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.4834, allocations: 6.672 kB / 0.7829 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.4834, allocations: 16.06 kB / 0.7829 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/0.4835, allocations: 365.5 kB / 0.7833 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.605e-05/0.4836, allocations: 140.4 kB / 0.7834 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.731e-05/0.4837, allocations: 143.2 kB / 0.7835 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001688/0.4838, allocations: 289.1 kB / 0.7838 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4838, allocations: 0 / 0.7838 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003578/0.4842, allocations: 363.3 kB / 0.7842 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.4842, allocations: 5.656 kB / 0.7842 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4842, allocations: 0.6562 kB / 0.7842 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.4843, allocations: 0 / 0.7842 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.072e-05/0.4843, allocations: 3.5 kB / 0.7842 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.4843, allocations: 0.625 kB / 0.7842 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002086/0.4845, allocations: 28.88 kB / 0.7842 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.4845, allocations: 5.312 kB / 0.7842 GB, free: 6.547 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.0001322/0.4847, allocations: 207.4 kB / 0.7844 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.4849, allocations: 50.55 kB / 0.7844 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.4852, allocations: 375.8 kB / 0.7848 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.4852, allocations: 2.531 kB / 0.7848 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.4852, allocations: 0.5625 kB / 0.7848 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.4852, allocations: 4.75 kB / 0.7848 GB, free: 6.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.4856, allocations: 440.6 kB / 0.7852 GB, free: 6.176 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.4856, allocations: 6.375 kB / 0.7852 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.4856, allocations: 0 / 0.7852 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.4856, allocations: 0.7031 kB / 0.7852 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.4856, allocations: 3.938 kB / 0.7852 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4856, allocations: 4.031 kB / 0.7852 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4856, allocations: 2.547 kB / 0.7852 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/0.486, allocations: 382.9 kB / 0.7856 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.4864, allocations: 346.4 kB / 0.7859 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.4865, allocations: 0.5625 kB / 0.7859 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.4868, allocations: 32.03 kB / 0.786 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.073e-05/0.4868, allocations: 0.7031 kB / 0.786 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.4868, allocations: 0 / 0.786 GB, free: 5.953 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0006169/0.4874, allocations: 0.5356 MB / 0.7865 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4874, allocations: 3.219 kB / 0.7865 GB, free: 5.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001912/0.4893, allocations: 0.5747 MB / 0.7871 GB, free: 5.766 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.002795/0.4921, allocations: 1.76 MB / 0.7888 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.4924, allocations: 281.3 kB / 0.789 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4924, allocations: 1.062 kB / 0.7891 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.4926, allocations: 169.7 kB / 0.7892 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.493, allocations: 41.84 kB / 0.7893 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009057/0.502, allocations: 7.178 MB / 0.7963 GB, free: 19.23 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.5025, allocations: 0.818 MB / 0.7971 GB, free: 18.53 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008835/0.5034, allocations: 453.6 kB / 0.7975 GB, free: 18.41 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/0.504, allocations: 377 kB / 0.7979 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of SimCode: time 5.41e-07/0.504, allocations: 0 / 0.7979 GB, free: 18.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05566/0.5597, allocations: 25.77 MB / 0.823 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.497/10.06, allocations: 14.38 kB / 0.823 GB, free: 8.27 MB / 0.5762 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)