Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.247/2.247, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 191.4 kB / 499.1 MB, free: 4.641 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 115.6 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001244, allocations: 52.14 kB / 1.081 GB, free: 218.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2849, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.00257/0.2875, allocations: 1.48 MB / 1.22 GB, free: 115.7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.2915, allocations: 3.217 MB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.398e-05/0.2916, allocations: 0 / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.2917, allocations: 11.92 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0002403/0.292, allocations: 27.84 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002039/0.294, allocations: 0.7682 MB / 1.224 GB, free: 111.7 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.2941, allocations: 107.7 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.665e-05/0.2942, allocations: 3.984 kB / 1.224 GB, free: 111.6 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.765e-05/0.2942, allocations: 47.78 kB / 1.224 GB, free: 111.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.2945, allocations: 224.9 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.2945, allocations: 12 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.2962, allocations: 1.396 MB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004205/0.2967, allocations: 0.6797 MB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002894/0.297, allocations: 449 kB / 1.226 GB, free: 108.8 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001839/0.2988, allocations: 1.766 MB / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2988, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of FrontEnd: time 8.72e-07/0.2988, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.207e-05/0.2989, allocations: 0 / 1.228 GB, free: 107 MB / 0.823 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.01045/0.3093, allocations: 1.703 MB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/0.3094, allocations: 11.98 kB / 1.23 GB, free: 105.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004313/0.3098, allocations: 142.9 kB / 1.23 GB, free: 105.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.3104, allocations: 0.5251 MB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3104, allocations: 8.359 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.938e-05/0.3104, allocations: 4.375 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.3108, allocations: 395.5 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3108, allocations: 0 / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.3109, allocations: 0 / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3109, allocations: 4 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.3112, allocations: 439.7 kB / 1.231 GB, free: 103.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006321/0.3118, allocations: 0.8073 MB / 1.232 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003528/0.3122, allocations: 0.5595 MB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.3124, allocations: 337.5 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008683/0.3133, allocations: 1.028 MB / 1.234 GB, free: 100.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.3136, allocations: 404.8 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 3.216e-06/0.3136, allocations: 0 / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.001127/0.3148, allocations: 1.35 MB / 1.236 GB, free: 98.83 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.3148, allocations: 81.11 kB / 1.236 GB, free: 98.73 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001301/0.3161, allocations: 1.843 MB / 1.237 GB, free: 96.84 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.3162, allocations: 29.7 kB / 1.237 GB, free: 96.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/0.3164, allocations: 473.3 kB / 1.238 GB, free: 96.34 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.167e-05/0.3165, allocations: 27.64 kB / 1.238 GB, free: 96.31 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.3167, allocations: 347.5 kB / 1.238 GB, free: 95.96 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.3167, allocations: 305.1 kB / 1.239 GB, free: 95.66 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008904/0.3176, allocations: 1.51 MB / 1.24 GB, free: 94.15 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009296/0.3186, allocations: 1.648 MB / 1.242 GB, free: 92.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005791/0.3244, allocations: 3.694 MB / 1.245 GB, free: 88.71 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.3244, allocations: 0 / 1.245 GB, free: 88.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003115/0.3275, allocations: 4.327 MB / 1.249 GB, free: 84.35 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.3276, allocations: 8 kB / 1.249 GB, free: 84.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3276, allocations: 0 / 1.249 GB, free: 84.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3276, allocations: 0 / 1.249 GB, free: 84.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3277, allocations: 15.98 kB / 1.25 GB, free: 84.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3277, allocations: 4 kB / 1.25 GB, free: 84.32 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004741/0.3282, allocations: 232.2 kB / 1.25 GB, free: 84.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-05/0.3283, allocations: 27.92 kB / 1.25 GB, free: 84.07 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003308/0.3286, allocations: 366.2 kB / 1.25 GB, free: 83.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.8e-05/0.3287, allocations: 129.9 kB / 1.25 GB, free: 83.57 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.329, allocations: 145.1 kB / 1.25 GB, free: 83.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.329, allocations: 0 / 1.25 GB, free: 83.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.329, allocations: 7.875 kB / 1.25 GB, free: 83.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.329, allocations: 4 kB / 1.25 GB, free: 83.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004027/0.3294, allocations: 0.6717 MB / 1.251 GB, free: 82.67 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3294, allocations: 8.031 kB / 1.251 GB, free: 82.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.495e-05/0.3295, allocations: 11.92 kB / 1.251 GB, free: 82.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3295, allocations: 0 / 1.251 GB, free: 82.65 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3295, allocations: 4 kB / 1.251 GB, free: 82.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3295, allocations: 0 / 1.251 GB, free: 82.65 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3295, allocations: 0 / 1.251 GB, free: 82.65 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.3308, allocations: 2.438 MB / 1.253 GB, free: 80.14 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.3309, allocations: 195.1 kB / 1.254 GB, free: 79.93 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.041e-05/0.331, allocations: 11.94 kB / 1.254 GB, free: 79.91 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.3312, allocations: 4 kB / 1.254 GB, free: 79.91 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.3312, allocations: 7.984 kB / 1.254 GB, free: 79.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.3313, allocations: 11.98 kB / 1.254 GB, free: 79.89 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0008738/0.3322, allocations: 1.108 MB / 1.255 GB, free: 78.76 MB / 0.823 GB Notification: Performance of sort global known variables: time 1e-07/0.3322, allocations: 0 / 1.255 GB, free: 78.76 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001093/0.3333, allocations: 439.8 kB / 1.255 GB, free: 78.33 MB / 0.823 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.000985/0.3342, allocations: 483.9 kB / 1.256 GB, free: 77.85 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001594/0.3358, allocations: 2.644 MB / 1.258 GB, free: 75.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3359, allocations: 3.938 kB / 1.258 GB, free: 75.19 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3361, allocations: 339.8 kB / 1.259 GB, free: 74.86 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.3365, allocations: 48.23 kB / 1.259 GB, free: 74.81 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002216/0.3387, allocations: 2.971 MB / 1.261 GB, free: 71.79 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.3391, allocations: 1.153 MB / 1.263 GB, free: 70.61 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001499/0.3393, allocations: 36.55 kB / 1.263 GB, free: 70.57 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.651e-05/0.3394, allocations: 23.42 kB / 1.263 GB, free: 70.55 MB / 0.823 GB Notification: Performance of SimCode: time 3.91e-07/0.3394, allocations: 0 / 1.263 GB, free: 70.55 MB / 0.823 GB Notification: Performance of Templates: time 0.01394/0.3533, allocations: 9.938 MB / 1.272 GB, free: 60.65 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)