Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.637/1.637, allocations: 288.4 MB / 303.7 MB, free: 8.105 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.001074/0.001074, allocations: 183.3 kB / 372.3 MB, free: 10.12 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.385/1.385, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007702/0.0007706, allocations: 94.3 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003706/0.0003707, allocations: 21.53 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2081, allocations: 115.3 MB / 0.9802 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001232/0.2094, allocations: 1.115 MB / 0.9813 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003325/0.2127, allocations: 2.853 MB / 0.9841 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.313e-05/0.2128, allocations: 0 / 0.9841 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.959e-05/0.2129, allocations: 11.86 kB / 0.9841 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001959/0.2131, allocations: 27.91 kB / 0.9841 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.215, allocations: 0.7585 MB / 0.9848 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.2151, allocations: 91.72 kB / 0.9849 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.2152, allocations: 7.984 kB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.2153, allocations: 39.86 kB / 0.985 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002578/0.2155, allocations: 243.7 kB / 0.9852 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.611e-05/0.2156, allocations: 12 kB / 0.9852 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/0.2172, allocations: 1.334 MB / 0.9865 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0004419/0.2176, allocations: 0.7094 MB / 0.9872 GB, free: 20.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0002535/0.2179, allocations: 434.5 kB / 0.9876 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001141/0.219, allocations: 1.193 MB / 0.9888 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2191, allocations: 0 / 0.9888 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2191, allocations: 3.938 kB / 0.9888 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.2191, allocations: 4 kB / 0.9888 GB, free: 18.44 MB / 0.6198 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.009286/0.2284, allocations: 1.59 MB / 0.9903 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.2284, allocations: 8.031 kB / 0.9903 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.2288, allocations: 146.9 kB / 0.9905 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004696/0.2293, allocations: 0.5211 MB / 0.991 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.2293, allocations: 8.375 kB / 0.991 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.795e-05/0.2294, allocations: 16.3 kB / 0.991 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003714/0.2297, allocations: 391.5 kB / 0.9914 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2298, allocations: 0 / 0.9914 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.2298, allocations: 0 / 0.9914 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.361e-06/0.2298, allocations: 0 / 0.9914 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003425/0.2301, allocations: 435.7 kB / 0.9918 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.2308, allocations: 0.8074 MB / 0.9926 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.2312, allocations: 0.5594 MB / 0.9931 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.2314, allocations: 337.7 kB / 0.9935 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008277/0.2323, allocations: 1.048 MB / 0.9945 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003058/0.2326, allocations: 412.8 kB / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.933e-06/0.2326, allocations: 0 / 0.9949 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001048/0.2336, allocations: 1.339 MB / 0.9962 GB, free: 10.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.2337, allocations: 85.11 kB / 0.9963 GB, free: 10.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001627/0.2353, allocations: 1.839 MB / 0.9981 GB, free: 8.391 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.2354, allocations: 29.7 kB / 0.9981 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.2357, allocations: 481.4 kB / 0.9986 GB, free: 7.879 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.2357, allocations: 23.73 kB / 0.9986 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.993e-05/0.2358, allocations: 0 / 0.9986 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2359, allocations: 406.9 kB / 0.999 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009533/0.2368, allocations: 1.514 MB / 1 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.2379, allocations: 1.642 MB / 1.002 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007217/0.2451, allocations: 3.659 MB / 1.006 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2451, allocations: 0 / 1.006 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004657/0.2498, allocations: 4.304 MB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.2498, allocations: 5.875 kB / 1.01 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.2498, allocations: 4 kB / 1.01 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.2499, allocations: 4.031 kB / 1.01 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.25, allocations: 15.98 kB / 1.01 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.25, allocations: 0 / 1.01 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.2506, allocations: 232.3 kB / 1.01 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.292e-05/0.2507, allocations: 27.97 kB / 1.01 GB, free: 11.91 MB / 0.6355 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005527/0.2513, allocations: 369.5 kB / 1.01 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.2514, allocations: 122 kB / 1.011 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.2519, allocations: 149.1 kB / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.2519, allocations: 0 / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2519, allocations: 0 / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2519, allocations: 0 / 1.011 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007767/0.2527, allocations: 0.6794 MB / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2527, allocations: 0 / 1.011 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.2528, allocations: 19.86 kB / 1.011 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2528, allocations: 7.969 kB / 1.011 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.799e-05/0.2528, allocations: 4 kB / 1.011 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.214e-05/0.2528, allocations: 4 kB / 1.011 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2528, allocations: 0 / 1.011 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/0.2538, allocations: 1.055 MB / 1.012 GB, free: 9.41 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.2541, allocations: 199.1 kB / 1.013 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.2542, allocations: 4 kB / 1.013 GB, free: 9.191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.2544, allocations: 7.984 kB / 1.013 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.2544, allocations: 4 kB / 1.013 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.214e-05/0.2545, allocations: 19.91 kB / 1.013 GB, free: 9.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001342/0.2558, allocations: 1.093 MB / 1.014 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2558, allocations: 0 / 1.014 GB, free: 8.043 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001232/0.257, allocations: 439.9 kB / 1.014 GB, free: 7.613 MB / 0.6355 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.001519/0.2586, allocations: 486.9 kB / 1.015 GB, free: 7.133 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002394/0.261, allocations: 2.648 MB / 1.017 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.261, allocations: 4.062 kB / 1.017 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.2613, allocations: 336.2 kB / 1.018 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004377/0.2618, allocations: 50.48 kB / 1.018 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.2648, allocations: 2.725 MB / 1.02 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006956/0.2655, allocations: 1.149 MB / 1.021 GB, free: 160 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001725/0.2657, allocations: 40.53 kB / 1.021 GB, free: 120 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.2658, allocations: 23.42 kB / 1.021 GB, free: 96 kB / 0.6355 GB Notification: Performance of SimCode: time 4.21e-07/0.2658, allocations: 0 / 1.021 GB, free: 96 kB / 0.6355 GB Notification: Performance of Templates: time 0.01702/0.2828, allocations: 9.529 MB / 1.031 GB, free: 6.602 MB / 0.6511 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)