Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.005197/0.005197, allocations: 101.9 kB / 15.73 MB, free: 6.496 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.001345/0.001345, allocations: 199.1 kB / 16.68 MB, free: 6.375 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.453/1.453, 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.06/1.06, allocations: 143.3 MB / 433.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 63.91 kB / 0.5954 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.42, allocations: 82.03 MB / 0.6755 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002653/0.4227, allocations: 1.744 MB / 0.6772 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008188/0.4309, allocations: 5.406 MB / 0.6825 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.4311, allocations: 8.938 kB / 0.6825 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.4325, allocations: 369.4 kB / 0.6828 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.4326, allocations: 61.66 kB / 0.6829 GB, free: 11.11 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.typeClassSections: time 0.004516/0.4372, allocations: 1.485 MB / 0.6843 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.4375, allocations: 157.8 kB / 0.6845 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.4375, allocations: 13.8 kB / 0.6845 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.816e-05/0.4376, allocations: 60.59 kB / 0.6846 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002335/0.4378, allocations: 172.3 kB / 0.6847 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.4379, allocations: 15.12 kB / 0.6847 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004009/0.4419, allocations: 2.212 MB / 0.6869 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.4422, allocations: 276.6 kB / 0.6872 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000309/0.4425, allocations: 307 kB / 0.6875 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004135/0.4466, allocations: 2.2 MB / 0.6896 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4467, allocations: 1.25 kB / 0.6896 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4467, allocations: 0 / 0.6896 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.605e-05/0.4467, allocations: 0 / 0.6896 GB, free: 7.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01195/0.4587, allocations: 1.416 MB / 0.691 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.4587, allocations: 9.031 kB / 0.691 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.007e-05/0.4588, allocations: 32.22 kB / 0.691 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000411/0.4592, allocations: 105.6 kB / 0.6911 GB, free: 5.848 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006476/0.4598, allocations: 411.3 kB / 0.6915 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.4599, allocations: 4 kB / 0.6915 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.4599, allocations: 4.562 kB / 0.6915 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004638/0.4604, allocations: 402.6 kB / 0.6919 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4604, allocations: 4 kB / 0.6919 GB, free: 5.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4604, allocations: 4 kB / 0.6919 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4605, allocations: 0 / 0.6919 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.4609, allocations: 435.8 kB / 0.6923 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007464/0.4617, allocations: 0.6659 MB / 0.693 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.4623, allocations: 0.571 MB / 0.6936 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.4626, allocations: 337.7 kB / 0.6939 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001161/0.4638, allocations: 1.025 MB / 0.6949 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004661/0.4643, allocations: 408.8 kB / 0.6953 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.4643, allocations: 0 / 0.6953 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001502/0.4658, allocations: 1.305 MB / 0.6965 GB, free: 148 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.694e-05/0.4659, allocations: 81.23 kB / 0.6966 GB, free: 48 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.4674, allocations: 1.298 MB / 0.6979 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.744e-05/0.4674, allocations: 29.7 kB / 0.6979 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.4677, allocations: 297.9 kB / 0.6982 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/0.4677, allocations: 23.78 kB / 0.6982 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003781/0.4681, allocations: 351.6 kB / 0.6986 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4683, allocations: 314 kB / 0.6989 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.4698, allocations: 1.373 MB / 0.7002 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.4713, allocations: 1.511 MB / 0.7017 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00737/0.4787, allocations: 3.556 MB / 0.7051 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.4787, allocations: 0 / 0.7051 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004679/0.4834, allocations: 4.026 MB / 0.7091 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.4834, allocations: 4 kB / 0.7091 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.4835, allocations: 4 kB / 0.7091 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.4835, allocations: 0 / 0.7091 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4836, allocations: 15.98 kB / 0.7091 GB, free: 3.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4836, allocations: 4 kB / 0.7091 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006243/0.4843, allocations: 237.3 kB / 0.7093 GB, free: 2.855 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.591e-05/0.4844, allocations: 31.97 kB / 0.7094 GB, free: 2.824 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.000398/0.4848, allocations: 252.5 kB / 0.7096 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.69e-05/0.4848, allocations: 83.23 kB / 0.7097 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.4851, allocations: 75.81 kB / 0.7098 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4852, allocations: 3.938 kB / 0.7098 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.126e-06/0.4852, allocations: 4 kB / 0.7098 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4852, allocations: 0 / 0.7098 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005166/0.4857, allocations: 0.518 MB / 0.7103 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4857, allocations: 3.938 kB / 0.7103 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.4858, allocations: 7.984 kB / 0.7103 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.4858, allocations: 0 / 0.7103 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.4858, allocations: 8 kB / 0.7103 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.4858, allocations: 0 / 0.7103 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.4858, allocations: 3.938 kB / 0.7103 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.4869, allocations: 1.018 MB / 0.7113 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.487, allocations: 172.2 kB / 0.7114 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.4871, allocations: 4 kB / 0.7114 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.4873, allocations: 11.98 kB / 0.7115 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.4873, allocations: 4 kB / 0.7115 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.995e-05/0.4874, allocations: 11.97 kB / 0.7115 GB, free: 0.543 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009391/0.4883, allocations: 0.7261 MB / 0.7122 GB, free: 15.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4883, allocations: 0 / 0.7122 GB, free: 15.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002058/0.4904, allocations: 0.5884 MB / 0.7128 GB, free: 15.22 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.00346/0.4939, allocations: 2.164 MB / 0.7149 GB, free: 13.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.4965, allocations: 2.546 MB / 0.7174 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4965, allocations: 0 / 0.7174 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.4969, allocations: 343.7 kB / 0.7177 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.4974, allocations: 61.52 kB / 0.7177 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01745/0.5149, allocations: 15.29 MB / 0.7327 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/0.5155, allocations: 0.9879 MB / 0.7336 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001746/0.5157, allocations: 37.75 kB / 0.7337 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.5161, allocations: 295.2 kB / 0.734 GB, free: 9.285 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.5161, allocations: 4 kB / 0.734 GB, free: 9.281 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0603/0.5764, allocations: 24.21 MB / 0.7576 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.74, allocations: 3.062 kB / 0.7576 GB, free: 1.297 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)