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.429/2.429, allocations: 248.5 MB / 261.1 MB, free: 5.973 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.001523/0.001522, allocations: 179.3 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.954/1.954, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.00111/0.00111, allocations: 94.48 kB / 0.6754 GB, free: 0.8164 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.359e-05/4.391e-05, allocations: 4 kB / 0.787 GB, free: 97.73 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2185, allocations: 106.2 MB / 0.8907 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9004/1.119, allocations: 152.1 MB / 1.039 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004888/1.12, allocations: 124.7 kB / 1.039 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.07664/1.196, allocations: 14.68 MB / 1.054 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.033e-06/1.196, allocations: 0 / 1.054 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.454e-06/1.196, allocations: 0 / 1.054 GB, free: 2.406 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001191/1.197, allocations: 0.5496 MB / 1.054 GB, free: 1.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/1.198, allocations: 12.03 kB / 1.054 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.375e-05/1.198, allocations: 109.8 kB / 1.054 GB, free: 1.691 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.184e-05/1.198, allocations: 83.45 kB / 1.054 GB, free: 1.609 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001913/1.198, allocations: 250.2 kB / 1.055 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.275e-05/1.198, allocations: 150.6 kB / 1.055 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/1.198, allocations: 161.9 kB / 1.055 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.321e-05/1.198, allocations: 104.9 kB / 1.055 GB, free: 0.9102 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.813e-05/1.198, allocations: 79.28 kB / 1.055 GB, free: 0.832 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.383e-05/1.198, allocations: 150.6 kB / 1.055 GB, free: 0.6836 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.199e-05/1.198, allocations: 150.6 kB / 1.055 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.545e-05/1.198, allocations: 154.5 kB / 1.056 GB, free: 392 kB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/1.199, allocations: 462.1 kB / 1.056 GB, free: 15.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.917e-05/1.199, allocations: 177.1 kB / 1.056 GB, free: 15.71 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.485e-05/1.199, allocations: 83.08 kB / 1.056 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/1.199, allocations: 75.28 kB / 1.056 GB, free: 15.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.082e-05/1.199, allocations: 105.8 kB / 1.056 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/1.199, allocations: 0 / 1.056 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=0): time 9.289e-05/1.199, allocations: 33.7 kB / 1.056 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.986e-05/1.199, allocations: 126.7 kB / 1.057 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/1.199, allocations: 119.9 kB / 1.057 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/1.199, allocations: 29.7 kB / 1.057 GB, free: 15.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/1.2, allocations: 91.31 kB / 1.057 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/1.2, allocations: 0 / 1.057 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/1.2, allocations: 0 / 1.057 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.2, allocations: 326.2 kB / 1.057 GB, free: 14.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.238e-05/1.2, allocations: 8 kB / 1.057 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.108e-05/1.2, allocations: 3.938 kB / 1.057 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/1.2, allocations: 7.688 kB / 1.057 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/1.2, allocations: 0 / 1.057 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001569/1.2, allocations: 49.59 kB / 1.057 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.2, allocations: 4 kB / 1.057 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-05/1.2, allocations: 11.94 kB / 1.057 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/1.2, allocations: 0 / 1.057 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.824e-06/1.2, allocations: 0 / 1.057 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.2, allocations: 0 / 1.057 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.79e-05/1.2, allocations: 4.062 kB / 1.057 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/1.2, allocations: 4 kB / 1.057 GB, free: 14.61 MB / 0.6823 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 () * 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 0.0001203/1.2, allocations: 191.5 kB / 1.057 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/1.2, allocations: 112.8 kB / 1.058 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.452e-05/1.201, allocations: 104.6 kB / 1.058 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.599e-05/1.201, allocations: 180.2 kB / 1.058 GB, free: 14 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.418e-05/1.201, allocations: 188.5 kB / 1.058 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.008e-05/1.201, allocations: 184.1 kB / 1.058 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/1.201, allocations: 416.5 kB / 1.059 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.726e-05/1.201, allocations: 101 kB / 1.059 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.954e-05/1.201, allocations: 104.9 kB / 1.059 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.858e-05/1.201, allocations: 183.5 kB / 1.059 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-05/1.201, allocations: 184.3 kB / 1.059 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.071e-05/1.202, allocations: 180.2 kB / 1.059 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.052e-05/1.202, allocations: 176.3 kB / 1.059 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/1.202, allocations: 315.5 kB / 1.06 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/1.202, allocations: 190 kB / 1.06 GB, free: 11.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.464e-05/1.202, allocations: 180.2 kB / 1.06 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.202, allocations: 105.8 kB / 1.06 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.535e-05/1.202, allocations: 184.2 kB / 1.06 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.94e-05/1.202, allocations: 105 kB / 1.06 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.62e-05/1.202, allocations: 92.25 kB / 1.061 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/1.202, allocations: 4 kB / 1.061 GB, free: 11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001432/1.204, allocations: 326.2 kB / 1.061 GB, free: 10.7 MB / 0.6823 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 () * 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.002682/1.207, allocations: 1.212 MB / 1.062 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001916/1.207, allocations: 48.89 kB / 1.062 GB, free: 9.422 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.207, allocations: 3.938 kB / 1.062 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.608e-06/1.207, allocations: 0 / 1.062 GB, free: 9.418 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/1.207, allocations: 0.5221 MB / 1.063 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/1.209, allocations: 341.2 kB / 1.063 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/1.209, allocations: 0.6926 MB / 1.064 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 2.765e-05/1.209, allocations: 0 / 1.064 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/1.209, allocations: 13.88 kB / 1.064 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of SimCode: time 1.704e-06/1.209, allocations: 0 / 1.064 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04238/1.252, allocations: 6.436 MB / 1.07 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000449/1.252, allocations: 273.1 kB / 1.07 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.723/3.975, allocations: 3.938 kB / 1.07 GB, free: 1.18 MB / 0.6823 GB