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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.006115/0.006115, allocations: 101.6 kB / 15.73 MB, free: 6.023 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.001337/0.001337, allocations: 187.7 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 1.027/1.027, allocations: 143 MB / 433.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 63.91 kB / 0.5951 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4329, allocations: 82.03 MB / 0.6752 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003015/0.436, allocations: 1.756 MB / 0.677 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0087/0.4447, allocations: 5.397 MB / 0.6822 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.4449, allocations: 1.156 kB / 0.6822 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/0.4463, allocations: 370.9 kB / 0.6826 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001894/0.4465, allocations: 60.8 kB / 0.6826 GB, free: 11.25 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/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.00479/0.4513, allocations: 1.495 MB / 0.6841 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.4516, allocations: 152.4 kB / 0.6842 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.571e-05/0.4517, allocations: 21.78 kB / 0.6843 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.4518, allocations: 56.66 kB / 0.6843 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.4521, allocations: 173.1 kB / 0.6845 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.593e-05/0.4521, allocations: 14.31 kB / 0.6845 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004805/0.457, allocations: 2.204 MB / 0.6866 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002824/0.4572, allocations: 285.9 kB / 0.6869 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003359/0.4576, allocations: 306.7 kB / 0.6872 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004505/0.4621, allocations: 2.185 MB / 0.6893 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4621, allocations: 0 / 0.6893 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4621, allocations: 0 / 0.6893 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.989e-05/0.4622, allocations: 0 / 0.6893 GB, free: 7.238 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.01216/0.4743, allocations: 1.365 MB / 0.6907 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.4744, allocations: 9.875 kB / 0.6907 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.4744, allocations: 40.31 kB / 0.6907 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004667/0.4749, allocations: 98.86 kB / 0.6908 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006805/0.4756, allocations: 408.4 kB / 0.6912 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.4756, allocations: 7.969 kB / 0.6912 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.064e-05/0.4757, allocations: 5.781 kB / 0.6912 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.4761, allocations: 398.3 kB / 0.6916 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4761, allocations: 0 / 0.6916 GB, free: 5.547 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4761, allocations: 4 kB / 0.6916 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4761, allocations: 0 / 0.6916 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.4767, allocations: 431.7 kB / 0.692 GB, free: 5.121 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.4777, allocations: 0.6693 MB / 0.6927 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.4782, allocations: 0.5712 MB / 0.6932 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.4786, allocations: 341.5 kB / 0.6936 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/0.4797, allocations: 1.021 MB / 0.6946 GB, free: 2.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003847/0.4801, allocations: 408.8 kB / 0.6949 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.4801, allocations: 0 / 0.6949 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.001564/0.4817, allocations: 1.297 MB / 0.6962 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.4818, allocations: 81.11 kB / 0.6963 GB, free: 420 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.4833, allocations: 1.293 MB / 0.6976 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/0.4834, allocations: 37.64 kB / 0.6976 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.4836, allocations: 289.4 kB / 0.6979 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.4836, allocations: 15.81 kB / 0.6979 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000306/0.4839, allocations: 347.6 kB / 0.6982 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.484, allocations: 322 kB / 0.6985 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.4855, allocations: 1.373 MB / 0.6999 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.487, allocations: 1.505 MB / 0.7013 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006926/0.494, allocations: 3.553 MB / 0.7048 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.494, allocations: 0 / 0.7048 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004755/0.4987, allocations: 4.022 MB / 0.7087 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.4988, allocations: 6.031 kB / 0.7087 GB, free: 3.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.4988, allocations: 4.078 kB / 0.7087 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.4988, allocations: 0 / 0.7087 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.4989, allocations: 19.98 kB / 0.7088 GB, free: 3.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.499, allocations: 7.922 kB / 0.7088 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004964/0.4995, allocations: 232.3 kB / 0.709 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.4995, allocations: 31.95 kB / 0.709 GB, free: 3.203 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.0002934/0.4998, allocations: 241.7 kB / 0.7092 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.4999, allocations: 74.62 kB / 0.7093 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.5003, allocations: 87.75 kB / 0.7094 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5003, allocations: 0 / 0.7094 GB, free: 2.785 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5003, allocations: 4.031 kB / 0.7094 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.5003, allocations: 11.92 kB / 0.7094 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005733/0.5009, allocations: 0.5102 MB / 0.7099 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5009, allocations: 3.938 kB / 0.7099 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.944e-05/0.501, allocations: 11.98 kB / 0.7099 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.501, allocations: 0 / 0.7099 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.501, allocations: 4 kB / 0.7099 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.501, allocations: 0 / 0.7099 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.501, allocations: 0 / 0.7099 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008772/0.5019, allocations: 1.01 MB / 0.7109 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.5021, allocations: 163.6 kB / 0.7111 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.5021, allocations: 4 kB / 0.7111 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.5023, allocations: 7.984 kB / 0.7111 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.5023, allocations: 4 kB / 0.7111 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.5024, allocations: 23.97 kB / 0.7111 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001104/0.5035, allocations: 0.7261 MB / 0.7118 GB, free: 216 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5035, allocations: 0 / 0.7118 GB, free: 216 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001838/0.5053, allocations: 0.5779 MB / 0.7124 GB, free: 15.63 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.003552/0.5089, allocations: 2.145 MB / 0.7145 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002293/0.5112, allocations: 2.552 MB / 0.717 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5112, allocations: 0 / 0.717 GB, free: 10.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.5115, allocations: 339.9 kB / 0.7173 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.5124, allocations: 57.75 kB / 0.7173 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/0.5285, allocations: 15.25 MB / 0.7322 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007818/0.5293, allocations: 0.9879 MB / 0.7332 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001356/0.5295, allocations: 37.44 kB / 0.7332 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003091/0.5298, allocations: 291.3 kB / 0.7335 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of SimCode: time 1.823e-06/0.5298, allocations: 0 / 0.7335 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04976/0.5796, allocations: 24.45 MB / 0.7574 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/10.69, allocations: 6.438 kB / 0.7574 GB, free: 1.531 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)