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.Examples.InternalResistancesTwoUTube.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.Examples.InternalResistancesTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.205/2.205, allocations: 248.5 MB / 261.1 MB, free: 6.023 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.001567/0.001567, allocations: 194.1 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.061/2.061, allocations: 205.1 MB / 0.571 GB, free: 11.83 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.001149, allocations: 93.2 kB / 0.6754 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.201e-05/4.215e-05, allocations: 7.984 kB / 0.787 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2113, allocations: 106.2 MB / 0.8907 GB, free: 7.434 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8758/1.087, allocations: 142.2 MB / 1.03 GB, free: 9.078 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/1.088, allocations: 111.2 kB / 1.03 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09578/1.183, allocations: 22.22 MB / 1.051 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.023e-06/1.183, allocations: 0 / 1.051 GB, free: 6.242 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.226e-05/1.183, allocations: 12 kB / 1.051 GB, free: 6.23 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001767/1.185, allocations: 0.7594 MB / 1.052 GB, free: 5.465 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/1.185, allocations: 11.97 kB / 1.052 GB, free: 5.453 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00015/1.185, allocations: 86.08 kB / 1.052 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001713/1.186, allocations: 74.41 kB / 1.052 GB, free: 5.316 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008517/1.186, allocations: 435.6 kB / 1.053 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.088e-05/1.187, allocations: 33.69 kB / 1.053 GB, free: 4.906 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/1.187, allocations: 53.7 kB / 1.053 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/1.188, allocations: 404.2 kB / 1.053 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/1.188, allocations: 0 / 1.053 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.163e-05/1.188, allocations: 16.94 kB / 1.053 GB, free: 4.605 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.728e-05/1.188, allocations: 16 kB / 1.053 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009182/1.189, allocations: 328.7 kB / 1.054 GB, free: 4.383 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003264/1.192, allocations: 1.534 MB / 1.055 GB, free: 3.176 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/1.193, allocations: 321.2 kB / 1.055 GB, free: 2.965 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006732/1.194, allocations: 335.6 kB / 1.056 GB, free: 2.742 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.48e-05/1.194, allocations: 4 kB / 1.056 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/1.194, allocations: 37.08 kB / 1.056 GB, free: 2.695 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 4.057e-06/1.194, allocations: 4 kB / 1.056 GB, free: 2.691 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0009028/1.195, allocations: 350.2 kB / 1.056 GB, free: 2.434 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/1.195, allocations: 55.41 kB / 1.056 GB, free: 2.367 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008121/1.195, allocations: 427.1 kB / 1.057 GB, free: 2.039 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/1.196, allocations: 31.27 kB / 1.057 GB, free: 2.008 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/1.196, allocations: 274.5 kB / 1.057 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/1.196, allocations: 142.5 kB / 1.057 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.646e-05/1.196, allocations: 7 kB / 1.057 GB, free: 1.695 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000189/1.196, allocations: 360.1 kB / 1.057 GB, free: 1.355 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002917/1.197, allocations: 110.3 kB / 1.057 GB, free: 1.289 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/1.197, allocations: 111.4 kB / 1.058 GB, free: 1.223 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/1.197, allocations: 127.8 kB / 1.058 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/1.197, allocations: 0 / 1.058 GB, free: 1.145 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008853/1.198, allocations: 371.2 kB / 1.058 GB, free: 0.8789 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.198, allocations: 4 kB / 1.058 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.198, allocations: 0 / 1.058 GB, free: 0.875 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/1.198, allocations: 11.94 kB / 1.058 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009776/1.199, allocations: 127.2 kB / 1.058 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.199, allocations: 4 kB / 1.058 GB, free: 0.7383 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/1.2, allocations: 50.72 kB / 1.058 GB, free: 0.6953 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/1.2, allocations: 8 kB / 1.058 GB, free: 0.6875 MB / 0.6667 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001787/1.2, allocations: 131.3 kB / 1.058 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/1.2, allocations: 51.34 kB / 1.058 GB, free: 0.5156 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/1.2, allocations: 55.64 kB / 1.058 GB, free: 0.4922 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/1.2, allocations: 7.953 kB / 1.058 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.2, allocations: 0 / 1.058 GB, free: 496 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.2, allocations: 7.984 kB / 1.058 GB, free: 488 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/1.201, allocations: 0.5659 MB / 1.059 GB, free: 4 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.201, allocations: 0 / 1.059 GB, free: 4 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.202, allocations: 135 kB / 1.059 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.735e-06/1.203, allocations: 0 / 1.059 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.727e-05/1.203, allocations: 7.312 kB / 1.059 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/1.203, allocations: 0 / 1.059 GB, free: 15.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.203, allocations: 11.95 kB / 1.059 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/1.204, allocations: 0.609 MB / 1.06 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/1.204, allocations: 134.7 kB / 1.06 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/1.204, allocations: 7.938 kB / 1.06 GB, free: 15.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004356/1.205, allocations: 30.34 kB / 1.06 GB, free: 15.24 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.235e-05/1.205, allocations: 23.91 kB / 1.06 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.298e-05/1.205, allocations: 15.39 kB / 1.06 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006278/1.205, allocations: 336.1 kB / 1.06 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.11e-07/1.205, allocations: 0 / 1.06 GB, free: 14.96 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006909/1.206, allocations: 158.2 kB / 1.06 GB, free: 14.82 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.00194/1.208, allocations: 1.305 MB / 1.062 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007549/1.209, allocations: 292.4 kB / 1.062 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.209, allocations: 0 / 1.062 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003656/1.209, allocations: 165.6 kB / 1.062 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000916/1.21, allocations: 112.4 kB / 1.062 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002925/1.213, allocations: 1.029 MB / 1.063 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/1.214, allocations: 0.8783 MB / 1.064 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003747/1.214, allocations: 64.28 kB / 1.064 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003562/1.215, allocations: 195.3 kB / 1.064 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of SimCode: time 1.162e-06/1.215, allocations: 0 / 1.064 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04558/1.26, allocations: 12.54 MB / 1.077 GB, free: 15.02 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002961/1.261, allocations: 225.3 kB / 1.077 GB, free: 14.79 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.941/4.201, allocations: 0 / 1.077 GB, free: 14.79 MB / 0.698 GB