Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_9_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_9_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.006491/0.006491, allocations: 100.3 kB / 15.73 MB, free: 6 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.001559/0.001559, allocations: 195.1 kB / 16.67 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.248/2.248, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001404, allocations: 63.91 kB / 0.9505 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8712/0.8726, allocations: 140.4 MB / 1.088 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002342/0.875, allocations: 1.403 MB / 1.089 GB, free: 4.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004468/0.8795, allocations: 3.025 MB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.135e-05/0.8796, allocations: 0.7188 kB / 1.092 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.8797, allocations: 7.594 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.8799, allocations: 36.86 kB / 1.092 GB, free: 2.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002765/0.8827, allocations: 0.9897 MB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.8829, allocations: 86.95 kB / 1.093 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.8829, allocations: 8.266 kB / 1.093 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.883, allocations: 43.47 kB / 1.093 GB, free: 1.809 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.8833, allocations: 139.1 kB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.927e-05/0.8833, allocations: 18.16 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002614/0.8859, allocations: 1.384 MB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002856/0.8862, allocations: 263 kB / 1.095 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.8865, allocations: 278.5 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00219/0.8887, allocations: 1.48 MB / 1.096 GB, free: 0.6328 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8887, allocations: 3.938 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/0.8887, allocations: 1.125 kB / 1.096 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.8887, allocations: 0 / 1.096 GB, free: 0.6289 MB / 0.8575 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.01145/0.9002, allocations: 1.202 MB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/0.9002, allocations: 9.781 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.193e-05/0.9003, allocations: 37.12 kB / 1.098 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003966/0.9007, allocations: 94.23 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004746/0.9012, allocations: 356.8 kB / 1.098 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.9012, allocations: 8.312 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.9012, allocations: 5.172 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006049/0.9019, allocations: 397 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.9019, allocations: 4 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.9019, allocations: 1.984 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.9019, allocations: 0.7188 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006226/0.9025, allocations: 433.5 kB / 1.099 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009545/0.9035, allocations: 0.6283 MB / 1.1 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008653/0.9044, allocations: 0.5668 MB / 1.1 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.9048, allocations: 333.9 kB / 1.1 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001308/0.9061, allocations: 1.022 MB / 1.101 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.9066, allocations: 415 kB / 1.102 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.9066, allocations: 0 / 1.102 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.001651/0.9082, allocations: 1.29 MB / 1.103 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.813e-05/0.9083, allocations: 84.81 kB / 1.103 GB, free: 13.4 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001677/0.91, allocations: 1.207 MB / 1.104 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.91, allocations: 32.36 kB / 1.104 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.9103, allocations: 257.4 kB / 1.105 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.9103, allocations: 22.25 kB / 1.105 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004236/0.9108, allocations: 348.5 kB / 1.105 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001135/0.9109, allocations: 309 kB / 1.105 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/0.9128, allocations: 1.365 MB / 1.107 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.9145, allocations: 1.491 MB / 1.108 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007681/0.9221, allocations: 3.54 MB / 1.111 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.9222, allocations: 0.8438 kB / 1.111 GB, free: 9.449 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005608/0.9278, allocations: 3.975 MB / 1.115 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.9278, allocations: 6.25 kB / 1.115 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/0.9279, allocations: 1.156 kB / 1.115 GB, free: 7.48 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.9279, allocations: 5.875 kB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.928, allocations: 15.55 kB / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.9281, allocations: 0 / 1.115 GB, free: 7.477 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007372/0.9288, allocations: 232.6 kB / 1.116 GB, free: 7.289 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.742e-05/0.9289, allocations: 26.22 kB / 1.116 GB, free: 7.285 MB / 0.8731 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 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004176/0.9293, allocations: 241.2 kB / 1.116 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.153e-05/0.9294, allocations: 70 kB / 1.116 GB, free: 7.109 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002988/0.9297, allocations: 71.41 kB / 1.116 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.9297, allocations: 1.688 kB / 1.116 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.9297, allocations: 0 / 1.116 GB, free: 7.051 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.9297, allocations: 6.484 kB / 1.116 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008484/0.9306, allocations: 496.2 kB / 1.117 GB, free: 6.773 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.9306, allocations: 5.062 kB / 1.117 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.298e-05/0.9307, allocations: 7.203 kB / 1.117 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.9307, allocations: 1.281 kB / 1.117 GB, free: 6.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.9307, allocations: 7.062 kB / 1.117 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.9307, allocations: 1.812 kB / 1.117 GB, free: 6.766 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.9307, allocations: 5.344 kB / 1.117 GB, free: 6.762 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.9321, allocations: 1.001 MB / 1.118 GB, free: 6.609 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.9322, allocations: 155.1 kB / 1.118 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.316e-05/0.9323, allocations: 2.031 kB / 1.118 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.9324, allocations: 4.656 kB / 1.118 GB, free: 6.461 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.017e-05/0.9325, allocations: 10.2 kB / 1.118 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.9325, allocations: 16.86 kB / 1.118 GB, free: 6.453 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001189/0.9337, allocations: 0.6668 MB / 1.118 GB, free: 6.227 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9337, allocations: 3.938 kB / 1.118 GB, free: 6.223 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002109/0.9358, allocations: 400.6 kB / 1.119 GB, free: 6.152 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003072/0.9389, allocations: 1.912 MB / 1.121 GB, free: 5.379 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.003299/0.9422, allocations: 2.5 MB / 1.123 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9422, allocations: 0 / 1.123 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000432/0.9427, allocations: 342 kB / 1.123 GB, free: 4.371 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.943, allocations: 37.14 kB / 1.123 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0209/0.9639, allocations: 15.02 MB / 1.138 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008186/0.9648, allocations: 0.9619 MB / 1.139 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001965/0.965, allocations: 37.14 kB / 1.139 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/0.9654, allocations: 259.9 kB / 1.139 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of SimCode: time 1.743e-06/0.9654, allocations: 3.938 kB / 1.139 GB, free: 12.68 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05537/1.021, allocations: 19.82 MB / 1.159 GB, free: 4.793 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.14/11.16, allocations: 9.562 kB / 1.159 GB, free: 4.785 MB / 0.8887 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)