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_1borehole_5meters.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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109 kB / 16.41 MB, free: 6.5 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.001241/0.001241, allocations: 183 kB / 17.34 MB, free: 5.762 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.358/1.358, allocations: 222.9 MB / 241 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.8847/0.8847, allocations: 143.1 MB / 434.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 76.47 kB / 0.5963 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1662, allocations: 82.04 MB / 0.6764 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002547/0.1688, allocations: 1.425 MB / 0.6778 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006526/0.1753, allocations: 4.227 MB / 0.6819 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.764e-05/0.1754, allocations: 0 / 0.6819 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001279/0.1755, allocations: 15.86 kB / 0.6819 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.1757, allocations: 27.84 kB / 0.682 GB, free: 4.578 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.004013/0.1798, allocations: 1.506 MB / 0.6834 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1799, allocations: 99.67 kB / 0.6835 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.739e-05/0.18, allocations: 4 kB / 0.6835 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.381e-05/0.18, allocations: 47.77 kB / 0.6836 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002402/0.1803, allocations: 151.6 kB / 0.6837 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.1803, allocations: 16 kB / 0.6837 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.1837, allocations: 2.204 MB / 0.6859 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.1839, allocations: 267.9 kB / 0.6861 GB, free: 300 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.1842, allocations: 286.2 kB / 0.6864 GB, free: 12 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/0.1871, allocations: 2.111 MB / 0.6885 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1872, allocations: 0 / 0.6885 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1872, allocations: 4 kB / 0.6885 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.255e-06/0.1872, allocations: 0 / 0.6885 GB, free: 13.89 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.01026/0.1974, allocations: 1.343 MB / 0.6898 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1975, allocations: 12.03 kB / 0.6898 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004007/0.1979, allocations: 92.23 kB / 0.6899 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.1983, allocations: 365 kB / 0.6902 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.1983, allocations: 4.375 kB / 0.6902 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.1984, allocations: 12.25 kB / 0.6903 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.1989, allocations: 399.4 kB / 0.6906 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1989, allocations: 0 / 0.6906 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1989, allocations: 4 kB / 0.6906 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.1989, allocations: 0 / 0.6906 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004825/0.1994, allocations: 435.7 kB / 0.6911 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006829/0.2001, allocations: 0.6449 MB / 0.6917 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006181/0.2007, allocations: 0.575 MB / 0.6922 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.2011, allocations: 329.7 kB / 0.6926 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001233/0.2023, allocations: 1.025 MB / 0.6936 GB, free: 8.273 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004682/0.2028, allocations: 408.8 kB / 0.6939 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.2028, allocations: 4 kB / 0.694 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001533/0.2043, allocations: 1.293 MB / 0.6952 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.946e-05/0.2044, allocations: 81.11 kB / 0.6953 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.2057, allocations: 1.223 MB / 0.6965 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.2057, allocations: 25.7 kB / 0.6965 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.2059, allocations: 269.9 kB / 0.6968 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.206, allocations: 19.86 kB / 0.6968 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000356/0.2063, allocations: 359.7 kB / 0.6971 GB, free: 4.539 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.2065, allocations: 306 kB / 0.6974 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.2078, allocations: 1.373 MB / 0.6988 GB, free: 2.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.2093, allocations: 1.501 MB / 0.7002 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007145/0.2165, allocations: 3.564 MB / 0.7037 GB, free: 13.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.231e-06/0.2165, allocations: 0 / 0.7037 GB, free: 13.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004861/0.2213, allocations: 4.007 MB / 0.7076 GB, free: 9.648 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.2213, allocations: 8 kB / 0.7076 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.2214, allocations: 0 / 0.7076 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.2214, allocations: 4 kB / 0.7076 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.2215, allocations: 23.95 kB / 0.7077 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.2215, allocations: 3.938 kB / 0.7077 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.2221, allocations: 241.3 kB / 0.7079 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/0.2222, allocations: 23.98 kB / 0.7079 GB, free: 9.348 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.000343/0.2225, allocations: 241.7 kB / 0.7081 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.875e-05/0.2226, allocations: 71.28 kB / 0.7082 GB, free: 9.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.2229, allocations: 82.97 kB / 0.7083 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.2229, allocations: 0 / 0.7083 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.2229, allocations: 0 / 0.7083 GB, free: 8.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.874e-06/0.2229, allocations: 7.984 kB / 0.7083 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.2234, allocations: 492.9 kB / 0.7088 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2234, allocations: 0 / 0.7088 GB, free: 8.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.2235, allocations: 7.938 kB / 0.7088 GB, free: 8.395 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2235, allocations: 7.938 kB / 0.7088 GB, free: 8.387 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2235, allocations: 3.984 kB / 0.7088 GB, free: 8.383 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2235, allocations: 4.031 kB / 0.7088 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.2235, allocations: 4.312 kB / 0.7088 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.2246, allocations: 1.006 MB / 0.7098 GB, free: 7.348 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.2247, allocations: 164.4 kB / 0.7099 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.699e-05/0.2248, allocations: 0 / 0.7099 GB, free: 7.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.2249, allocations: 8 kB / 0.7099 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.2249, allocations: 7.984 kB / 0.71 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.225, allocations: 19.98 kB / 0.71 GB, free: 7.133 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000842/0.2258, allocations: 0.6689 MB / 0.7106 GB, free: 6.457 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2258, allocations: 4 kB / 0.7106 GB, free: 6.453 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001965/0.2278, allocations: 0.5767 MB / 0.7112 GB, free: 5.875 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.001985/0.2298, allocations: 0.6957 MB / 0.7119 GB, free: 5.188 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002475/0.2322, allocations: 1.999 MB / 0.7138 GB, free: 3.176 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.2322, allocations: 3.938 kB / 0.7138 GB, free: 3.172 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.2326, allocations: 343.7 kB / 0.7142 GB, free: 2.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.233, allocations: 34.58 kB / 0.7142 GB, free: 2.801 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.2356, allocations: 1.822 MB / 0.716 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006462/0.2362, allocations: 0.968 MB / 0.7169 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2363, allocations: 23.42 kB / 0.7169 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.2363, allocations: 7.938 kB / 0.7169 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.02243/0.2588, allocations: 14.08 MB / 0.7307 GB, free: 1.836 MB / 0.5606 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)