Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube",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.42/2.42, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001513/0.001513, allocations: 171.1 kB / 325.5 MB, free: 2.922 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.256/2.256, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001149/0.001148, allocations: 107.4 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000638/0.0006383, allocations: 12.47 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2143, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2494/0.4637, allocations: 152.1 MB / 1.047 GB, free: 9.094 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004515/0.4642, allocations: 131.8 kB / 1.048 GB, free: 8.965 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.644/1.108, allocations: 14.72 MB / 1.062 GB, free: 150.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.375e-06/1.108, allocations: 0 / 1.062 GB, free: 150.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.525e-06/1.108, allocations: 6.375 kB / 1.062 GB, free: 150.4 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001199/1.109, allocations: 0.5699 MB / 1.063 GB, free: 149.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/1.11, allocations: 8.719 kB / 1.063 GB, free: 149.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.632e-05/1.11, allocations: 105.8 kB / 1.063 GB, free: 149.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/1.11, allocations: 86.53 kB / 1.063 GB, free: 149.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/1.11, allocations: 249.4 kB / 1.063 GB, free: 149.4 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/1.11, allocations: 154.3 kB / 1.063 GB, free: 149.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/1.11, allocations: 153.4 kB / 1.063 GB, free: 149.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.77e-05/1.11, allocations: 109.2 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.11, allocations: 75.28 kB / 1.063 GB, free: 149 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.865e-05/1.11, allocations: 154.7 kB / 1.064 GB, free: 148.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/1.11, allocations: 150.6 kB / 1.064 GB, free: 148.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/1.11, allocations: 165.7 kB / 1.064 GB, free: 148.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002514/1.11, allocations: 460.1 kB / 1.064 GB, free: 148 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.816e-05/1.11, allocations: 175.6 kB / 1.064 GB, free: 147.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/1.11, allocations: 76.08 kB / 1.065 GB, free: 147.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/1.11, allocations: 109.5 kB / 1.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/1.111, allocations: 0 / 1.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 7.912e-05/1.111, allocations: 29.39 kB / 1.065 GB, free: 147.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/1.111, allocations: 127.5 kB / 1.065 GB, free: 147.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/1.111, allocations: 124.1 kB / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/1.111, allocations: 25.7 kB / 1.065 GB, free: 147.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/1.111, allocations: 89.08 kB / 1.065 GB, free: 147.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-06/1.111, allocations: 4.719 kB / 1.065 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/1.111, allocations: 0 / 1.065 GB, free: 147.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.835e-05/1.111, allocations: 323.3 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/1.111, allocations: 11.12 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.056e-05/1.111, allocations: 3 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.296e-05/1.111, allocations: 2.875 kB / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.111, allocations: 0 / 1.065 GB, free: 147 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001444/1.111, allocations: 54.75 kB / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/1.111, allocations: 4.719 kB / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/1.111, allocations: 4.141 kB / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.111, allocations: 3.562 kB / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.445e-06/1.111, allocations: 4.547 kB / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/1.111, allocations: 0 / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/1.111, allocations: 4.688 kB / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/1.111, allocations: 2.906 kB / 1.065 GB, free: 146.9 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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 7.661e-05/1.112, allocations: 192.8 kB / 1.066 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/1.112, allocations: 111.6 kB / 1.066 GB, free: 146.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/1.112, allocations: 113.2 kB / 1.066 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/1.112, allocations: 183.7 kB / 1.066 GB, free: 146.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-05/1.112, allocations: 178.9 kB / 1.066 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-05/1.112, allocations: 180.2 kB / 1.066 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/1.112, allocations: 424.1 kB / 1.067 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.328e-05/1.112, allocations: 104.8 kB / 1.067 GB, free: 145.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/1.112, allocations: 103.9 kB / 1.067 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.394e-05/1.112, allocations: 180.7 kB / 1.067 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/1.112, allocations: 180.5 kB / 1.067 GB, free: 145 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-05/1.112, allocations: 179.8 kB / 1.067 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.412e-05/1.112, allocations: 183.1 kB / 1.068 GB, free: 144.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.178e-05/1.112, allocations: 309.5 kB / 1.068 GB, free: 144.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/1.112, allocations: 187 kB / 1.068 GB, free: 144.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.375e-05/1.112, allocations: 188.5 kB / 1.068 GB, free: 143.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.083e-05/1.113, allocations: 106.4 kB / 1.068 GB, free: 143.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/1.113, allocations: 179.1 kB / 1.069 GB, free: 143.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.113, allocations: 108.5 kB / 1.069 GB, free: 143.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.308e-05/1.113, allocations: 97.95 kB / 1.069 GB, free: 143.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.31e-07/1.113, allocations: 0 / 1.069 GB, free: 143.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001442/1.114, allocations: 318.1 kB / 1.069 GB, free: 143.3 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.002022/1.116, allocations: 1.212 MB / 1.07 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001384/1.116, allocations: 38.89 kB / 1.07 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.116, allocations: 3.438 kB / 1.07 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.051e-06/1.116, allocations: 0.9688 kB / 1.07 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/1.117, allocations: 0.5312 MB / 1.071 GB, free: 141.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/1.118, allocations: 0.6081 MB / 1.071 GB, free: 141.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/1.118, allocations: 0.6851 MB / 1.072 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.385e-05/1.118, allocations: 0.6094 kB / 1.072 GB, free: 140.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/1.118, allocations: 18.55 kB / 1.072 GB, free: 140.6 MB / 0.698 GB Notification: Performance of SimCode: time 1.273e-06/1.118, allocations: 0 / 1.072 GB, free: 140.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03567/1.154, allocations: 6.395 MB / 1.078 GB, free: 140.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.154, allocations: 302.7 kB / 1.079 GB, free: 139.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.638/3.792, allocations: 0 / 1.079 GB, free: 139.8 MB / 0.698 GB