Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.489/1.489, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001095/0.001095, allocations: 184.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.783/1.783, allocations: 205 MB / 0.5766 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000825/0.000825, allocations: 80.5 kB / 0.6803 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003488/0.0003488, allocations: 8.594 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2593, allocations: 105.4 MB / 0.8968 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001555/0.2609, allocations: 1.153 MB / 0.8979 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004165/0.2651, allocations: 3.271 MB / 0.9011 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.2652, allocations: 0 / 0.9011 GB, free: 63.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.2653, allocations: 11.94 kB / 0.9011 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.2655, allocations: 27.78 kB / 0.9011 GB, free: 63.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.2674, allocations: 0.7673 MB / 0.9019 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001013/0.2675, allocations: 107.8 kB / 0.902 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.053e-05/0.2676, allocations: 4 kB / 0.902 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.718e-05/0.2677, allocations: 51.7 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.2679, allocations: 224.9 kB / 0.9023 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.732e-05/0.2679, allocations: 12 kB / 0.9023 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.2695, allocations: 1.392 MB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0004341/0.27, allocations: 0.6758 MB / 0.9043 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002509/0.2702, allocations: 445 kB / 0.9047 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.2712, allocations: 1.2 MB / 0.9059 GB, free: 58.74 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2713, allocations: 4 kB / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.386e-06/0.2713, allocations: 0 / 0.9059 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.2713, allocations: 0 / 0.9059 GB, free: 58.73 MB / 0.6042 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.007998/0.2793, allocations: 1.582 MB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.2794, allocations: 12.02 kB / 0.9074 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003915/0.2798, allocations: 150.9 kB / 0.9076 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.2802, allocations: 0.5135 MB / 0.9081 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.2802, allocations: 4.375 kB / 0.9081 GB, free: 56.35 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.2803, allocations: 4.375 kB / 0.9081 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003557/0.2806, allocations: 403.5 kB / 0.9085 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2807, allocations: 4 kB / 0.9085 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.2807, allocations: 0 / 0.9085 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.2807, allocations: 3.938 kB / 0.9085 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003052/0.281, allocations: 435.7 kB / 0.9089 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005386/0.2816, allocations: 0.8073 MB / 0.9097 GB, free: 54.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000368/0.2819, allocations: 0.5632 MB / 0.9102 GB, free: 54.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.2822, allocations: 337.7 kB / 0.9106 GB, free: 53.71 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008251/0.283, allocations: 1.032 MB / 0.9116 GB, free: 52.46 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000302/0.2833, allocations: 404.8 kB / 0.912 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.443e-06/0.2833, allocations: 3.938 kB / 0.912 GB, free: 52.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001113/0.2844, allocations: 1.347 MB / 0.9133 GB, free: 50.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.2845, allocations: 85.05 kB / 0.9134 GB, free: 50.59 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.2859, allocations: 1.839 MB / 0.9152 GB, free: 48.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.2859, allocations: 29.7 kB / 0.9152 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002856/0.2862, allocations: 477.3 kB / 0.9156 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.2862, allocations: 23.66 kB / 0.9157 GB, free: 48.17 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.2864, allocations: 287.6 kB / 0.9159 GB, free: 47.88 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.114e-05/0.2865, allocations: 301.1 kB / 0.9162 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001006/0.2875, allocations: 1.518 MB / 0.9177 GB, free: 46.07 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.2886, allocations: 1.638 MB / 0.9193 GB, free: 44.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005977/0.2946, allocations: 3.69 MB / 0.9229 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2946, allocations: 0 / 0.9229 GB, free: 40.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003372/0.298, allocations: 4.323 MB / 0.9271 GB, free: 36.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.298, allocations: 8 kB / 0.9271 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.2981, allocations: 3.938 kB / 0.9271 GB, free: 36.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.325e-05/0.2981, allocations: 3.938 kB / 0.9272 GB, free: 36.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.2982, allocations: 23.91 kB / 0.9272 GB, free: 36.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2982, allocations: 4 kB / 0.9272 GB, free: 36.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.2988, allocations: 244.2 kB / 0.9274 GB, free: 35.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/0.2988, allocations: 23.98 kB / 0.9274 GB, free: 35.97 MB / 0.6042 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.0004107/0.2993, allocations: 361.6 kB / 0.9278 GB, free: 35.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.681e-05/0.2993, allocations: 122 kB / 0.9279 GB, free: 35.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.2997, allocations: 149 kB / 0.928 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.2997, allocations: 0 / 0.928 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2997, allocations: 4.031 kB / 0.928 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.2997, allocations: 4 kB / 0.928 GB, free: 35.32 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.3002, allocations: 0.6678 MB / 0.9287 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3002, allocations: 4 kB / 0.9287 GB, free: 34.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.3003, allocations: 15.92 kB / 0.9287 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3003, allocations: 0 / 0.9287 GB, free: 34.58 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/0.3003, allocations: 4 kB / 0.9287 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3003, allocations: 4 kB / 0.9287 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3003, allocations: 3.984 kB / 0.9287 GB, free: 34.57 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.301, allocations: 1.059 MB / 0.9298 GB, free: 33.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.3011, allocations: 195.1 kB / 0.9299 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.368e-05/0.3012, allocations: 4 kB / 0.93 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.3014, allocations: 11.98 kB / 0.93 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.3014, allocations: 3.984 kB / 0.93 GB, free: 33.25 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-05/0.3015, allocations: 15.98 kB / 0.93 GB, free: 33.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0008908/0.3024, allocations: 1.104 MB / 0.9311 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3024, allocations: 0 / 0.9311 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001049/0.3035, allocations: 439.8 kB / 0.9315 GB, free: 31.68 MB / 0.6042 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.001077/0.3045, allocations: 478.8 kB / 0.9319 GB, free: 31.2 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001658/0.3062, allocations: 2.649 MB / 0.9345 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3062, allocations: 0 / 0.9345 GB, free: 28.54 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002425/0.3065, allocations: 340.1 kB / 0.9348 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.3069, allocations: 54.75 kB / 0.9349 GB, free: 28.15 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.3097, allocations: 2.906 MB / 0.9377 GB, free: 25.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.3103, allocations: 1.153 MB / 0.9389 GB, free: 24.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.3104, allocations: 31.36 kB / 0.9389 GB, free: 23.99 MB / 0.6042 GB Notification: Performance of SimCode: time 6.12e-07/0.3104, allocations: 0 / 0.9389 GB, free: 23.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.02123/0.3316, allocations: 14.94 MB / 0.9535 GB, free: 9.039 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)