Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="Buildings_latest_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_latest_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.001429/0.001429, allocations: 100 kB / 15.05 MB, free: 1.105 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.002097/0.002098, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.619/2.619, allocations: 223.2 MB / 239.9 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.859/4.859, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005641/0.0005643, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456/1.456, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002371/1.459, allocations: 0.9788 MB / 0.9819 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0125/1.471, allocations: 4.113 MB / 0.9859 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.602e-05/1.472, allocations: 0 / 0.9859 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001235/1.472, allocations: 0 / 0.9859 GB, free: 1.184 MB / 0.7325 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‘. Notification: Performance of NFTyping.typeBindings: time 0.00721/1.479, allocations: 1.087 MB / 0.9869 GB, free: 100 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001462/1.479, allocations: 23.95 kB / 0.987 GB, free: 76 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.53e-05/1.479, allocations: 8 kB / 0.987 GB, free: 68 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/1.479, allocations: 3.938 kB / 0.987 GB, free: 64 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.45e-05/1.479, allocations: 4 kB / 0.987 GB, free: 60 kB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/1.479, allocations: 7.984 kB / 0.987 GB, free: 52 kB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/1.48, allocations: 0 / 0.987 GB, free: 52 kB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006825/1.486, allocations: 1.88 MB / 0.9888 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003411/1.487, allocations: 227.5 kB / 0.989 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001616/1.487, allocations: 81.45 kB / 0.9891 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.005139/1.492, allocations: 1.574 MB / 0.9906 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/1.492, allocations: 0 / 0.9906 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of FrontEnd: time 3.727e-06/1.492, allocations: 4 kB / 0.9907 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.199e-05/1.492, allocations: 0 / 0.9907 GB, free: 12.28 MB / 0.7481 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.004393/1.497, allocations: 1.215 MB / 0.9918 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 7.421e-05/1.497, allocations: 12.02 kB / 0.9918 GB, free: 11 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.752e-05/1.497, allocations: 30.56 kB / 0.9919 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/1.497, allocations: 43.44 kB / 0.9919 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001768/1.499, allocations: 0.6083 MB / 0.9925 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/1.499, allocations: 0 / 0.9925 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/1.499, allocations: 0 / 0.9925 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003997/1.499, allocations: 177.6 kB / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/1.499, allocations: 0 / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/1.499, allocations: 0 / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/1.499, allocations: 0 / 0.9927 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003841/1.5, allocations: 287.8 kB / 0.993 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001163/1.501, allocations: 0.5327 MB / 0.9935 GB, free: 9.23 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/1.501, allocations: 154.5 kB / 0.9936 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/1.501, allocations: 4 kB / 0.9936 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/1.501, allocations: 38.62 kB / 0.9937 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/1.501, allocations: 0 / 0.9937 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1): time 0.0009546/1.502, allocations: 496.9 kB / 0.9941 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/1.502, allocations: 51.41 kB / 0.9942 GB, free: 8.465 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/1.504, allocations: 0.702 MB / 0.9949 GB, free: 7.754 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/1.504, allocations: 25.7 kB / 0.9949 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/1.504, allocations: 228.1 kB / 0.9951 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/1.505, allocations: 4.031 kB / 0.9951 GB, free: 7.492 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/1.505, allocations: 4 kB / 0.9951 GB, free: 7.488 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0003382/1.505, allocations: 362.8 kB / 0.9955 GB, free: 7.125 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/1.505, allocations: 139.9 kB / 0.9956 GB, free: 6.988 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/1.505, allocations: 143.9 kB / 0.9957 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002318/1.506, allocations: 143.9 kB / 0.9959 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/1.506, allocations: 0 / 0.9959 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0008131/1.506, allocations: 360.9 kB / 0.9962 GB, free: 6.348 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/1.506, allocations: 8 kB / 0.9962 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/1.507, allocations: 4.094 kB / 0.9962 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/1.507, allocations: 0 / 0.9962 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/1.507, allocations: 7.938 kB / 0.9962 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/1.507, allocations: 0 / 0.9962 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003524/1.507, allocations: 32 kB / 0.9963 GB, free: 6.297 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/1.507, allocations: 0 / 0.9963 GB, free: 6.297 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004001/1.508, allocations: 201.8 kB / 0.9965 GB, free: 6.09 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/1.508, allocations: 43.44 kB / 0.9965 GB, free: 6.047 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007337/1.509, allocations: 377 kB / 0.9969 GB, free: 5.672 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/1.509, allocations: 4 kB / 0.9969 GB, free: 5.668 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/1.509, allocations: 3.953 kB / 0.9969 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/1.509, allocations: 3.938 kB / 0.9969 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008544/1.509, allocations: 441.5 kB / 0.9973 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-05/1.509, allocations: 4 kB / 0.9973 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.503e-06/1.509, allocations: 0 / 0.9973 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/1.509, allocations: 0 / 0.9973 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/1.51, allocations: 0 / 0.9973 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/1.51, allocations: 0 / 0.9973 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.51, allocations: 0 / 0.9973 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006702/1.51, allocations: 384.4 kB / 0.9977 GB, free: 4.781 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009324/1.511, allocations: 340.3 kB / 0.998 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002533/1.511, allocations: 0 / 0.998 GB, free: 4.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/1.512, allocations: 32 kB / 0.998 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/1.512, allocations: 0 / 0.998 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.176e-06/1.512, allocations: 0 / 0.998 GB, free: 4.398 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001176/1.513, allocations: 0.5416 MB / 0.9986 GB, free: 3.859 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.91e-07/1.513, allocations: 4.031 kB / 0.9986 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002803/1.516, allocations: 0.5699 MB / 0.9991 GB, free: 3.285 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006458/1.522, allocations: 1.728 MB / 1.001 GB, free: 1.633 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005554/1.523, allocations: 279.9 kB / 1.001 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/1.523, allocations: 0 / 1.001 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002744/1.523, allocations: 169.6 kB / 1.001 GB, free: 1.188 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007822/1.524, allocations: 30.31 kB / 1.001 GB, free: 1.156 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/1.536, allocations: 4.047 MB / 1.005 GB, free: 13.05 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008019/1.537, allocations: 0.8278 MB / 1.006 GB, free: 12.2 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.003049/1.54, allocations: 448.7 kB / 1.006 GB, free: 11.8 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/1.542, allocations: 383.2 kB / 1.007 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of SimCode: time 2.705e-06/1.542, allocations: 0 / 1.007 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09487/1.636, allocations: 24.79 MB / 1.031 GB, free: 2.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005276/1.637, allocations: 308.8 kB / 1.031 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.263/5.9, allocations: 6.781 kB / 1.031 GB, free: 2.512 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1) Environment - environmentSimulation: