Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 292.3 MB / 308.1 MB, free: 4.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001692/0.001692, allocations: 192.4 kB / 376.9 MB, free: 1.598 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 205 MB / 0.6354 GB, free: 9.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001173/0.001173, allocations: 103.9 kB / 0.748 GB, free: 61.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 55.92 kB / 0.8704 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2638, allocations: 114.5 MB / 0.9823 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003226/0.2671, allocations: 1.477 MB / 0.9837 GB, free: 8.848 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.005321/0.2725, allocations: 3.27 MB / 0.9869 GB, free: 5.562 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.054e-05/0.2726, allocations: 3.938 kB / 0.9869 GB, free: 5.559 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2728, allocations: 11.92 kB / 0.9869 GB, free: 5.547 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003108/0.2731, allocations: 27.84 kB / 0.9869 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002964/0.2761, allocations: 0.7686 MB / 0.9877 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.2763, allocations: 107.8 kB / 0.9878 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.453e-05/0.2764, allocations: 3.938 kB / 0.9878 GB, free: 4.641 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.2765, allocations: 43.83 kB / 0.9878 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003695/0.2769, allocations: 228.9 kB / 0.988 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.828e-05/0.277, allocations: 12 kB / 0.9881 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.2796, allocations: 1.396 MB / 0.9894 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006782/0.2803, allocations: 0.6719 MB / 0.9901 GB, free: 2.289 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004952/0.2808, allocations: 452.9 kB / 0.9905 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002727/0.2835, allocations: 1.768 MB / 0.9922 GB, free: 72 kB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2836, allocations: 4 kB / 0.9922 GB, free: 68 kB / 0.7136 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2836, allocations: 0 / 0.9922 GB, free: 68 kB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.542e-05/0.2836, allocations: 0 / 0.9922 GB, free: 68 kB / 0.7136 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.01146/0.2951, allocations: 1.698 MB / 0.9939 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.2951, allocations: 8.031 kB / 0.9939 GB, free: 14.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005071/0.2956, allocations: 138.9 kB / 0.994 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.2964, allocations: 0.5251 MB / 0.9945 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.2964, allocations: 8.359 kB / 0.9946 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.853e-05/0.2964, allocations: 4.375 kB / 0.9946 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.2969, allocations: 391.4 kB / 0.9949 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.2969, allocations: 0 / 0.9949 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.297, allocations: 7.984 kB / 0.9949 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.297, allocations: 0 / 0.9949 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.2974, allocations: 439.7 kB / 0.9954 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009068/0.2983, allocations: 0.8035 MB / 0.9961 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.2989, allocations: 0.5632 MB / 0.9967 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003288/0.2992, allocations: 341.7 kB / 0.997 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/0.3004, allocations: 1.025 MB / 0.998 GB, free: 9.691 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.3008, allocations: 412.8 kB / 0.9984 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.683e-06/0.3008, allocations: 0 / 0.9984 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.001523/0.3024, allocations: 1.351 MB / 0.9997 GB, free: 7.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.068e-05/0.3025, allocations: 81.11 kB / 0.9998 GB, free: 7.812 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.3046, allocations: 1.843 MB / 1.002 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.3047, allocations: 29.83 kB / 1.002 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003813/0.3051, allocations: 481.2 kB / 1.002 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.55e-05/0.3051, allocations: 23.73 kB / 1.002 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003865/0.3055, allocations: 347.5 kB / 1.002 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3056, allocations: 301.1 kB / 1.003 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.3071, allocations: 1.51 MB / 1.004 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.3087, allocations: 1.648 MB / 1.006 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007076/0.3158, allocations: 3.694 MB / 1.009 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.3158, allocations: 0 / 1.009 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00486/0.3207, allocations: 4.316 MB / 1.014 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3207, allocations: 8.031 kB / 1.014 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/0.3208, allocations: 4 kB / 1.014 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.3208, allocations: 0 / 1.014 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.3209, allocations: 19.92 kB / 1.014 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.3209, allocations: 4 kB / 1.014 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000663/0.3216, allocations: 232.2 kB / 1.014 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.3217, allocations: 23.98 kB / 1.014 GB, free: 9.152 MB / 0.7448 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.0005573/0.3223, allocations: 373.5 kB / 1.014 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.3224, allocations: 126 kB / 1.014 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.3228, allocations: 149 kB / 1.015 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.3229, allocations: 0 / 1.015 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3229, allocations: 0 / 1.015 GB, free: 8.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3229, allocations: 4 kB / 1.015 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/0.3236, allocations: 0.6716 MB / 1.015 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.3236, allocations: 4 kB / 1.015 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.432e-05/0.3237, allocations: 15.95 kB / 1.015 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3237, allocations: 3.938 kB / 1.015 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.3237, allocations: 12 kB / 1.015 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3237, allocations: 0 / 1.015 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3237, allocations: 0 / 1.015 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.3256, allocations: 2.438 MB / 1.018 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/0.3259, allocations: 199.1 kB / 1.018 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.613e-05/0.326, allocations: 4 kB / 1.018 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001996/0.3262, allocations: 8 kB / 1.018 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.3262, allocations: 11.92 kB / 1.018 GB, free: 4.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.3263, allocations: 7.984 kB / 1.018 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001259/0.3275, allocations: 1.112 MB / 1.019 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3275, allocations: 0 / 1.019 GB, free: 3.836 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001204/0.3288, allocations: 439.8 kB / 1.019 GB, free: 3.406 MB / 0.7448 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.001609/0.3304, allocations: 470.8 kB / 1.02 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00319/0.3336, allocations: 2.655 MB / 1.022 GB, free: 276 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3336, allocations: 0 / 1.022 GB, free: 276 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.405/0.7386, allocations: 335.2 kB / 1.023 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.7392, allocations: 47.39 kB / 1.023 GB, free: 100.1 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003116/0.7424, allocations: 2.967 MB / 1.026 GB, free: 98.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006349/0.743, allocations: 1.151 MB / 1.027 GB, free: 98.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002313/0.7432, allocations: 39.34 kB / 1.027 GB, free: 98.28 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.7434, allocations: 23.17 kB / 1.027 GB, free: 98.27 MB / 0.7448 GB Notification: Performance of SimCode: time 1.663e-06/0.7434, allocations: 0 / 1.027 GB, free: 98.27 MB / 0.7448 GB Notification: Performance of Templates: time 0.02172/0.7651, allocations: 9.93 MB / 1.037 GB, free: 97.78 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)