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.005455/0.005455, allocations: 101.2 kB / 15.73 MB, free: 5.586 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.001074/0.001074, allocations: 190.4 kB / 16.67 MB, free: 5.523 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.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 0.8382/0.8382, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.55 kB / 0.5951 GB, free: 12.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1383, allocations: 82.04 MB / 0.6752 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00276/0.1411, allocations: 1.753 MB / 0.677 GB, free: 9.027 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00725/0.1483, allocations: 5.401 MB / 0.6822 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1485, allocations: 0 / 0.6822 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.1497, allocations: 375.2 kB / 0.6826 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.000154/0.1499, allocations: 63.66 kB / 0.6826 GB, free: 3.172 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.003676/0.1536, allocations: 1.492 MB / 0.6841 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.1539, allocations: 167.3 kB / 0.6843 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.479e-05/0.1539, allocations: 9.562 kB / 0.6843 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.189e-05/0.154, allocations: 59.77 kB / 0.6843 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002018/0.1542, allocations: 167.4 kB / 0.6845 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.1542, allocations: 16 kB / 0.6845 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002975/0.1572, allocations: 2.211 MB / 0.6867 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1574, allocations: 271.8 kB / 0.6869 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002791/0.1577, allocations: 314.1 kB / 0.6872 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002944/0.1607, allocations: 2.182 MB / 0.6894 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.1607, allocations: 0 / 0.6894 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1607, allocations: 0 / 0.6894 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.957e-05/0.1608, allocations: 8 kB / 0.6894 GB, free: 12.29 MB / 0.5294 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.007841/0.1686, allocations: 1.366 MB / 0.6907 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.1687, allocations: 8.031 kB / 0.6907 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.874e-05/0.1687, allocations: 34.75 kB / 0.6907 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003814/0.1691, allocations: 95.58 kB / 0.6908 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.1696, allocations: 406.2 kB / 0.6912 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1696, allocations: 12.38 kB / 0.6912 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.1697, allocations: 4.375 kB / 0.6912 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004031/0.1701, allocations: 395.3 kB / 0.6916 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1701, allocations: 0 / 0.6916 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1701, allocations: 4 kB / 0.6916 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1701, allocations: 4 kB / 0.6916 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.1706, allocations: 435.7 kB / 0.692 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.1712, allocations: 0.6692 MB / 0.6927 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004893/0.1717, allocations: 0.5634 MB / 0.6932 GB, free: 8.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000297/0.172, allocations: 337.6 kB / 0.6936 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009973/0.173, allocations: 1.028 MB / 0.6946 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004165/0.1734, allocations: 412.8 kB / 0.695 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.342e-06/0.1734, allocations: 0 / 0.695 GB, free: 6.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001386/0.1748, allocations: 1.296 MB / 0.6962 GB, free: 4.816 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.254e-05/0.1749, allocations: 77.11 kB / 0.6963 GB, free: 4.723 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/0.1761, allocations: 1.293 MB / 0.6976 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.1761, allocations: 33.7 kB / 0.6976 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001996/0.1763, allocations: 289.5 kB / 0.6979 GB, free: 3.09 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.1764, allocations: 19.75 kB / 0.6979 GB, free: 3.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/0.1767, allocations: 355.6 kB / 0.6982 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1769, allocations: 318 kB / 0.6985 GB, free: 2.402 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.178, allocations: 1.369 MB / 0.6999 GB, free: 1.031 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.1793, allocations: 1.507 MB / 0.7013 GB, free: 15.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006899/0.1862, allocations: 3.557 MB / 0.7048 GB, free: 11.87 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.1862, allocations: 0 / 0.7048 GB, free: 11.87 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004136/0.1904, allocations: 4.022 MB / 0.7087 GB, free: 7.809 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1904, allocations: 4 kB / 0.7087 GB, free: 7.805 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/0.1904, allocations: 8.031 kB / 0.7087 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1905, allocations: 0 / 0.7087 GB, free: 7.797 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1906, allocations: 15.98 kB / 0.7088 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1906, allocations: 0 / 0.7088 GB, free: 7.781 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000444/0.1911, allocations: 236.2 kB / 0.709 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.938e-05/0.1911, allocations: 23.98 kB / 0.709 GB, free: 7.523 MB / 0.545 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.00029/0.1914, allocations: 245.6 kB / 0.7092 GB, free: 7.273 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.1915, allocations: 82.62 kB / 0.7093 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002615/0.1917, allocations: 83.75 kB / 0.7094 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.1918, allocations: 0 / 0.7094 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1918, allocations: 0 / 0.7094 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.1918, allocations: 4 kB / 0.7094 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.1922, allocations: 0.5102 MB / 0.7099 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1922, allocations: 3.938 kB / 0.7099 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.969e-05/0.1923, allocations: 11.98 kB / 0.7099 GB, free: 6.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1923, allocations: 4.031 kB / 0.7099 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1923, allocations: 4 kB / 0.7099 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1923, allocations: 0 / 0.7099 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.1923, allocations: 0 / 0.7099 GB, free: 6.512 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.1932, allocations: 1.01 MB / 0.7109 GB, free: 5.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.1934, allocations: 167.6 kB / 0.7111 GB, free: 5.297 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.1934, allocations: 4 kB / 0.7111 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1936, allocations: 11.92 kB / 0.7111 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.1936, allocations: 7.984 kB / 0.7111 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.1937, allocations: 15.92 kB / 0.7111 GB, free: 5.258 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007208/0.1944, allocations: 0.7261 MB / 0.7118 GB, free: 4.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1944, allocations: 0 / 0.7118 GB, free: 4.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001315/0.1957, allocations: 0.5779 MB / 0.7124 GB, free: 3.949 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.002687/0.1984, allocations: 2.143 MB / 0.7145 GB, free: 1.789 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.2006, allocations: 2.556 MB / 0.717 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.2006, allocations: 3.938 kB / 0.717 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.201, allocations: 335.8 kB / 0.7173 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.2014, allocations: 63.58 kB / 0.7174 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/0.2155, allocations: 15.25 MB / 0.7323 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005448/0.2161, allocations: 0.9917 MB / 0.7332 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.2162, allocations: 33.44 kB / 0.7333 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000302/0.2165, allocations: 295.3 kB / 0.7335 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of SimCode: time 7.41e-07/0.2165, allocations: 0 / 0.7335 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3717/0.5883, allocations: 24.2 MB / 0.7572 GB, free: 69.16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.836/10.42, allocations: 19.66 kB / 0.7572 GB, free: 69.15 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)