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.001318/0.001318, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.00132/0.001321, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.291/1.291, allocations: 222.9 MB / 241 MB, free: 15.15 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.8388/0.8388, allocations: 143.1 MB / 434.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 64.75 kB / 0.5963 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1432, allocations: 82.04 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.002952/0.1462, allocations: 1.749 MB / 0.6781 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00739/0.1536, allocations: 5.402 MB / 0.6834 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00013/0.1538, allocations: 8 kB / 0.6834 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.1551, allocations: 362.4 kB / 0.6837 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001559/0.1552, allocations: 55.67 kB / 0.6838 GB, free: 2.695 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.003725/0.159, allocations: 1.503 MB / 0.6852 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1593, allocations: 163.3 kB / 0.6854 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.002e-05/0.1593, allocations: 9.562 kB / 0.6854 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1594, allocations: 55.78 kB / 0.6855 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1596, allocations: 167.5 kB / 0.6856 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.065e-05/0.1597, allocations: 19.94 kB / 0.6856 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003149/0.1629, allocations: 2.211 MB / 0.6878 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00021/0.1631, allocations: 275.8 kB / 0.6881 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.1634, allocations: 310.1 kB / 0.6884 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.1663, allocations: 2.186 MB / 0.6905 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1664, allocations: 4 kB / 0.6905 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.905e-06/0.1664, allocations: 4 kB / 0.6905 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.1664, allocations: 0 / 0.6905 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.008171/0.1746, allocations: 1.366 MB / 0.6918 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.1746, allocations: 8.031 kB / 0.6918 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004215/0.1751, allocations: 95.59 kB / 0.6919 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.1757, allocations: 410.2 kB / 0.6923 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1757, allocations: 16.34 kB / 0.6923 GB, free: 9.816 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.254e-05/0.1758, allocations: 4.375 kB / 0.6924 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.1762, allocations: 387.5 kB / 0.6927 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1762, allocations: 0 / 0.6927 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1762, allocations: 0 / 0.6927 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1762, allocations: 0 / 0.6927 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.1766, allocations: 443.7 kB / 0.6931 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006005/0.1772, allocations: 0.6731 MB / 0.6938 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.1777, allocations: 0.5555 MB / 0.6943 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.178, allocations: 345.7 kB / 0.6947 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008995/0.1789, allocations: 1.025 MB / 0.6957 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003691/0.1793, allocations: 408.8 kB / 0.6961 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.452e-06/0.1793, allocations: 4 kB / 0.6961 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001248/0.1806, allocations: 1.293 MB / 0.6973 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.1806, allocations: 85.09 kB / 0.6974 GB, free: 4.277 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.1817, allocations: 1.29 MB / 0.6987 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.622e-05/0.1818, allocations: 33.83 kB / 0.6987 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001876/0.182, allocations: 285.3 kB / 0.699 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.182, allocations: 23.73 kB / 0.699 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/0.1823, allocations: 351.6 kB / 0.6993 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1824, allocations: 322 kB / 0.6996 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.1835, allocations: 1.373 MB / 0.701 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.1848, allocations: 1.509 MB / 0.7025 GB, free: 15.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006865/0.1916, allocations: 3.553 MB / 0.7059 GB, free: 11.42 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.582e-06/0.1917, allocations: 0 / 0.7059 GB, free: 11.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004878/0.1966, allocations: 4.014 MB / 0.7098 GB, free: 7.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.1966, allocations: 8.031 kB / 0.7099 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.1966, allocations: 0 / 0.7099 GB, free: 7.363 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1967, allocations: 4 kB / 0.7099 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001471/0.1968, allocations: 15.98 kB / 0.7099 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1968, allocations: 0 / 0.7099 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.1974, allocations: 236.2 kB / 0.7101 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.384e-05/0.1975, allocations: 27.97 kB / 0.7101 GB, free: 7.082 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.0003318/0.1978, allocations: 254.5 kB / 0.7104 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.1979, allocations: 78.61 kB / 0.7104 GB, free: 6.746 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003004/0.1982, allocations: 79.81 kB / 0.7105 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1982, allocations: 4 kB / 0.7105 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.1982, allocations: 0 / 0.7105 GB, free: 6.648 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1983, allocations: 3.938 kB / 0.7105 GB, free: 6.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.1988, allocations: 0.514 MB / 0.711 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1988, allocations: 0 / 0.711 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.1989, allocations: 11.97 kB / 0.711 GB, free: 6.074 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.1989, allocations: 4 kB / 0.711 GB, free: 6.07 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1989, allocations: 3.984 kB / 0.711 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1989, allocations: 0 / 0.711 GB, free: 6.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1989, allocations: 4 kB / 0.711 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000968/0.1999, allocations: 1.006 MB / 0.712 GB, free: 5.035 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.2001, allocations: 167.7 kB / 0.7122 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.247e-05/0.2001, allocations: 0 / 0.7122 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2003, allocations: 4 kB / 0.7122 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.874e-05/0.2004, allocations: 11.92 kB / 0.7122 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.958e-05/0.2004, allocations: 15.98 kB / 0.7122 GB, free: 4.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000867/0.2013, allocations: 0.7222 MB / 0.7129 GB, free: 4.094 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2013, allocations: 0 / 0.7129 GB, free: 4.094 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001477/0.2028, allocations: 0.5857 MB / 0.7135 GB, free: 3.508 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.001647/0.2044, allocations: 0.689 MB / 0.7142 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002216/0.2066, allocations: 2.551 MB / 0.7167 GB, free: 272 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2067, allocations: 0 / 0.7167 GB, free: 272 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.207, allocations: 343.9 kB / 0.717 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.2074, allocations: 65.52 kB / 0.7171 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002157/0.2096, allocations: 1.911 MB / 0.7189 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004899/0.2101, allocations: 0.9839 MB / 0.7199 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.2102, allocations: 31.42 kB / 0.7199 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of SimCode: time 1.814e-06/0.2102, allocations: 0 / 0.7199 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of Templates: time 0.02215/0.2324, allocations: 14.67 MB / 0.7342 GB, free: 14.23 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)