Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.196/2.196, allocations: 248.5 MB / 261.1 MB, free: 5.934 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.001491/0.001491, allocations: 185.9 kB / 320.4 MB, free: 15.33 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.949/1.949, allocations: 205.1 MB / 0.571 GB, free: 11.8 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.001094/0.001094, allocations: 104.6 kB / 0.6754 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.987e-05/4.003e-05, allocations: 8 kB / 0.787 GB, free: 97.74 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2022, allocations: 106.2 MB / 0.8907 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8662/1.069, allocations: 146.3 MB / 1.034 GB, free: 4.754 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003981/1.069, allocations: 111 kB / 1.034 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1677/1.237, allocations: 21.79 MB / 1.055 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.625e-06/1.237, allocations: 0 / 1.055 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.75e-05/1.237, allocations: 16 kB / 1.055 GB, free: 1.703 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.004233/1.241, allocations: 1.014 MB / 1.056 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.71e-05/1.241, allocations: 8.031 kB / 1.056 GB, free: 0.6875 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.002e-05/1.241, allocations: 42.14 kB / 1.056 GB, free: 0.6406 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008177/1.242, allocations: 98.67 kB / 1.056 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001422/1.244, allocations: 438.8 kB / 1.057 GB, free: 68 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.513e-05/1.244, allocations: 21.44 kB / 1.057 GB, free: 56 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001993/1.244, allocations: 32.44 kB / 1.057 GB, free: 36 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000875/1.245, allocations: 381.4 kB / 1.057 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.245, allocations: 0 / 1.057 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/1.245, allocations: 3.625 kB / 1.057 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/1.245, allocations: 7.953 kB / 1.057 GB, free: 15.65 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008717/1.246, allocations: 430.8 kB / 1.057 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/1.248, allocations: 0.7422 MB / 1.058 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/1.249, allocations: 0.5548 MB / 1.059 GB, free: 14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006589/1.249, allocations: 329.3 kB / 1.059 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002048/1.252, allocations: 1.036 MB / 1.06 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008354/1.252, allocations: 399.2 kB / 1.06 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 4.519e-06/1.252, allocations: 0 / 1.06 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.002291/1.255, allocations: 0.9633 MB / 1.061 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.549e-05/1.255, allocations: 88.19 kB / 1.061 GB, free: 10.97 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/1.258, allocations: 1.055 MB / 1.062 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002424/1.258, allocations: 43.83 kB / 1.062 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004701/1.258, allocations: 274 kB / 1.063 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.368e-05/1.258, allocations: 23.17 kB / 1.063 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.259, allocations: 14.81 kB / 1.063 GB, free: 9.824 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003437/1.259, allocations: 413.2 kB / 1.063 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003056/1.262, allocations: 1.206 MB / 1.064 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003346/1.265, allocations: 1.35 MB / 1.066 GB, free: 7.773 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/1.269, allocations: 1.598 MB / 1.067 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/1.269, allocations: 0 / 1.067 GB, free: 6.578 MB / 0.6823 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.009325/1.279, allocations: 3.413 MB / 1.071 GB, free: 4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/1.279, allocations: 4 kB / 1.071 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/1.279, allocations: 4 kB / 1.071 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.124e-05/1.279, allocations: 4 kB / 1.071 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/1.281, allocations: 155.1 kB / 1.071 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/1.281, allocations: 4 kB / 1.071 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/1.283, allocations: 246.3 kB / 1.071 GB, free: 3.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/1.283, allocations: 58.8 kB / 1.071 GB, free: 3.555 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.000275/1.283, allocations: 134.8 kB / 1.071 GB, free: 3.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/1.283, allocations: 66.78 kB / 1.071 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002166/1.285, allocations: 0.9335 MB / 1.072 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/1.285, allocations: 0 / 1.072 GB, free: 2.434 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/1.285, allocations: 4.031 kB / 1.072 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/1.286, allocations: 0 / 1.072 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/1.287, allocations: 496 kB / 1.073 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.287, allocations: 4 kB / 1.073 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001731/1.287, allocations: 7.984 kB / 1.073 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.625e-06/1.287, allocations: 0 / 1.073 GB, free: 1.969 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/1.287, allocations: 6.812 kB / 1.073 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/1.287, allocations: 0 / 1.073 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.287, allocations: 0 / 1.073 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001998/1.289, allocations: 1.011 MB / 1.074 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002716/1.289, allocations: 147.9 kB / 1.074 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/1.289, allocations: 4 kB / 1.074 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/1.29, allocations: 11.17 kB / 1.074 GB, free: 0.7695 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/1.29, allocations: 3.984 kB / 1.074 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-05/1.29, allocations: 19.94 kB / 1.074 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001817/1.292, allocations: 0.6486 MB / 1.074 GB, free: 208 kB / 0.6823 GB Notification: Performance of sort global known variables: time 8.02e-07/1.292, allocations: 0 / 1.074 GB, free: 208 kB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002943/1.295, allocations: 495.8 kB / 1.075 GB, free: 15.75 MB / 0.698 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.006389/1.301, allocations: 2.08 MB / 1.077 GB, free: 13.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005304/1.307, allocations: 2.346 MB / 1.079 GB, free: 12.08 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.363e-05/1.307, allocations: 0 / 1.079 GB, free: 12.08 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000716/1.307, allocations: 339.4 kB / 1.08 GB, free: 11.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004913/1.308, allocations: 35.02 kB / 1.08 GB, free: 11.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006467/1.314, allocations: 1.79 MB / 1.081 GB, free: 9.945 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/1.316, allocations: 0.9852 MB / 1.082 GB, free: 8.938 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005258/1.316, allocations: 55.38 kB / 1.082 GB, free: 8.887 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006433/1.317, allocations: 277.5 kB / 1.083 GB, free: 8.828 MB / 0.698 GB Notification: Performance of SimCode: time 1.543e-06/1.317, allocations: 0 / 1.083 GB, free: 8.828 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08184/1.399, allocations: 16.82 MB / 1.099 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003915/1.399, allocations: 238.9 kB / 1.099 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.781/5.18, allocations: 7.938 kB / 1.099 GB, free: 7.828 MB / 0.7136 GB