Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.392/1.392, allocations: 249.5 MB / 257 MB, free: 6.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 166.1 kB / 316.3 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008876/0.0008874, allocations: 93.06 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.15e-05/2.154e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1959, allocations: 106.3 MB / 0.8854 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6415/0.8375, allocations: 146.8 MB / 1.029 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.8378, allocations: 114.8 kB / 1.029 GB, free: 6.984 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.07799/0.9158, allocations: 21.69 MB / 1.05 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.753e-06/0.9159, allocations: 0 / 1.05 GB, free: 4.387 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.533e-05/0.9159, allocations: 16 kB / 1.05 GB, free: 4.371 MB / 0.6667 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.0019/0.9178, allocations: 1.025 MB / 1.051 GB, free: 3.355 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.9179, allocations: 8.031 kB / 1.051 GB, free: 3.348 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003381/0.9182, allocations: 94.7 kB / 1.051 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005424/0.9188, allocations: 423.8 kB / 1.052 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.9188, allocations: 3.984 kB / 1.052 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.9189, allocations: 24 kB / 1.052 GB, free: 2.766 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003399/0.9192, allocations: 427.6 kB / 1.052 GB, free: 2.352 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.9195, allocations: 378.4 kB / 1.052 GB, free: 1.977 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.9196, allocations: 3.938 kB / 1.052 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.9196, allocations: 3.5 kB / 1.052 GB, free: 1.973 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.9196, allocations: 3.953 kB / 1.052 GB, free: 1.969 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.9202, allocations: 0.6856 MB / 1.053 GB, free: 1.352 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.9206, allocations: 0.5622 MB / 1.054 GB, free: 0.7773 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002362/0.9209, allocations: 332.6 kB / 1.054 GB, free: 464 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008989/0.9218, allocations: 1.036 MB / 1.055 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.9221, allocations: 398.7 kB / 1.055 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.9221, allocations: 0 / 1.055 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.000856/0.923, allocations: 0.9579 MB / 1.056 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.923, allocations: 77.11 kB / 1.056 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008262/0.9239, allocations: 1.005 MB / 1.057 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.9239, allocations: 28.33 kB / 1.057 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.9241, allocations: 262.8 kB / 1.058 GB, free: 12.71 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.9241, allocations: 22 kB / 1.058 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.135e-05/0.9242, allocations: 0 / 1.058 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001675/0.9244, allocations: 420.2 kB / 1.058 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.9254, allocations: 1.192 MB / 1.059 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.9265, allocations: 1.323 MB / 1.06 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.9279, allocations: 1.591 MB / 1.062 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.928, allocations: 0 / 1.062 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00354/0.9315, allocations: 3.374 MB / 1.065 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/0.9315, allocations: 5.406 kB / 1.065 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/0.9316, allocations: 0 / 1.065 GB, free: 6.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.9316, allocations: 4 kB / 1.065 GB, free: 6.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.9322, allocations: 149.8 kB / 1.065 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.9323, allocations: 0.625 kB / 1.065 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005651/0.9328, allocations: 228.3 kB / 1.066 GB, free: 6.562 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.223e-05/0.9329, allocations: 62.73 kB / 1.066 GB, free: 6.508 MB / 0.6823 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * 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.0001241/0.9331, allocations: 124.8 kB / 1.066 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007811/0.9339, allocations: 0.9555 MB / 1.067 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.9339, allocations: 66.78 kB / 1.067 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008318/0.9348, allocations: 0.9263 MB / 1.068 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9348, allocations: 0 / 1.068 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.9348, allocations: 0 / 1.068 GB, free: 4.445 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.9348, allocations: 4 kB / 1.068 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.9352, allocations: 472 kB / 1.068 GB, free: 4.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.9352, allocations: 8.031 kB / 1.068 GB, free: 4.016 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.167e-05/0.9353, allocations: 7.984 kB / 1.068 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.9353, allocations: 0 / 1.068 GB, free: 4.008 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.9353, allocations: 7.938 kB / 1.068 GB, free: 4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.9353, allocations: 7.938 kB / 1.068 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.9354, allocations: 0 / 1.068 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007944/0.9362, allocations: 1.001 MB / 1.069 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.589e-05/0.9363, allocations: 147.9 kB / 1.069 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.606e-05/0.9363, allocations: 4 kB / 1.069 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.9365, allocations: 11.98 kB / 1.069 GB, free: 2.805 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.9365, allocations: 4 kB / 1.069 GB, free: 2.801 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.98e-05/0.9366, allocations: 15.72 kB / 1.069 GB, free: 2.789 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005974/0.9372, allocations: 0.5911 MB / 1.07 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9372, allocations: 4 kB / 1.07 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001666/0.9388, allocations: 482.3 kB / 1.07 GB, free: 1.844 MB / 0.6823 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) * 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.002612/0.9415, allocations: 2.083 MB / 1.072 GB, free: 15.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001818/0.9433, allocations: 2.324 MB / 1.075 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9433, allocations: 0 / 1.075 GB, free: 14.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.9436, allocations: 334.5 kB / 1.075 GB, free: 13.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002016/0.9438, allocations: 29.69 kB / 1.075 GB, free: 13.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.946, allocations: 1.78 MB / 1.077 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004638/0.9465, allocations: 0.9775 MB / 1.078 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001951/0.9467, allocations: 59.36 kB / 1.078 GB, free: 11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/0.9469, allocations: 275 kB / 1.078 GB, free: 10.95 MB / 0.698 GB Notification: Performance of SimCode: time 2.61e-07/0.9469, allocations: 0 / 1.078 GB, free: 10.95 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.9845, allocations: 16.1 MB / 1.094 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002319/0.9848, allocations: 242.8 kB / 1.094 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.472/3.457, allocations: 4 kB / 1.094 GB, free: 10.61 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/Buildings_maint.7.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_7_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_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)