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.0008508/0.0008508, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.0009019/0.000902, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.142/1.142, allocations: 223.3 MB / 240 MB, free: 5.422 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 0.841/0.841, allocations: 143.2 MB / 434.3 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002589/0.0002589, allocations: 8 kB / 0.5158 GB, free: 11.49 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1199, allocations: 83.41 MB / 0.5973 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00154/0.1214, allocations: 1.419 MB / 0.5987 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005752/0.1272, allocations: 4.991 MB / 0.6036 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.432e-05/0.1273, allocations: 4 kB / 0.6036 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007174/0.128, allocations: 322.7 kB / 0.6039 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.779e-05/0.1281, allocations: 51.73 kB / 0.6039 GB, free: 1.23 MB / 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.002016/0.1301, allocations: 1.126 MB / 0.605 GB, free: 104 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.2113/0.3414, allocations: 164.9 kB / 0.6052 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.272e-05/0.3415, allocations: 9.922 kB / 0.6052 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.3416, allocations: 57.47 kB / 0.6052 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002482/0.3419, allocations: 194.7 kB / 0.6054 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.3419, allocations: 14.72 kB / 0.6054 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002685/0.3446, allocations: 1.947 MB / 0.6073 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.3448, allocations: 275.7 kB / 0.6076 GB, free: 35.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.497e-05/0.3449, allocations: 127.6 kB / 0.6077 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00153/0.3464, allocations: 1.455 MB / 0.6092 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3464, allocations: 0.7812 kB / 0.6092 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3464, allocations: 0 / 0.6092 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.616e-05/0.3465, allocations: 3.688 kB / 0.6092 GB, free: 35.44 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.006326/0.3528, allocations: 1.314 MB / 0.6104 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.3528, allocations: 10.5 kB / 0.6105 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.3531, allocations: 93.12 kB / 0.6105 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003026/0.3534, allocations: 400.5 kB / 0.6109 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3534, allocations: 7.625 kB / 0.6109 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.948e-05/0.3535, allocations: 4.859 kB / 0.6109 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.3538, allocations: 393.6 kB / 0.6113 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3538, allocations: 0 / 0.6113 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3538, allocations: 2.016 kB / 0.6113 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.127e-06/0.3538, allocations: 4.906 kB / 0.6113 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.3541, allocations: 435.8 kB / 0.6117 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003842/0.3545, allocations: 0.6685 MB / 0.6124 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003533/0.3549, allocations: 0.5643 MB / 0.6129 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/0.3551, allocations: 337.5 kB / 0.6133 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006016/0.3557, allocations: 1.041 MB / 0.6143 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.356, allocations: 401 kB / 0.6147 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.356, allocations: 3.391 kB / 0.6147 GB, free: 32.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0009214/0.3569, allocations: 1.3 MB / 0.6159 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.357, allocations: 82.53 kB / 0.616 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008374/0.3578, allocations: 1.277 MB / 0.6173 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.3578, allocations: 31.23 kB / 0.6173 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.358, allocations: 285.1 kB / 0.6176 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.451e-05/0.358, allocations: 28.17 kB / 0.6176 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.1e-05/0.358, allocations: 0.5625 kB / 0.6176 GB, free: 32.04 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.192e-05/0.3581, allocations: 426.7 kB / 0.618 GB, free: 31.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/0.359, allocations: 1.374 MB / 0.6193 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009697/0.36, allocations: 1.501 MB / 0.6208 GB, free: 31.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.3611, allocations: 1.914 MB / 0.6227 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3611, allocations: 0 / 0.6227 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002903/0.364, allocations: 3.997 MB / 0.6266 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.364, allocations: 5.5 kB / 0.6266 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.364, allocations: 2.562 kB / 0.6266 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.3641, allocations: 2.75 kB / 0.6266 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3642, allocations: 17.45 kB / 0.6266 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.3642, allocations: 2.906 kB / 0.6266 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.3645, allocations: 231 kB / 0.6268 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.3646, allocations: 26.97 kB / 0.6268 GB, free: 29.93 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.3648, allocations: 255.3 kB / 0.6271 GB, free: 29.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.3648, allocations: 71.34 kB / 0.6272 GB, free: 29.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.365, allocations: 81.08 kB / 0.6272 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3651, allocations: 3.125 kB / 0.6272 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3651, allocations: 0.8125 kB / 0.6272 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3651, allocations: 10.08 kB / 0.6272 GB, free: 29.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000283/0.3654, allocations: 0.5082 MB / 0.6277 GB, free: 29.51 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3654, allocations: 3.953 kB / 0.6278 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.664e-05/0.3654, allocations: 7.562 kB / 0.6278 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.3654, allocations: 0 / 0.6278 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.3655, allocations: 8.969 kB / 0.6278 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.3655, allocations: 0 / 0.6278 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3655, allocations: 6.219 kB / 0.6278 GB, free: 29.5 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.3661, allocations: 1.005 MB / 0.6288 GB, free: 29.38 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.3662, allocations: 166.7 kB / 0.6289 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.744e-05/0.3662, allocations: 3.438 kB / 0.6289 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3663, allocations: 8.969 kB / 0.6289 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.3664, allocations: 8.219 kB / 0.6289 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3664, allocations: 18.11 kB / 0.6289 GB, free: 29.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005746/0.367, allocations: 0.7112 MB / 0.6296 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.81e-07/0.367, allocations: 0 / 0.6296 GB, free: 29.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001147/0.3681, allocations: 0.5785 MB / 0.6302 GB, free: 29.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.3696, allocations: 0.6753 MB / 0.6309 GB, free: 28.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.3715, allocations: 2.553 MB / 0.6334 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3715, allocations: 8.406 kB / 0.6334 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.3718, allocations: 339.8 kB / 0.6337 GB, free: 28.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3721, allocations: 54.42 kB / 0.6337 GB, free: 28.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.3739, allocations: 1.989 MB / 0.6357 GB, free: 27.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.3742, allocations: 0.9855 MB / 0.6366 GB, free: 26.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001613/0.3744, allocations: 37.7 kB / 0.6367 GB, free: 26.83 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.3745, allocations: 25.38 kB / 0.6367 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.3745, allocations: 4 kB / 0.6367 GB, free: 26.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.01892/0.3934, allocations: 13.7 MB / 0.6501 GB, free: 25.97 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)