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: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 102.2 kB / 16.4 MB, free: 6.461 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.001064/0.001064, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.34/1.34, allocations: 222.9 MB / 241 MB, free: 15.14 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.8896/0.8896, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.16 kB / 0.5963 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1509, allocations: 82.03 MB / 0.6764 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003542/0.1545, allocations: 1.752 MB / 0.6781 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008066/0.1626, allocations: 5.406 MB / 0.6834 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1628, allocations: 0 / 0.6834 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001248/0.1641, allocations: 374.4 kB / 0.6837 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.1643, allocations: 55.67 kB / 0.6838 GB, free: 2.68 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.003937/0.1682, allocations: 1.504 MB / 0.6853 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.1685, allocations: 155.4 kB / 0.6854 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.247e-05/0.1686, allocations: 13.55 kB / 0.6854 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.1687, allocations: 63.72 kB / 0.6855 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.169, allocations: 159.5 kB / 0.6856 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.446e-05/0.169, allocations: 19.94 kB / 0.6857 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003413/0.1724, allocations: 2.215 MB / 0.6878 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002337/0.1727, allocations: 271.8 kB / 0.6881 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002737/0.173, allocations: 306.1 kB / 0.6884 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.003272/0.1762, allocations: 2.19 MB / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1763, allocations: 0 / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1763, allocations: 0 / 0.6905 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.1763, allocations: 0 / 0.6905 GB, free: 11.79 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.01051/0.1868, allocations: 1.37 MB / 0.6918 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.1869, allocations: 8.031 kB / 0.6919 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.1873, allocations: 95.58 kB / 0.6919 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006077/0.1879, allocations: 414.2 kB / 0.6923 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.1879, allocations: 4.312 kB / 0.6923 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/0.188, allocations: 12.38 kB / 0.6924 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.1884, allocations: 391.5 kB / 0.6927 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.1885, allocations: 4 kB / 0.6927 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.1885, allocations: 0 / 0.6927 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1885, allocations: 0 / 0.6927 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004283/0.1889, allocations: 435.7 kB / 0.6931 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006586/0.1896, allocations: 0.6731 MB / 0.6938 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005042/0.1901, allocations: 0.5594 MB / 0.6943 GB, free: 7.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003154/0.1904, allocations: 337.7 kB / 0.6947 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.1915, allocations: 1.032 MB / 0.6957 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004105/0.1919, allocations: 408.8 kB / 0.6961 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.723e-06/0.1919, allocations: 3.938 kB / 0.6961 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001311/0.1932, allocations: 1.297 MB / 0.6973 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.1933, allocations: 81.09 kB / 0.6974 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.1946, allocations: 1.293 MB / 0.6987 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.1946, allocations: 25.7 kB / 0.6987 GB, free: 2.926 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.1948, allocations: 293.3 kB / 0.699 GB, free: 2.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/0.1949, allocations: 23.88 kB / 0.699 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003314/0.1952, allocations: 351.6 kB / 0.6993 GB, free: 2.262 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1953, allocations: 314 kB / 0.6996 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001223/0.1966, allocations: 1.373 MB / 0.701 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001335/0.1979, allocations: 1.501 MB / 0.7024 GB, free: 15.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007091/0.205, allocations: 3.564 MB / 0.7059 GB, free: 11.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.205, allocations: 0 / 0.7059 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004468/0.2095, allocations: 4.014 MB / 0.7098 GB, free: 7.355 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.2095, allocations: 4 kB / 0.7099 GB, free: 7.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.2096, allocations: 4 kB / 0.7099 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2096, allocations: 4.031 kB / 0.7099 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.2097, allocations: 19.98 kB / 0.7099 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2097, allocations: 4 kB / 0.7099 GB, free: 7.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004996/0.2102, allocations: 232.3 kB / 0.7101 GB, free: 7.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.208e-05/0.2103, allocations: 23.98 kB / 0.7101 GB, free: 7.066 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.0003324/0.2106, allocations: 249.6 kB / 0.7104 GB, free: 6.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.911e-05/0.2107, allocations: 78.62 kB / 0.7104 GB, free: 6.734 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003013/0.211, allocations: 79.81 kB / 0.7105 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.2111, allocations: 0 / 0.7105 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.2111, allocations: 4 kB / 0.7105 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.2111, allocations: 0 / 0.7105 GB, free: 6.637 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004761/0.2116, allocations: 0.514 MB / 0.711 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2116, allocations: 0 / 0.711 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.87e-05/0.2117, allocations: 15.86 kB / 0.711 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2117, allocations: 0 / 0.711 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2117, allocations: 12.03 kB / 0.711 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2117, allocations: 0 / 0.711 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.2117, allocations: 0 / 0.711 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.2126, allocations: 1.006 MB / 0.712 GB, free: 5.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.2128, allocations: 159.7 kB / 0.7122 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.2129, allocations: 8 kB / 0.7122 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.213, allocations: 7.984 kB / 0.7122 GB, free: 4.832 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.949e-05/0.2131, allocations: 11.97 kB / 0.7122 GB, free: 4.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.503e-05/0.2131, allocations: 11.98 kB / 0.7122 GB, free: 4.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008144/0.2139, allocations: 0.726 MB / 0.7129 GB, free: 4.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.9e-07/0.214, allocations: 3.938 kB / 0.7129 GB, free: 4.074 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00148/0.2154, allocations: 0.5818 MB / 0.7135 GB, free: 3.492 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.002164/0.2176, allocations: 0.6825 MB / 0.7142 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002307/0.2199, allocations: 2.559 MB / 0.7167 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2199, allocations: 0 / 0.7167 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003319/0.2203, allocations: 335.8 kB / 0.717 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2207, allocations: 75.88 kB / 0.7171 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002293/0.223, allocations: 1.913 MB / 0.7189 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005412/0.2236, allocations: 0.9879 MB / 0.7199 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.2237, allocations: 27.41 kB / 0.7199 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.2237, allocations: 0 / 0.7199 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of Templates: time 0.02285/0.2466, allocations: 14.67 MB / 0.7342 GB, free: 14.21 MB / 0.5762 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1)