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.005698/0.005698, allocations: 99.84 kB / 15.73 MB, free: 6.043 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.001352/0.001352, allocations: 188.3 kB / 16.67 MB, free: 5.973 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.317/1.317, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.474/2.474, allocations: 390.3 MB / 0.6648 GB, free: 220 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 68.33 kB / 0.9504 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2779, allocations: 140.4 MB / 1.088 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002819/0.2808, allocations: 1.417 MB / 1.089 GB, free: 0.5586 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004991/0.2858, allocations: 3.03 MB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.692e-05/0.2859, allocations: 7.938 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001204/0.2861, allocations: 7.922 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002451/0.2863, allocations: 27.84 kB / 1.092 GB, free: 13.47 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002824/0.2892, allocations: 1 MB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.2893, allocations: 79.75 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.2895, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.2897, allocations: 39.84 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.2899, allocations: 143.6 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.292e-05/0.29, allocations: 16 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002023/0.292, allocations: 1.388 MB / 1.095 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.2922, allocations: 267.8 kB / 1.095 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003922/0.2926, allocations: 270.3 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002258/0.2949, allocations: 1.477 MB / 1.096 GB, free: 8.797 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.2949, allocations: 4 kB / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.244e-06/0.2949, allocations: 0 / 1.096 GB, free: 8.793 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.682e-05/0.2949, allocations: 0 / 1.096 GB, free: 8.793 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.0104/0.3053, allocations: 1.21 MB / 1.098 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.3054, allocations: 12.03 kB / 1.098 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.163e-05/0.3055, allocations: 34.75 kB / 1.098 GB, free: 7.477 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.3058, allocations: 87.67 kB / 1.098 GB, free: 7.391 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.3063, allocations: 356.9 kB / 1.098 GB, free: 6.992 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.3063, allocations: 8.375 kB / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.3063, allocations: 4.375 kB / 1.098 GB, free: 6.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004267/0.3068, allocations: 395.2 kB / 1.099 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.3068, allocations: 0 / 1.099 GB, free: 6.582 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3068, allocations: 3.984 kB / 1.099 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.3068, allocations: 4 kB / 1.099 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004325/0.3073, allocations: 427.8 kB / 1.099 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.308, allocations: 0.6404 MB / 1.1 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005029/0.3085, allocations: 0.5632 MB / 1.1 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.3088, allocations: 333.7 kB / 1.1 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.3099, allocations: 1.032 MB / 1.101 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004051/0.3103, allocations: 408.8 kB / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.362e-06/0.3103, allocations: 0 / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001392/0.3117, allocations: 1.289 MB / 1.103 GB, free: 1.582 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.3118, allocations: 89.09 kB / 1.103 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3129, allocations: 1.206 MB / 1.104 GB, free: 260 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.313, allocations: 25.7 kB / 1.104 GB, free: 228 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.3131, allocations: 265.4 kB / 1.105 GB, free: 15.96 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.651e-05/0.3132, allocations: 19.75 kB / 1.105 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003803/0.3136, allocations: 351.7 kB / 1.105 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3138, allocations: 314 kB / 1.105 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.315, allocations: 1.357 MB / 1.107 GB, free: 13.92 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001258/0.3162, allocations: 1.489 MB / 1.108 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006965/0.3232, allocations: 3.545 MB / 1.112 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.3232, allocations: 0 / 1.112 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004209/0.3275, allocations: 3.961 MB / 1.115 GB, free: 4.785 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3275, allocations: 4 kB / 1.115 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.3275, allocations: 0 / 1.115 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3275, allocations: 4 kB / 1.115 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/0.3277, allocations: 23.92 kB / 1.115 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3277, allocations: 4.031 kB / 1.115 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.3282, allocations: 228.2 kB / 1.116 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.898e-05/0.3282, allocations: 27.97 kB / 1.116 GB, free: 4.496 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.0002763/0.3285, allocations: 233.7 kB / 1.116 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.779e-05/0.3286, allocations: 74.7 kB / 1.116 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003821/0.329, allocations: 74.84 kB / 1.116 GB, free: 4.094 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.329, allocations: 4 kB / 1.116 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.329, allocations: 0 / 1.116 GB, free: 4.09 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.329, allocations: 3.984 kB / 1.116 GB, free: 4.086 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000423/0.3294, allocations: 0.4928 MB / 1.117 GB, free: 3.547 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3294, allocations: 3.938 kB / 1.117 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.3295, allocations: 8 kB / 1.117 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3295, allocations: 0 / 1.117 GB, free: 3.535 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.3295, allocations: 7.984 kB / 1.117 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.3296, allocations: 4 kB / 1.117 GB, free: 3.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3296, allocations: 4.031 kB / 1.117 GB, free: 3.52 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008734/0.3304, allocations: 0.9896 MB / 1.118 GB, free: 2.508 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.3306, allocations: 155.8 kB / 1.118 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.058e-05/0.3306, allocations: 3.984 kB / 1.118 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.3308, allocations: 12 kB / 1.118 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.3308, allocations: 11.98 kB / 1.118 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.586e-05/0.3309, allocations: 15.92 kB / 1.118 GB, free: 2.293 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000834/0.3317, allocations: 0.6609 MB / 1.118 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of sort global known variables: time 9.02e-07/0.3317, allocations: 0 / 1.118 GB, free: 1.625 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00126/0.333, allocations: 399.9 kB / 1.119 GB, free: 1.234 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.002637/0.3357, allocations: 1.924 MB / 1.121 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002417/0.3381, allocations: 2.495 MB / 1.123 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3381, allocations: 0 / 1.123 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/0.3385, allocations: 339.8 kB / 1.123 GB, free: 12.44 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3388, allocations: 32.62 kB / 1.123 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.354, allocations: 15.02 MB / 1.138 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.3545, allocations: 0.964 MB / 1.139 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001404/0.3547, allocations: 28.56 kB / 1.139 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.355, allocations: 263.3 kB / 1.139 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of SimCode: time 9.42e-07/0.355, allocations: 4 kB / 1.139 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/0.468, allocations: 19.61 MB / 1.158 GB, free: 8.523 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.13/10.6, allocations: 11.86 kB / 1.158 GB, free: 8.52 MB / 0.92 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)