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_1borehole_5meters.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_1borehole_5meters,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.639/1.639, allocations: 288.2 MB / 303.2 MB, free: 8.191 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.001219/0.001219, allocations: 185 kB / 371.8 MB, free: 10.27 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.87/1.87, allocations: 205.4 MB / 0.6305 GB, free: 9.969 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.0008421/0.0008418, allocations: 110.8 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004298/0.0004299, allocations: 15.72 kB / 0.8669 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2473, allocations: 115.3 MB / 0.9795 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001364/0.2487, allocations: 1.109 MB / 0.9806 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.2524, allocations: 2.815 MB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.36e-05/0.2525, allocations: 4 kB / 0.9834 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001302/0.2526, allocations: 11.94 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.2528, allocations: 19.95 kB / 0.9834 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.2549, allocations: 0.7177 MB / 0.9841 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.15e-05/0.255, allocations: 59.78 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.983e-05/0.2551, allocations: 8.281 kB / 0.9842 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.477e-05/0.2552, allocations: 31.92 kB / 0.9842 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.2554, allocations: 147.7 kB / 0.9843 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.784e-05/0.2554, allocations: 12 kB / 0.9843 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001702/0.2571, allocations: 1.248 MB / 0.9856 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.2573, allocations: 255.3 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.773e-05/0.2573, allocations: 109.2 kB / 0.9859 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001149/0.2585, allocations: 0.9783 MB / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2585, allocations: 0 / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2585, allocations: 0 / 0.9869 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.2585, allocations: 0 / 0.9869 GB, free: 19.99 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.009786/0.2683, allocations: 1.167 MB / 0.988 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.2684, allocations: 16.02 kB / 0.988 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.2684, allocations: 34.56 kB / 0.988 GB, free: 18.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/0.2687, allocations: 82.83 kB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.2691, allocations: 359.5 kB / 0.9885 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.2691, allocations: 7.984 kB / 0.9885 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.2691, allocations: 7.938 kB / 0.9885 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003466/0.2695, allocations: 399.1 kB / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.2695, allocations: 0 / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2695, allocations: 0 / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2695, allocations: 4 kB / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.2699, allocations: 431.7 kB / 0.9893 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.2703, allocations: 0.6286 MB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003654/0.2707, allocations: 0.5672 MB / 0.9904 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007574/0.2715, allocations: 1.04 MB / 0.9915 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002936/0.2718, allocations: 404.8 kB / 0.9918 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.2718, allocations: 3.938 kB / 0.9919 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0009902/0.2728, allocations: 1.281 MB / 0.9931 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.2728, allocations: 93.17 kB / 0.9932 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008877/0.2737, allocations: 1.19 MB / 0.9944 GB, free: 11.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.2738, allocations: 29.7 kB / 0.9944 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.2739, allocations: 261.4 kB / 0.9946 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.888e-05/0.2739, allocations: 19.8 kB / 0.9946 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.251e-05/0.274, allocations: 4 kB / 0.9947 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.2741, allocations: 415.8 kB / 0.9951 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008455/0.2749, allocations: 1.365 MB / 0.9964 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009323/0.2759, allocations: 1.489 MB / 0.9978 GB, free: 8.234 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.277, allocations: 1.899 MB / 0.9997 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.277, allocations: 0 / 0.9997 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003372/0.2804, allocations: 3.949 MB / 1.004 GB, free: 2.336 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.2805, allocations: 4 kB / 1.004 GB, free: 2.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/0.2805, allocations: 7.984 kB / 1.004 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.2805, allocations: 0 / 1.004 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.2807, allocations: 12 kB / 1.004 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.2807, allocations: 0 / 1.004 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005353/0.2812, allocations: 236.3 kB / 1.004 GB, free: 2.078 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.406e-05/0.2813, allocations: 19.98 kB / 1.004 GB, free: 2.059 MB / 0.6198 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.0004027/0.2817, allocations: 253.5 kB / 1.004 GB, free: 1.801 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.31e-05/0.2818, allocations: 62.78 kB / 1.004 GB, free: 1.738 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.2821, allocations: 74.89 kB / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.2821, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/0.2821, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2821, allocations: 0 / 1.004 GB, free: 1.656 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.2825, allocations: 0.4928 MB / 1.005 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2825, allocations: 32 / 1.005 GB, free: 1.117 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.872e-05/0.2825, allocations: 11.94 kB / 1.005 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.2826, allocations: 0 / 1.005 GB, free: 1.105 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.2826, allocations: 15.92 kB / 1.005 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2826, allocations: 0 / 1.005 GB, free: 1.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.2826, allocations: 3.984 kB / 1.005 GB, free: 1.086 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006586/0.2832, allocations: 1.02 MB / 1.006 GB, free: 40 kB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.2834, allocations: 151.8 kB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.758e-05/0.2834, allocations: 0 / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001286/0.2836, allocations: 4 kB / 1.006 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.216e-05/0.2836, allocations: 7.984 kB / 1.006 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.2837, allocations: 15.92 kB / 1.006 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007169/0.2844, allocations: 0.6648 MB / 1.007 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/0.2844, allocations: 0 / 1.007 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001106/0.2855, allocations: 387.9 kB / 1.007 GB, free: 14.79 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.002413/0.2879, allocations: 1.994 MB / 1.009 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.2902, allocations: 2.493 MB / 1.011 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2902, allocations: 4.062 kB / 1.011 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.2906, allocations: 343.7 kB / 1.012 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000247/0.2908, allocations: 32.5 kB / 1.012 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0034/0.2942, allocations: 2.577 MB / 1.014 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.2949, allocations: 0.9835 MB / 1.015 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00019/0.2951, allocations: 40.48 kB / 1.015 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003355/0.2954, allocations: 259.3 kB / 1.015 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of SimCode: time 2.104e-06/0.2955, allocations: 0 / 1.015 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03459/0.3301, allocations: 16.45 MB / 1.031 GB, free: 5.711 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002794/0.3304, allocations: 276.6 kB / 1.032 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/2.989, allocations: 0 / 1.032 GB, free: 5.355 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)