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.0009327/0.0009327, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 178.1 kB / 16.92 MB, free: 6.652 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.459/1.459, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.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 1.029/1.029, allocations: 143.2 MB / 435.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003699/0.0003701, allocations: 12 kB / 0.5171 GB, free: 11.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1822, allocations: 83.41 MB / 0.5986 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002154/0.1844, allocations: 1.462 MB / 0.6 GB, free: 6.105 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008206/0.1926, allocations: 5.545 MB / 0.6054 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1928, allocations: 0 / 0.6054 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001309/0.1941, allocations: 358.5 kB / 0.6057 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.1943, allocations: 63.73 kB / 0.6058 GB, free: 124 kB / 0.4981 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‘. Notification: Performance of NFTyping.typeClassSections: time 0.3357/0.53, allocations: 1.167 MB / 0.6069 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003303/0.5304, allocations: 196.5 kB / 0.6071 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.798e-05/0.5305, allocations: 10.28 kB / 0.6071 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.5306, allocations: 60.16 kB / 0.6072 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.5308, allocations: 182.1 kB / 0.6074 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.5309, allocations: 12 kB / 0.6074 GB, free: 35.64 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003699/0.5346, allocations: 2.186 MB / 0.6095 GB, free: 35.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002291/0.5349, allocations: 283.3 kB / 0.6098 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.5352, allocations: 329.5 kB / 0.6101 GB, free: 35.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003293/0.5385, allocations: 1.559 MB / 0.6116 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5385, allocations: 0.5938 kB / 0.6116 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.717e-06/0.5385, allocations: 0 / 0.6116 GB, free: 35.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.503e-05/0.5386, allocations: 0.7188 kB / 0.6116 GB, free: 35.26 MB / 0.4981 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.01176/0.5503, allocations: 1.304 MB / 0.6129 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.5504, allocations: 9.156 kB / 0.6129 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004268/0.5508, allocations: 96.25 kB / 0.613 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004477/0.5513, allocations: 410.4 kB / 0.6134 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.5513, allocations: 9.469 kB / 0.6134 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.48e-05/0.5514, allocations: 10.34 kB / 0.6134 GB, free: 34.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003913/0.5518, allocations: 385.9 kB / 0.6138 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5518, allocations: 3.938 kB / 0.6138 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.5518, allocations: 0 / 0.6138 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.5518, allocations: 2.875 kB / 0.6138 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003938/0.5522, allocations: 443.1 kB / 0.6142 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006132/0.5529, allocations: 0.656 MB / 0.6148 GB, free: 33.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.5533, allocations: 0.5645 MB / 0.6154 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.5536, allocations: 340.9 kB / 0.6157 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000876/0.5545, allocations: 1.036 MB / 0.6167 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003416/0.5549, allocations: 412.8 kB / 0.6171 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/0.5549, allocations: 0 / 0.6171 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001245/0.5561, allocations: 1.301 MB / 0.6184 GB, free: 32.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.5562, allocations: 77.11 kB / 0.6185 GB, free: 32.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001353/0.5575, allocations: 1.297 MB / 0.6197 GB, free: 32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.5576, allocations: 32.02 kB / 0.6198 GB, free: 31.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.5578, allocations: 283 kB / 0.62 GB, free: 31.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.5579, allocations: 20.52 kB / 0.6201 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002558/0.5581, allocations: 295.4 kB / 0.6203 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.842e-05/0.5582, allocations: 322 kB / 0.6207 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.5597, allocations: 1.367 MB / 0.622 GB, free: 31.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.5612, allocations: 1.505 MB / 0.6235 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006644/0.5679, allocations: 3.559 MB / 0.6269 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.5679, allocations: 0 / 0.6269 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003877/0.5718, allocations: 4.009 MB / 0.6308 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.5718, allocations: 15.69 kB / 0.6309 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.5719, allocations: 3.406 kB / 0.6309 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.5719, allocations: 2.438 kB / 0.6309 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.5721, allocations: 19.27 kB / 0.6309 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5721, allocations: 0.7031 kB / 0.6309 GB, free: 28.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005725/0.5726, allocations: 231.1 kB / 0.6311 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.5727, allocations: 22.11 kB / 0.6311 GB, free: 28.34 MB / 0.4981 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.0003474/0.5731, allocations: 254.3 kB / 0.6314 GB, free: 28.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.888e-05/0.5731, allocations: 76.5 kB / 0.6314 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.5734, allocations: 83.72 kB / 0.6315 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.5734, allocations: 2.938 kB / 0.6315 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.5735, allocations: 0 / 0.6315 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5735, allocations: 1.094 kB / 0.6315 GB, free: 28.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.5739, allocations: 0.5149 MB / 0.632 GB, free: 27.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.574, allocations: 6 kB / 0.632 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.681e-05/0.574, allocations: 8.391 kB / 0.632 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.574, allocations: 4.969 kB / 0.632 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.5741, allocations: 6.609 kB / 0.6321 GB, free: 27.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5741, allocations: 3.938 kB / 0.6321 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5741, allocations: 1.562 kB / 0.6321 GB, free: 27.8 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001105/0.5752, allocations: 1.007 MB / 0.633 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.5753, allocations: 163.5 kB / 0.6332 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.562e-05/0.5754, allocations: 1.562 kB / 0.6332 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.5755, allocations: 6.109 kB / 0.6332 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.5756, allocations: 7.844 kB / 0.6332 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/0.5756, allocations: 14.97 kB / 0.6332 GB, free: 27.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008961/0.5765, allocations: 0.7241 MB / 0.6339 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5765, allocations: 0 / 0.6339 GB, free: 27.25 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002227/0.5788, allocations: 0.5952 MB / 0.6345 GB, free: 27.15 MB / 0.4981 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.002137/0.5809, allocations: 0.6947 MB / 0.6352 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002604/0.5835, allocations: 2.544 MB / 0.6377 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.5836, allocations: 0 / 0.6377 GB, free: 25.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.584, allocations: 348.8 kB / 0.638 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/0.5845, allocations: 54.14 kB / 0.6381 GB, free: 25.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002572/0.5871, allocations: 2.134 MB / 0.6401 GB, free: 25.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.5876, allocations: 0.9855 MB / 0.6411 GB, free: 24.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.5877, allocations: 26.02 kB / 0.6411 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of SimCode: time 6.41e-07/0.5878, allocations: 0 / 0.6411 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.03024/0.618, allocations: 14.59 MB / 0.6554 GB, free: 22.57 MB / 0.4981 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)