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.001557/0.001557, allocations: 106.8 kB / 16.41 MB, free: 6.012 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.001554/0.001554, allocations: 187.5 kB / 17.34 MB, free: 5.582 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.367/1.367, allocations: 222.9 MB / 241 MB, free: 14.94 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.8741/0.8741, allocations: 143.1 MB / 434.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 72.7 kB / 0.5963 GB, free: 12.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.162/0.1639, allocations: 82.02 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.003288/0.1671, allocations: 1.768 MB / 0.6781 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.008934/0.1761, allocations: 5.423 MB / 0.6834 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.1763, allocations: 0 / 0.6834 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001644/0.1779, allocations: 374.4 kB / 0.6838 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.1781, allocations: 63.67 kB / 0.6838 GB, free: 2.637 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.005017/0.1831, allocations: 1.492 MB / 0.6853 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000305/0.1834, allocations: 163.4 kB / 0.6854 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.1835, allocations: 13.55 kB / 0.6855 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.148e-05/0.1836, allocations: 59.7 kB / 0.6855 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.1838, allocations: 163.5 kB / 0.6857 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.1839, allocations: 19.94 kB / 0.6857 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.1871, allocations: 2.208 MB / 0.6878 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.1873, allocations: 275.8 kB / 0.6881 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002705/0.1876, allocations: 314.1 kB / 0.6884 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002701/0.1903, allocations: 2.188 MB / 0.6905 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1903, allocations: 0 / 0.6905 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.1903, allocations: 0 / 0.6905 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.1903, allocations: 0 / 0.6905 GB, free: 11.75 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.009889/0.2002, allocations: 1.421 MB / 0.6919 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2002, allocations: 12.03 kB / 0.6919 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/0.2006, allocations: 100.2 kB / 0.692 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005779/0.2012, allocations: 410.4 kB / 0.6924 GB, free: 9.715 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.2012, allocations: 8.359 kB / 0.6924 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.2013, allocations: 4.375 kB / 0.6924 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.2017, allocations: 403.4 kB / 0.6928 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.657e-06/0.2017, allocations: 0 / 0.6928 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.2018, allocations: 0 / 0.6928 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.2018, allocations: 0 / 0.6928 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.2022, allocations: 431.8 kB / 0.6932 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006777/0.2029, allocations: 0.666 MB / 0.6939 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/0.2034, allocations: 0.5634 MB / 0.6944 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.2038, allocations: 333.5 kB / 0.6948 GB, free: 7.246 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.2048, allocations: 1.028 MB / 0.6958 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004395/0.2052, allocations: 408.7 kB / 0.6961 GB, free: 5.578 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 3.116e-06/0.2053, allocations: 3.984 kB / 0.6962 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001467/0.2067, allocations: 1.313 MB / 0.6974 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.926e-05/0.2068, allocations: 81.11 kB / 0.6975 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.2081, allocations: 1.294 MB / 0.6988 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.664e-05/0.2081, allocations: 29.7 kB / 0.6988 GB, free: 2.816 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.2084, allocations: 293.9 kB / 0.6991 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.2084, allocations: 19.84 kB / 0.6991 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.2088, allocations: 355.6 kB / 0.6994 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.2089, allocations: 326 kB / 0.6998 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.2103, allocations: 1.369 MB / 0.7011 GB, free: 468 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001557/0.2118, allocations: 1.505 MB / 0.7026 GB, free: 14.94 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007063/0.2189, allocations: 3.556 MB / 0.706 GB, free: 11.29 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.2189, allocations: 4 kB / 0.706 GB, free: 11.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004528/0.2234, allocations: 4.015 MB / 0.71 GB, free: 7.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.2234, allocations: 8 kB / 0.71 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.2235, allocations: 0 / 0.71 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.2235, allocations: 4 kB / 0.71 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.2236, allocations: 19.92 kB / 0.71 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.251e-06/0.2236, allocations: 0 / 0.71 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005136/0.2241, allocations: 249.4 kB / 0.7102 GB, free: 6.961 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/0.2242, allocations: 20.3 kB / 0.7102 GB, free: 6.941 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.0003331/0.2245, allocations: 246.5 kB / 0.7105 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.2246, allocations: 79.23 kB / 0.7106 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.2249, allocations: 83.75 kB / 0.7106 GB, free: 6.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.2249, allocations: 8.031 kB / 0.7106 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2249, allocations: 0 / 0.7106 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2249, allocations: 0 / 0.7106 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.2254, allocations: 0.5256 MB / 0.7112 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2254, allocations: 0 / 0.7112 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.795e-05/0.2255, allocations: 11.92 kB / 0.7112 GB, free: 5.926 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/0.2255, allocations: 4 kB / 0.7112 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2255, allocations: 0 / 0.7112 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2255, allocations: 0 / 0.7112 GB, free: 5.922 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.2255, allocations: 4 kB / 0.7112 GB, free: 5.918 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.2265, allocations: 1.014 MB / 0.7122 GB, free: 4.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.2266, allocations: 172.3 kB / 0.7123 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.193e-05/0.2267, allocations: 0 / 0.7123 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001451/0.2268, allocations: 7.984 kB / 0.7123 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2269, allocations: 8 kB / 0.7123 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/0.2269, allocations: 15.97 kB / 0.7124 GB, free: 4.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00083/0.2278, allocations: 0.726 MB / 0.7131 GB, free: 3.934 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2278, allocations: 4 kB / 0.7131 GB, free: 3.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001675/0.2294, allocations: 0.5884 MB / 0.7136 GB, free: 3.34 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.001987/0.2314, allocations: 0.6959 MB / 0.7143 GB, free: 2.656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.2337, allocations: 1.997 MB / 0.7163 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2337, allocations: 0 / 0.7163 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000372/0.234, allocations: 339.7 kB / 0.7166 GB, free: 320 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.2345, allocations: 61.34 kB / 0.7167 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.2371, allocations: 1.939 MB / 0.7186 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.2377, allocations: 0.9879 MB / 0.7195 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.2378, allocations: 31.41 kB / 0.7195 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.203e-06/0.2378, allocations: 0 / 0.7195 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of Templates: time 0.02502/0.2629, allocations: 14.76 MB / 0.734 GB, free: 14.49 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)