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.00138/0.00138, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001899/0.001899, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 223.2 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.491/2.491, allocations: 409.4 MB / 0.684 GB, free: 1.043 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003308/0.0003308, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.731/0.7313, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001374/0.7327, allocations: 0.9808 MB / 0.9821 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005916/0.7387, allocations: 4.176 MB / 0.9862 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.682e-05/0.7387, allocations: 0 / 0.9862 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.298e-05/0.7388, allocations: 0 / 0.9862 GB, free: 1.098 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.003296/0.7421, allocations: 1.134 MB / 0.9873 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 7.243e-05/0.7422, allocations: 23.97 kB / 0.9873 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 5.863e-05/0.7423, allocations: 27.91 kB / 0.9874 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 4.161e-05/0.7423, allocations: 4 kB / 0.9874 GB, free: 15.91 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 2.369e-05/0.7423, allocations: 7.984 kB / 0.9874 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 8.752e-05/0.7424, allocations: 63.91 kB / 0.9874 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.7424, allocations: 0 / 0.9874 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002982/0.7454, allocations: 1.985 MB / 0.9894 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.7457, allocations: 263.5 kB / 0.9896 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.7458, allocations: 81.45 kB / 0.9897 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002014/0.7478, allocations: 1.566 MB / 0.9912 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.7478, allocations: 0 / 0.9912 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7478, allocations: 4 kB / 0.9912 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.344e-05/0.7478, allocations: 0 / 0.9912 GB, free: 11.94 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.002086/0.7499, allocations: 1.219 MB / 0.9924 GB, free: 10.67 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.75, allocations: 8.031 kB / 0.9924 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.75, allocations: 30.56 kB / 0.9925 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.7501, allocations: 43.44 kB / 0.9925 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007377/0.7509, allocations: 0.6122 MB / 0.9931 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.7509, allocations: 0 / 0.9931 GB, free: 9.926 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.305e-06/0.7509, allocations: 3.938 kB / 0.9931 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.7511, allocations: 173.6 kB / 0.9933 GB, free: 9.746 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.7511, allocations: 4 kB / 0.9933 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.7511, allocations: 0 / 0.9933 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.7511, allocations: 0 / 0.9933 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.7513, allocations: 283.8 kB / 0.9935 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005534/0.7519, allocations: 0.5365 MB / 0.9941 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.752, allocations: 150.5 kB / 0.9942 GB, free: 8.723 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.7522, allocations: 152.9 kB / 0.9944 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.7522, allocations: 0 / 0.9944 GB, free: 8.57 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.7522, allocations: 34.56 kB / 0.9944 GB, free: 8.527 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.7522, allocations: 3.938 kB / 0.9944 GB, free: 8.523 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1): time 0.0004949/0.7527, allocations: 0.4891 MB / 0.9949 GB, free: 8.027 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.7527, allocations: 51.41 kB / 0.9949 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/0.7536, allocations: 0.6981 MB / 0.9956 GB, free: 7.258 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.7536, allocations: 25.7 kB / 0.9956 GB, free: 7.227 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001513/0.7538, allocations: 228.1 kB / 0.9958 GB, free: 7 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.7538, allocations: 4.031 kB / 0.9959 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-06/0.7538, allocations: 4 kB / 0.9959 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.754, allocations: 366.8 kB / 0.9962 GB, free: 6.625 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.771e-05/0.7541, allocations: 136 kB / 0.9963 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.986e-05/0.7542, allocations: 143.9 kB / 0.9965 GB, free: 6.352 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.7543, allocations: 139.9 kB / 0.9966 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.7543, allocations: 0 / 0.9966 GB, free: 6.215 MB / 0.7481 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0003441/0.7546, allocations: 365 kB / 0.997 GB, free: 5.852 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7547, allocations: 4 kB / 0.997 GB, free: 5.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7547, allocations: 4.094 kB / 0.997 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.7547, allocations: 3.953 kB / 0.997 GB, free: 5.84 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.812e-05/0.7548, allocations: 4 kB / 0.997 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.7548, allocations: 0 / 0.997 GB, free: 5.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.755, allocations: 28 kB / 0.997 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.755, allocations: 0 / 0.997 GB, free: 5.809 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.0001622/0.7551, allocations: 205.8 kB / 0.9972 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.686e-05/0.7553, allocations: 47.44 kB / 0.9972 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003274/0.7556, allocations: 384.9 kB / 0.9976 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.7556, allocations: 0 / 0.9976 GB, free: 5.168 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.7556, allocations: 3.953 kB / 0.9976 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7556, allocations: 0 / 0.9976 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000368/0.756, allocations: 437.5 kB / 0.998 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/0.756, allocations: 0 / 0.998 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.756, allocations: 0 / 0.998 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.756, allocations: 0 / 0.998 GB, free: 4.688 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.756, allocations: 3.938 kB / 0.998 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.756, allocations: 4 kB / 0.998 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.756, allocations: 0 / 0.998 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.7564, allocations: 384.4 kB / 0.9984 GB, free: 4.285 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003335/0.7567, allocations: 336.3 kB / 0.9987 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001467/0.7569, allocations: 7.922 kB / 0.9987 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001913/0.7571, allocations: 28 kB / 0.9988 GB, free: 3.902 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.716e-05/0.7571, allocations: 3.984 kB / 0.9988 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.7571, allocations: 0 / 0.9988 GB, free: 3.898 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007387/0.7579, allocations: 0.5416 MB / 0.9993 GB, free: 3.359 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.272e-06/0.7579, allocations: 4.031 kB / 0.9993 GB, free: 3.355 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001539/0.7594, allocations: 0.5661 MB / 0.9998 GB, free: 2.789 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.003834/0.7632, allocations: 1.726 MB / 1.002 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003759/0.7637, allocations: 283.9 kB / 1.002 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.7637, allocations: 0 / 1.002 GB, free: 0.8633 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.7639, allocations: 173.6 kB / 1.002 GB, free: 0.6875 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.7645, allocations: 26.31 kB / 1.002 GB, free: 0.6602 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/0.7711, allocations: 4.139 MB / 1.006 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/0.7715, allocations: 0.82 MB / 1.007 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001348/0.7729, allocations: 449.9 kB / 1.007 GB, free: 11.22 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006876/0.7736, allocations: 375.2 kB / 1.008 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of SimCode: time 1.443e-06/0.7736, allocations: 0 / 1.008 GB, free: 10.85 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04526/0.8189, allocations: 24.81 MB / 1.032 GB, free: 2.297 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/0.8192, allocations: 309.2 kB / 1.032 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.406, allocations: 2.922 kB / 1.032 GB, free: 1.941 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: