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.005086/0.005086, allocations: 102 kB / 15.73 MB, free: 6.035 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.001231/0.001231, allocations: 196.4 kB / 16.68 MB, free: 5.953 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.261/1.261, allocations: 222.9 MB / 240.4 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.8188/0.8188, allocations: 143 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 72.78 kB / 0.5956 GB, free: 12.24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1514, allocations: 82.04 MB / 0.6757 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.003753/0.1552, allocations: 1.755 MB / 0.6774 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01009/0.1653, allocations: 5.394 MB / 0.6827 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.1655, allocations: 3.938 kB / 0.6827 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.1666, allocations: 366.4 kB / 0.683 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001154/0.1667, allocations: 67.66 kB / 0.6831 GB, free: 2.684 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.003179/0.1699, allocations: 1.492 MB / 0.6846 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002103/0.1701, allocations: 166.6 kB / 0.6847 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.917e-05/0.1702, allocations: 9.562 kB / 0.6847 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.915e-05/0.1702, allocations: 63.7 kB / 0.6848 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001917/0.1704, allocations: 167.5 kB / 0.685 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.413e-05/0.1705, allocations: 12 kB / 0.685 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.1735, allocations: 2.208 MB / 0.6871 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002073/0.1737, allocations: 287.7 kB / 0.6874 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002505/0.174, allocations: 306.1 kB / 0.6877 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002288/0.1763, allocations: 2.182 MB / 0.6898 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.1763, allocations: 8 kB / 0.6898 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1763, allocations: 0 / 0.6898 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.135e-05/0.1763, allocations: 0 / 0.6898 GB, free: 11.8 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.009824/0.1861, allocations: 1.37 MB / 0.6912 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.1862, allocations: 12.03 kB / 0.6912 GB, free: 10.36 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.1865, allocations: 91.59 kB / 0.6913 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/0.187, allocations: 406.3 kB / 0.6917 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1871, allocations: 4.375 kB / 0.6917 GB, free: 9.824 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.1871, allocations: 12.34 kB / 0.6917 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003892/0.1875, allocations: 395.4 kB / 0.692 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/0.1875, allocations: 0 / 0.692 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1875, allocations: 4 kB / 0.6921 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1875, allocations: 0 / 0.6921 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004015/0.188, allocations: 439.7 kB / 0.6925 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.1885, allocations: 0.6692 MB / 0.6931 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004707/0.189, allocations: 0.5594 MB / 0.6937 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.1893, allocations: 337.7 kB / 0.694 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008884/0.1902, allocations: 1.028 MB / 0.695 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003803/0.1906, allocations: 408.8 kB / 0.6954 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.1906, allocations: 0 / 0.6954 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001242/0.1918, allocations: 1.304 MB / 0.6967 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.59e-05/0.1919, allocations: 85.11 kB / 0.6967 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.1931, allocations: 1.282 MB / 0.698 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.101e-05/0.1931, allocations: 37.83 kB / 0.698 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1933, allocations: 285.2 kB / 0.6983 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.1933, allocations: 23.73 kB / 0.6983 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003084/0.1937, allocations: 359.6 kB / 0.6987 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.1938, allocations: 318 kB / 0.699 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.195, allocations: 1.369 MB / 0.7003 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.1963, allocations: 1.513 MB / 0.7018 GB, free: 15.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/0.203, allocations: 3.556 MB / 0.7053 GB, free: 11.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.203, allocations: 0 / 0.7053 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004118/0.2071, allocations: 4.018 MB / 0.7092 GB, free: 7.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.2072, allocations: 8.031 kB / 0.7092 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.2072, allocations: 4 kB / 0.7092 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2072, allocations: 0 / 0.7092 GB, free: 7.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.2073, allocations: 15.98 kB / 0.7092 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.2074, allocations: 0 / 0.7092 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004724/0.2078, allocations: 228.3 kB / 0.7094 GB, free: 7.098 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.818e-05/0.2079, allocations: 27.98 kB / 0.7095 GB, free: 7.07 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.0003001/0.2082, allocations: 246.5 kB / 0.7097 GB, free: 6.82 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.2083, allocations: 82.61 kB / 0.7098 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.2085, allocations: 75.83 kB / 0.7098 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2086, allocations: 3.984 kB / 0.7098 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2086, allocations: 0 / 0.7098 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.2086, allocations: 0 / 0.7098 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004193/0.209, allocations: 0.5179 MB / 0.7104 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.209, allocations: 0 / 0.7104 GB, free: 6.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.2091, allocations: 15.97 kB / 0.7104 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.2091, allocations: 0 / 0.7104 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2091, allocations: 7.922 kB / 0.7104 GB, free: 6.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.2091, allocations: 7.938 kB / 0.7104 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2091, allocations: 0 / 0.7104 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008641/0.21, allocations: 1.002 MB / 0.7114 GB, free: 5.027 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.2101, allocations: 163.7 kB / 0.7115 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.7e-05/0.2102, allocations: 7.938 kB / 0.7115 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.2103, allocations: 0 / 0.7115 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.2104, allocations: 11.98 kB / 0.7115 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.2104, allocations: 11.98 kB / 0.7115 GB, free: 4.816 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007511/0.2112, allocations: 0.7261 MB / 0.7123 GB, free: 4.086 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2112, allocations: 0 / 0.7123 GB, free: 4.086 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001557/0.2127, allocations: 0.5818 MB / 0.7128 GB, free: 3.504 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.001683/0.2144, allocations: 0.6933 MB / 0.7135 GB, free: 2.82 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002196/0.2166, allocations: 2.548 MB / 0.716 GB, free: 264 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2167, allocations: 0 / 0.716 GB, free: 264 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.217, allocations: 343.9 kB / 0.7163 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.000367/0.2174, allocations: 61.94 kB / 0.7164 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.2194, allocations: 1.869 MB / 0.7182 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.2198, allocations: 0.9879 MB / 0.7192 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001359/0.22, allocations: 41.42 kB / 0.7192 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.2201, allocations: 27.42 kB / 0.7192 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2201, allocations: 0 / 0.7192 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.02098/0.2411, allocations: 14.32 MB / 0.7332 GB, free: 14.62 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)