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_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 86.56 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 292.7 MB / 0.5499 GB, free: 14.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008396/0.0008396, allocations: 17.19 kB / 0.6739 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.245, allocations: 116.3 MB / 0.7874 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00141/0.2465, allocations: 1.122 MB / 0.7885 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004129/0.2506, allocations: 2.857 MB / 0.7913 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.2507, allocations: 3.938 kB / 0.7913 GB, free: 7.777 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.066e-05/0.2508, allocations: 7.922 kB / 0.7913 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.251, allocations: 31.91 kB / 0.7914 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.2533, allocations: 0.752 MB / 0.7921 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.2534, allocations: 87.72 kB / 0.7922 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.578e-05/0.2535, allocations: 4.281 kB / 0.7922 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.719e-05/0.2536, allocations: 43.84 kB / 0.7922 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002577/0.2538, allocations: 171.7 kB / 0.7924 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.239e-05/0.2539, allocations: 12 kB / 0.7924 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.2561, allocations: 1.302 MB / 0.7937 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002151/0.2563, allocations: 259.3 kB / 0.7939 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.2565, allocations: 113.2 kB / 0.794 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.2581, allocations: 0.9821 MB / 0.795 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2581, allocations: 0 / 0.795 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.823e-06/0.2581, allocations: 0 / 0.795 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.626e-05/0.2581, allocations: 0 / 0.795 GB, free: 4.012 MB / 0.6075 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.007267/0.2654, allocations: 1.164 MB / 0.7961 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.2655, allocations: 8.031 kB / 0.7961 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.598e-05/0.2655, allocations: 34.55 kB / 0.7962 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003555/0.2659, allocations: 82.84 kB / 0.7963 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.2663, allocations: 375.4 kB / 0.7966 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.2664, allocations: 3.938 kB / 0.7966 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.45e-05/0.2664, allocations: 4 kB / 0.7966 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004686/0.2669, allocations: 391.2 kB / 0.797 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2669, allocations: 0 / 0.797 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.2669, allocations: 4 kB / 0.797 GB, free: 1.84 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.2669, allocations: 7.984 kB / 0.797 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000449/0.2674, allocations: 435.7 kB / 0.7974 GB, free: 1.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006934/0.2681, allocations: 0.6286 MB / 0.798 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005535/0.2687, allocations: 0.5594 MB / 0.7986 GB, free: 152 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003484/0.269, allocations: 333.8 kB / 0.7989 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.2702, allocations: 1.048 MB / 0.7999 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004399/0.2706, allocations: 408.8 kB / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.2706, allocations: 0 / 0.8003 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001402/0.272, allocations: 1.289 MB / 0.8016 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.2721, allocations: 81.23 kB / 0.8016 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.2734, allocations: 1.194 MB / 0.8028 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.044e-05/0.2734, allocations: 25.7 kB / 0.8028 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.2736, allocations: 261.4 kB / 0.8031 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.2737, allocations: 19.8 kB / 0.8031 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.2737, allocations: 4 kB / 0.8031 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001921/0.2739, allocations: 419.8 kB / 0.8035 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.2752, allocations: 1.361 MB / 0.8048 GB, free: 9.426 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.2766, allocations: 1.504 MB / 0.8063 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001637/0.2783, allocations: 1.891 MB / 0.8082 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2783, allocations: 0 / 0.8082 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004506/0.2828, allocations: 3.941 MB / 0.812 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.2829, allocations: 8.031 kB / 0.812 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.2829, allocations: 4 kB / 0.812 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.112e-05/0.2829, allocations: 0 / 0.812 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2831, allocations: 19.92 kB / 0.812 GB, free: 2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2831, allocations: 4 kB / 0.812 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.2835, allocations: 228.4 kB / 0.8123 GB, free: 1.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.2836, allocations: 23.98 kB / 0.8123 GB, free: 1.746 MB / 0.6231 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.0003094/0.2839, allocations: 249.5 kB / 0.8125 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.258e-05/0.284, allocations: 62.78 kB / 0.8126 GB, free: 1.43 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.2843, allocations: 82.83 kB / 0.8127 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2843, allocations: 0 / 0.8127 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.2843, allocations: 4 kB / 0.8127 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.2843, allocations: 0 / 0.8127 GB, free: 1.332 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.2848, allocations: 0.4928 MB / 0.8131 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.2848, allocations: 0 / 0.8131 GB, free: 0.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.2849, allocations: 8.031 kB / 0.8131 GB, free: 0.7852 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.2849, allocations: 4 kB / 0.8132 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.2849, allocations: 3.984 kB / 0.8132 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.2849, allocations: 320 / 0.8132 GB, free: 0.7773 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.808e-06/0.2849, allocations: 4 kB / 0.8132 GB, free: 0.7734 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.2859, allocations: 1.009 MB / 0.8141 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2861, allocations: 155.8 kB / 0.8143 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.2861, allocations: 4 kB / 0.8143 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001309/0.2863, allocations: 4 kB / 0.8143 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.865e-05/0.2863, allocations: 3.984 kB / 0.8143 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.2864, allocations: 11.98 kB / 0.8143 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007524/0.2871, allocations: 0.6609 MB / 0.815 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2871, allocations: 4 kB / 0.815 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001052/0.2882, allocations: 391.9 kB / 0.8153 GB, free: 14.49 MB / 0.6387 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.002633/0.2908, allocations: 1.92 MB / 0.8172 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002364/0.2932, allocations: 2.492 MB / 0.8196 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2932, allocations: 0 / 0.8196 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.2936, allocations: 347.8 kB / 0.82 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.2939, allocations: 28.5 kB / 0.82 GB, free: 9.672 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/0.3047, allocations: 9.58 MB / 0.8294 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.3053, allocations: 0.964 MB / 0.8303 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001806/0.3055, allocations: 32.75 kB / 0.8303 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003056/0.3058, allocations: 263.3 kB / 0.8306 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of SimCode: time 6.51e-07/0.3058, allocations: 3.938 kB / 0.8306 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03471/0.3405, allocations: 18.61 MB / 0.8488 GB, free: 12.33 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/0.3408, allocations: 271.2 kB / 0.849 GB, free: 11.98 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/2.73, allocations: 7.938 kB / 0.849 GB, free: 11.97 MB / 0.67 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_8_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_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_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) Environment - environmentSimulation: