Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.005043/0.005043, allocations: 99.34 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.001355/0.001355, allocations: 196 kB / 16.67 MB, free: 5.961 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.022/1.022, allocations: 143.3 MB / 433.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 71.88 kB / 0.5954 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3868/0.3888, allocations: 82.02 MB / 0.6755 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001894/0.3907, allocations: 1.239 MB / 0.6767 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006933/0.3976, allocations: 4.498 MB / 0.6811 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.514e-05/0.3977, allocations: 1.094 kB / 0.6811 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.604e-05/0.3978, allocations: 0 / 0.6811 GB, free: 12.48 MB / 0.5137 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/BuildSysPro 3.6.0-master/IBPSA/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.004332/0.4021, allocations: 1.498 MB / 0.6825 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.4022, allocations: 34.59 kB / 0.6826 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.471e-05/0.4023, allocations: 15.23 kB / 0.6826 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.111e-05/0.4024, allocations: 1.375 kB / 0.6826 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.276e-05/0.4024, allocations: 13.08 kB / 0.6826 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.4024, allocations: 23.81 kB / 0.6826 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.4025, allocations: 0 / 0.6826 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003939/0.4064, allocations: 2.28 MB / 0.6848 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002226/0.4067, allocations: 239.1 kB / 0.6851 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.407, allocations: 246.1 kB / 0.6853 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003815/0.4109, allocations: 2.21 MB / 0.6875 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.696e-06/0.4109, allocations: 4 kB / 0.6875 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4109, allocations: 0 / 0.6875 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.4109, allocations: 0 / 0.6875 GB, free: 8.848 MB / 0.5137 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.0026/0.4135, allocations: 1.549 MB / 0.689 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.4136, allocations: 12.78 kB / 0.689 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.056e-05/0.4136, allocations: 32.19 kB / 0.689 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.4138, allocations: 46.97 kB / 0.6891 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008345/0.4147, allocations: 0.6532 MB / 0.6897 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.4147, allocations: 384 / 0.6897 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.4147, allocations: 9.625 kB / 0.6897 GB, free: 7.23 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.4149, allocations: 167.5 kB / 0.6899 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.4149, allocations: 0 / 0.6899 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.4149, allocations: 6.844 kB / 0.6899 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4149, allocations: 0 / 0.6899 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.4152, allocations: 280.4 kB / 0.6901 GB, free: 7 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007347/0.4159, allocations: 0.5327 MB / 0.6907 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.4161, allocations: 166.4 kB / 0.6908 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.4162, allocations: 156.8 kB / 0.691 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.4163, allocations: 0 / 0.691 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.4163, allocations: 34.56 kB / 0.691 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.4163, allocations: 0 / 0.691 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0006609/0.417, allocations: 493.2 kB / 0.6915 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.417, allocations: 51.41 kB / 0.6915 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.4181, allocations: 0.6981 MB / 0.6922 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4181, allocations: 29.83 kB / 0.6922 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001822/0.4183, allocations: 228.1 kB / 0.6925 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.379e-05/0.4183, allocations: 7.953 kB / 0.6925 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.4183, allocations: 13.72 kB / 0.6925 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001942/0.4185, allocations: 366.8 kB / 0.6928 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.4187, allocations: 139.9 kB / 0.693 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.4188, allocations: 136 kB / 0.6931 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.4191, allocations: 292.8 kB / 0.6934 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4191, allocations: 0 / 0.6934 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0005086/0.4196, allocations: 361.2 kB / 0.6937 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.4196, allocations: 10.33 kB / 0.6937 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4196, allocations: 0 / 0.6937 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4196, allocations: 0 / 0.6937 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.4197, allocations: 4 kB / 0.6937 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.4197, allocations: 0 / 0.6937 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.42, allocations: 31.95 kB / 0.6938 GB, free: 3.168 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.099e-05/0.42, allocations: 7.922 kB / 0.6938 GB, free: 3.16 MB / 0.5137 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.0002083/0.4202, allocations: 213.7 kB / 0.694 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.4204, allocations: 47.7 kB / 0.694 GB, free: 2.895 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004198/0.4208, allocations: 373 kB / 0.6944 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4208, allocations: 0 / 0.6944 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4208, allocations: 0 / 0.6944 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4208, allocations: 3.984 kB / 0.6944 GB, free: 2.52 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004786/0.4213, allocations: 441.4 kB / 0.6948 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.4213, allocations: 0 / 0.6948 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.4213, allocations: 0 / 0.6948 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.4214, allocations: 8.031 kB / 0.6948 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.4214, allocations: 0 / 0.6948 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.4214, allocations: 0 / 0.6948 GB, free: 2.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.4214, allocations: 4 kB / 0.6948 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005014/0.4219, allocations: 384.6 kB / 0.6952 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004215/0.4223, allocations: 356.5 kB / 0.6955 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.4225, allocations: 4 kB / 0.6955 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.4227, allocations: 28.03 kB / 0.6955 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.059e-05/0.4227, allocations: 4 kB / 0.6955 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.4227, allocations: 3.938 kB / 0.6956 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000823/0.4235, allocations: 0.5378 MB / 0.6961 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4235, allocations: 0 / 0.6961 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001766/0.4253, allocations: 0.5764 MB / 0.6966 GB, free: 116 kB / 0.5137 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.003712/0.429, allocations: 1.751 MB / 0.6983 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003243/0.4294, allocations: 283.9 kB / 0.6986 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4294, allocations: 0 / 0.6986 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.4296, allocations: 169.7 kB / 0.6988 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.4301, allocations: 31.61 kB / 0.6988 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.4403, allocations: 7.189 MB / 0.7058 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.4408, allocations: 0.8197 MB / 0.7066 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001106/0.4419, allocations: 448.3 kB / 0.7071 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007231/0.4426, allocations: 375.2 kB / 0.7074 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of SimCode: time 9.52e-07/0.4427, allocations: 0 / 0.7074 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06072/0.5034, allocations: 26.06 MB / 0.7329 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.379/9.882, allocations: 18.16 kB / 0.7329 GB, free: 11.23 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.pipe 2>&1)