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.004669/0.00467, allocations: 100.6 kB / 15.73 MB, free: 6.004 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.001124/0.001124, allocations: 196.8 kB / 16.68 MB, free: 5.926 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.8585/0.8585, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 72.73 kB / 0.5956 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.15, allocations: 82.04 MB / 0.6757 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00245/0.1525, allocations: 1.425 MB / 0.6771 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006214/0.1587, allocations: 4.211 MB / 0.6812 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.795e-05/0.1588, allocations: 0 / 0.6812 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001059/0.1589, allocations: 7.875 kB / 0.6812 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1591, allocations: 35.83 kB / 0.6813 GB, free: 4.602 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.003867/0.163, allocations: 1.5 MB / 0.6827 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.1632, allocations: 95.66 kB / 0.6828 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.75e-05/0.1632, allocations: 4 kB / 0.6828 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.878e-05/0.1633, allocations: 51.83 kB / 0.6829 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.1635, allocations: 147.6 kB / 0.683 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.1636, allocations: 12 kB / 0.683 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00334/0.1669, allocations: 2.208 MB / 0.6852 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1672, allocations: 267.8 kB / 0.6854 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.1674, allocations: 278.3 kB / 0.6857 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00315/0.1706, allocations: 2.112 MB / 0.6878 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1706, allocations: 0 / 0.6878 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1706, allocations: 0 / 0.6878 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.532e-05/0.1707, allocations: 4 kB / 0.6878 GB, free: 13.93 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.008312/0.179, allocations: 1.296 MB / 0.689 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.179, allocations: 8.031 kB / 0.689 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004062/0.1794, allocations: 95.67 kB / 0.6891 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004138/0.1799, allocations: 357 kB / 0.6895 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1799, allocations: 12.36 kB / 0.6895 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.1799, allocations: 8.375 kB / 0.6895 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004268/0.1804, allocations: 391.5 kB / 0.6899 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1804, allocations: 0 / 0.6899 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.1804, allocations: 0 / 0.6899 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1804, allocations: 4 kB / 0.6899 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.1808, allocations: 431.7 kB / 0.6903 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005865/0.1814, allocations: 0.6404 MB / 0.6909 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005125/0.182, allocations: 0.5672 MB / 0.6915 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.1823, allocations: 337.7 kB / 0.6918 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00102/0.1833, allocations: 1.032 MB / 0.6928 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003983/0.1837, allocations: 404.8 kB / 0.6932 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.764e-06/0.1837, allocations: 3.938 kB / 0.6932 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001309/0.1851, allocations: 1.297 MB / 0.6944 GB, free: 6.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.1851, allocations: 81.11 kB / 0.6945 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.1863, allocations: 1.218 MB / 0.6957 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1863, allocations: 29.7 kB / 0.6957 GB, free: 5.285 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.1865, allocations: 261.4 kB / 0.696 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.1866, allocations: 19.94 kB / 0.696 GB, free: 5.004 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003274/0.1869, allocations: 355.6 kB / 0.6963 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.187, allocations: 314 kB / 0.6966 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.1882, allocations: 1.369 MB / 0.698 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.1896, allocations: 1.505 MB / 0.6995 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007275/0.1969, allocations: 3.557 MB / 0.7029 GB, free: 13.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.1969, allocations: 0 / 0.7029 GB, free: 13.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004478/0.2014, allocations: 4.01 MB / 0.7068 GB, free: 9.758 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2014, allocations: 4 kB / 0.7068 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2014, allocations: 4 kB / 0.7069 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.2015, allocations: 0 / 0.7069 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.2016, allocations: 23.95 kB / 0.7069 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.2016, allocations: 0 / 0.7069 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004661/0.2021, allocations: 232.2 kB / 0.7071 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.088e-05/0.2022, allocations: 27.98 kB / 0.7071 GB, free: 9.469 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.000295/0.2025, allocations: 233.7 kB / 0.7073 GB, free: 9.23 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.2025, allocations: 74.7 kB / 0.7074 GB, free: 9.156 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002837/0.2028, allocations: 75.02 kB / 0.7075 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2028, allocations: 4 kB / 0.7075 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.2029, allocations: 0 / 0.7075 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.2029, allocations: 4 kB / 0.7075 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/0.2033, allocations: 0.493 MB / 0.708 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.2033, allocations: 0 / 0.708 GB, free: 8.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.641e-05/0.2034, allocations: 11.92 kB / 0.708 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.2034, allocations: 0 / 0.708 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.2034, allocations: 4 kB / 0.708 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/0.2034, allocations: 8.016 kB / 0.708 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2034, allocations: 0 / 0.708 GB, free: 8.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.2044, allocations: 0.9974 MB / 0.709 GB, free: 7.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.2045, allocations: 155.8 kB / 0.7091 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.971e-05/0.2046, allocations: 7.984 kB / 0.7091 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.2047, allocations: 4 kB / 0.7091 GB, free: 7.297 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.2048, allocations: 7.984 kB / 0.7091 GB, free: 7.289 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.698e-05/0.2048, allocations: 11.98 kB / 0.7092 GB, free: 7.277 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007265/0.2055, allocations: 0.6689 MB / 0.7098 GB, free: 6.602 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2055, allocations: 3.938 kB / 0.7098 GB, free: 6.598 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001486/0.207, allocations: 0.5818 MB / 0.7104 GB, free: 6.016 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.00225/0.2093, allocations: 0.6839 MB / 0.711 GB, free: 5.344 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.2118, allocations: 2.548 MB / 0.7135 GB, free: 2.781 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.2118, allocations: 0 / 0.7135 GB, free: 2.781 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003368/0.2121, allocations: 347.7 kB / 0.7139 GB, free: 2.441 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.2125, allocations: 48.81 kB / 0.7139 GB, free: 2.391 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.2145, allocations: 1.745 MB / 0.7156 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.215, allocations: 0.9679 MB / 0.7166 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001223/0.2152, allocations: 40.48 kB / 0.7166 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.2153, allocations: 23.42 kB / 0.7166 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.2153, allocations: 0 / 0.7166 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.02325/0.2385, allocations: 13.67 MB / 0.73 GB, free: 1.93 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)