Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.71/2.71, allocations: 287.3 MB / 302.3 MB, free: 8.258 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.001622/0.001622, allocations: 175 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.118/2.118, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001296/0.001296, allocations: 92.98 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007379/0.0007382, allocations: 17.45 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2386, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00256/0.2412, allocations: 1.115 MB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00831/0.2496, allocations: 2.814 MB / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.88e-05/0.2497, allocations: 0 / 0.9822 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001641/0.2499, allocations: 15.91 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002607/0.2502, allocations: 23.97 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/0.2548, allocations: 0.7198 MB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001722/0.255, allocations: 51.86 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.2551, allocations: 8.219 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.2552, allocations: 39.89 kB / 0.983 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003338/0.2555, allocations: 139.7 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.03e-05/0.2556, allocations: 16 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004247/0.2599, allocations: 1.248 MB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003252/0.2603, allocations: 243.3 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.2605, allocations: 113.3 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002977/0.2635, allocations: 0.9859 MB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2636, allocations: 4 kB / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.226e-06/0.2636, allocations: 0 / 0.9857 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.239e-05/0.2636, allocations: 0 / 0.9857 GB, free: 20.7 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.02343/0.287, allocations: 1.163 MB / 0.9868 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.2871, allocations: 16.02 kB / 0.9868 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.423e-05/0.2872, allocations: 38.55 kB / 0.9869 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004586/0.2876, allocations: 90.8 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004432/0.2881, allocations: 355.5 kB / 0.9873 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.2881, allocations: 11.98 kB / 0.9873 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/0.2882, allocations: 4 kB / 0.9873 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.2887, allocations: 391.2 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2887, allocations: 3.938 kB / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.2887, allocations: 0 / 0.9877 GB, free: 18.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.2888, allocations: 7.984 kB / 0.9877 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005532/0.2893, allocations: 439.7 kB / 0.9881 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006764/0.29, allocations: 0.6286 MB / 0.9887 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.2906, allocations: 0.5594 MB / 0.9893 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.2918, allocations: 1.04 MB / 0.9903 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004741/0.2923, allocations: 408.8 kB / 0.9907 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.317e-06/0.2923, allocations: 0 / 0.9907 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001539/0.2938, allocations: 1.285 MB / 0.9919 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/0.2939, allocations: 89.03 kB / 0.992 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/0.2953, allocations: 1.19 MB / 0.9932 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.406e-05/0.2954, allocations: 37.83 kB / 0.9932 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/0.2956, allocations: 261.4 kB / 0.9934 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.173e-05/0.2957, allocations: 11.81 kB / 0.9935 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.2957, allocations: 4 kB / 0.9935 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2959, allocations: 419.8 kB / 0.9939 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.2974, allocations: 1.361 MB / 0.9952 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.2989, allocations: 1.497 MB / 0.9967 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.3008, allocations: 1.891 MB / 0.9985 GB, free: 7.023 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.831e-06/0.3008, allocations: 3.938 kB / 0.9985 GB, free: 7.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005807/0.3066, allocations: 3.953 MB / 1.002 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.3067, allocations: 4 kB / 1.002 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/0.3067, allocations: 0 / 1.002 GB, free: 3.027 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.3068, allocations: 4.031 kB / 1.002 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/0.307, allocations: 19.98 kB / 1.002 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.307, allocations: 0 / 1.002 GB, free: 3.004 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007914/0.3078, allocations: 224.4 kB / 1.003 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.115e-05/0.3079, allocations: 19.98 kB / 1.003 GB, free: 2.762 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.0003811/0.3083, allocations: 241.6 kB / 1.003 GB, free: 2.516 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.358e-05/0.3083, allocations: 74.7 kB / 1.003 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000402/0.3088, allocations: 70.91 kB / 1.003 GB, free: 2.363 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3088, allocations: 4 kB / 1.003 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3088, allocations: 0 / 1.003 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3088, allocations: 0 / 1.003 GB, free: 2.359 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004802/0.3093, allocations: 0.4889 MB / 1.003 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3093, allocations: 4 kB / 1.003 GB, free: 1.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3094, allocations: 11.92 kB / 1.003 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.3094, allocations: 0 / 1.003 GB, free: 1.809 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.3095, allocations: 12.03 kB / 1.004 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3095, allocations: 3.984 kB / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3095, allocations: 0 / 1.004 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001022/0.3105, allocations: 1.004 MB / 1.004 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.3106, allocations: 159.8 kB / 1.005 GB, free: 0.5859 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.3107, allocations: 3.984 kB / 1.005 GB, free: 0.582 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.311, allocations: 12 kB / 1.005 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.311, allocations: 7.984 kB / 1.005 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.312e-05/0.3111, allocations: 15.92 kB / 1.005 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001/0.3121, allocations: 0.657 MB / 1.005 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3121, allocations: 0 / 1.005 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001463/0.3136, allocations: 391.9 kB / 1.006 GB, free: 15.5 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.003621/0.3172, allocations: 1.995 MB / 1.008 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003728/0.321, allocations: 2.498 MB / 1.01 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3211, allocations: 0 / 1.01 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005747/0.3216, allocations: 343.8 kB / 1.01 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.322, allocations: 33.8 kB / 1.01 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004856/0.3269, allocations: 2.584 MB / 1.013 GB, free: 7.953 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008096/0.3277, allocations: 0.9796 MB / 1.014 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003322/0.3281, allocations: 28.56 kB / 1.014 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005045/0.3286, allocations: 271.2 kB / 1.014 GB, free: 6.652 MB / 0.6355 GB Notification: Performance of SimCode: time 1.182e-06/0.3286, allocations: 4 kB / 1.014 GB, free: 6.648 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06934/0.398, allocations: 16.43 MB / 1.03 GB, free: 6.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003561/0.3984, allocations: 284.4 kB / 1.031 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.438/3.836, allocations: 0 / 1.031 GB, free: 6.012 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)