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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.723/1.723, allocations: 288.4 MB / 303.6 MB, free: 8.176 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.00099/0.0009897, allocations: 198.9 kB / 372.3 MB, free: 10.11 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.553/1.553, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0007938/0.0007937, allocations: 98.28 kB / 0.7444 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.0003983, allocations: 16.23 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2411, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001517/0.2427, allocations: 1.115 MB / 0.9813 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003557/0.2463, allocations: 2.848 MB / 0.9841 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.2464, allocations: 7.938 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001324/0.2465, allocations: 7.922 kB / 0.9841 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002283/0.2467, allocations: 31.91 kB / 0.9841 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.2489, allocations: 0.7559 MB / 0.9849 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2491, allocations: 95.72 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.179e-05/0.2491, allocations: 288 / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.97e-05/0.2492, allocations: 39.84 kB / 0.985 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002667/0.2495, allocations: 251.6 kB / 0.9853 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.2495, allocations: 16 kB / 0.9853 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001952/0.2515, allocations: 1.33 MB / 0.9866 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0005312/0.252, allocations: 0.7054 MB / 0.9873 GB, free: 19.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.2524, allocations: 430.6 kB / 0.9877 GB, free: 19.55 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.2537, allocations: 1.204 MB / 0.9888 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.2538, allocations: 0 / 0.9888 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2538, allocations: 0 / 0.9888 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.197e-05/0.2538, allocations: 0 / 0.9888 GB, free: 18.34 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.009809/0.2636, allocations: 1.593 MB / 0.9904 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.024e-05/0.2637, allocations: 8.031 kB / 0.9904 GB, free: 16.68 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.271e-05/0.2637, allocations: 42.67 kB / 0.9904 GB, free: 16.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/0.2641, allocations: 142.9 kB / 0.9906 GB, free: 16.49 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004212/0.2645, allocations: 0.5212 MB / 0.9911 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.2646, allocations: 384 / 0.9911 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.2646, allocations: 12.38 kB / 0.9911 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000345/0.265, allocations: 395.3 kB / 0.9915 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.525e-06/0.265, allocations: 0 / 0.9915 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.265, allocations: 4 kB / 0.9915 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.265, allocations: 0 / 0.9915 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003226/0.2653, allocations: 439.7 kB / 0.9919 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.2659, allocations: 0.7996 MB / 0.9927 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.2663, allocations: 0.5672 MB / 0.9932 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002294/0.2665, allocations: 341.7 kB / 0.9936 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008152/0.2673, allocations: 1.04 MB / 0.9946 GB, free: 12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003293/0.2677, allocations: 404.7 kB / 0.995 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.2677, allocations: 4 kB / 0.995 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001062/0.2688, allocations: 1.339 MB / 0.9963 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.2688, allocations: 85.11 kB / 0.9964 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.2702, allocations: 1.835 MB / 0.9982 GB, free: 8.254 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.2703, allocations: 37.64 kB / 0.9982 GB, free: 8.211 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002397/0.2705, allocations: 481.4 kB / 0.9986 GB, free: 7.734 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.2705, allocations: 19.73 kB / 0.9987 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.182e-05/0.2706, allocations: 8 kB / 0.9987 GB, free: 7.707 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.2707, allocations: 403 kB / 0.9991 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000942/0.2716, allocations: 1.51 MB / 1.001 GB, free: 5.797 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009979/0.2727, allocations: 1.646 MB / 1.002 GB, free: 4.141 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007303/0.28, allocations: 3.655 MB / 1.006 GB, free: 408 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.28, allocations: 0 / 1.006 GB, free: 408 kB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004452/0.2845, allocations: 4.3 MB / 1.01 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.2845, allocations: 4 kB / 1.01 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.2846, allocations: 7.984 kB / 1.01 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.2846, allocations: 4.031 kB / 1.01 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.2847, allocations: 12 kB / 1.01 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2847, allocations: 3.938 kB / 1.01 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006407/0.2854, allocations: 236.3 kB / 1.01 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.2854, allocations: 19.98 kB / 1.01 GB, free: 11.78 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.0005007/0.286, allocations: 369.5 kB / 1.011 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/0.2861, allocations: 126 kB / 1.011 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.2864, allocations: 153 kB / 1.011 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2864, allocations: 4 kB / 1.011 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.2864, allocations: 4 kB / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2865, allocations: 0 / 1.011 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.2871, allocations: 0.6794 MB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.2871, allocations: 7.922 kB / 1.011 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.917e-05/0.2872, allocations: 8 kB / 1.011 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.2872, allocations: 4.031 kB / 1.011 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.2872, allocations: 7.984 kB / 1.011 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.2872, allocations: 4 kB / 1.012 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2872, allocations: 0 / 1.012 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000959/0.2882, allocations: 1.048 MB / 1.013 GB, free: 9.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001534/0.2883, allocations: 207 kB / 1.013 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.2884, allocations: 3.984 kB / 1.013 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.2886, allocations: 4 kB / 1.013 GB, free: 9.039 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.2887, allocations: 11.98 kB / 1.013 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.421e-05/0.2887, allocations: 11.98 kB / 1.013 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.00121/0.2899, allocations: 1.1 MB / 1.014 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/0.29, allocations: 0 / 1.014 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001141/0.2911, allocations: 423.9 kB / 1.014 GB, free: 7.477 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.002586/0.2937, allocations: 1.989 MB / 1.016 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002504/0.2962, allocations: 2.646 MB / 1.019 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.2962, allocations: 0 / 1.019 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.2966, allocations: 343.7 kB / 1.019 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005508/0.2972, allocations: 46.67 kB / 1.019 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06141/0.3586, allocations: 30.56 MB / 1.049 GB, free: 3.695 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/0.3594, allocations: 1.153 MB / 1.05 GB, free: 2.516 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002877/0.3597, allocations: 32.56 kB / 1.05 GB, free: 2.484 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/0.3602, allocations: 439.2 kB / 1.051 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of SimCode: time 7.31e-07/0.3602, allocations: 0 / 1.051 GB, free: 2.055 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6691/1.029, allocations: 58.7 MB / 1.108 GB, free: 72.32 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003039/1.03, allocations: 285.6 kB / 1.108 GB, free: 71.96 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/4.086, allocations: 0 / 1.108 GB, free: 71.96 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)