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.32/2.32, allocations: 248.7 MB / 256.2 MB, free: 7.043 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.001607/0.001607, allocations: 174.5 kB / 315.4 MB, free: 4.039 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.265/2.265, allocations: 205.3 MB / 0.5662 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001333/0.001332, allocations: 97.25 kB / 0.6704 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.54e-05, allocations: 7.938 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2547, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9538/1.209, allocations: 142.5 MB / 1.023 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005047/1.209, allocations: 119.1 kB / 1.023 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.09776/1.307, allocations: 21.94 MB / 1.045 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.964e-06/1.307, allocations: 0 / 1.045 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.437e-05/1.307, allocations: 12 kB / 1.045 GB, free: 10.21 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.001712/1.309, allocations: 0.7586 MB / 1.046 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 7.072e-05/1.309, allocations: 8.031 kB / 1.046 GB, free: 9.438 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/1.309, allocations: 71.16 kB / 1.046 GB, free: 9.367 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009226/1.31, allocations: 437.2 kB / 1.046 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/1.31, allocations: 12 kB / 1.046 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/1.31, allocations: 31.95 kB / 1.046 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009126/1.311, allocations: 305.1 kB / 1.046 GB, free: 8.754 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009388/1.312, allocations: 339.4 kB / 1.047 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/1.312, allocations: 0 / 1.047 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.244e-05/1.312, allocations: 0 / 1.047 GB, free: 8.508 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/1.312, allocations: 15.98 kB / 1.047 GB, free: 8.492 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/1.316, allocations: 1.432 MB / 1.048 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/1.316, allocations: 301.2 kB / 1.048 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005824/1.317, allocations: 277.6 kB / 1.049 GB, free: 7 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/1.317, allocations: 11.72 kB / 1.049 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.317, allocations: 34.06 kB / 1.049 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=42): time 4.829e-06/1.317, allocations: 8 kB / 1.049 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of matching and sorting (n=42): time 0.0008913/1.318, allocations: 311.3 kB / 1.049 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/1.318, allocations: 59.36 kB / 1.049 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007263/1.319, allocations: 372.7 kB / 1.049 GB, free: 6.355 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/1.319, allocations: 25.7 kB / 1.049 GB, free: 6.324 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/1.319, allocations: 277.7 kB / 1.05 GB, free: 6.129 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/1.319, allocations: 136.2 kB / 1.05 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/1.319, allocations: 0 / 1.05 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.32, allocations: 363 kB / 1.05 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/1.32, allocations: 98.56 kB / 1.05 GB, free: 5.609 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002554/1.32, allocations: 99.88 kB / 1.05 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003045/1.32, allocations: 116.6 kB / 1.051 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/1.32, allocations: 0.7656 kB / 1.051 GB, free: 5.492 MB / 0.6667 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008541/1.321, allocations: 333.8 kB / 1.051 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.321, allocations: 8 kB / 1.051 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.321, allocations: 0 / 1.051 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.702e-05/1.321, allocations: 0 / 1.051 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/1.322, allocations: 131.2 kB / 1.051 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.322, allocations: 0 / 1.051 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005177/1.323, allocations: 50.98 kB / 1.051 GB, free: 5.066 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/1.323, allocations: 12 kB / 1.051 GB, free: 5.055 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.0001469/1.323, allocations: 113.6 kB / 1.051 GB, free: 4.938 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007685/1.324, allocations: 314.6 kB / 1.051 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.324, allocations: 47.12 kB / 1.051 GB, free: 4.66 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001968/1.324, allocations: 46.66 kB / 1.052 GB, free: 4.637 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.324, allocations: 8 kB / 1.052 GB, free: 4.629 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/1.324, allocations: 3.953 kB / 1.052 GB, free: 4.625 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/1.324, allocations: 3.984 kB / 1.052 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009805/1.325, allocations: 0.4917 MB / 1.052 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/1.325, allocations: 0 / 1.052 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/1.326, allocations: 134.2 kB / 1.052 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.326, allocations: 0 / 1.052 GB, free: 4.094 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/1.327, allocations: 3.984 kB / 1.052 GB, free: 4.09 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/1.327, allocations: 4 kB / 1.052 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.327, allocations: 0 / 1.052 GB, free: 4.086 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/1.328, allocations: 0.564 MB / 1.053 GB, free: 3.664 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002261/1.328, allocations: 139.3 kB / 1.053 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/1.328, allocations: 0 / 1.053 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004249/1.329, allocations: 11.98 kB / 1.053 GB, free: 3.504 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.252e-05/1.329, allocations: 23.28 kB / 1.053 GB, free: 3.484 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/1.329, allocations: 15.38 kB / 1.053 GB, free: 3.473 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005559/1.329, allocations: 299.7 kB / 1.053 GB, free: 3.254 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.81e-07/1.329, allocations: 4 kB / 1.053 GB, free: 3.25 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006695/1.33, allocations: 135.5 kB / 1.053 GB, free: 3.117 MB / 0.6667 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.001844/1.332, allocations: 1.282 MB / 1.055 GB, free: 1.98 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007028/1.333, allocations: 273 kB / 1.055 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.333, allocations: 0 / 1.055 GB, free: 1.809 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003412/1.333, allocations: 156.9 kB / 1.055 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007963/1.334, allocations: 87.94 kB / 1.055 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/1.337, allocations: 0.9743 MB / 1.056 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006898/1.338, allocations: 0.8779 MB / 1.057 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003802/1.338, allocations: 47.38 kB / 1.057 GB, free: 15.77 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003791/1.338, allocations: 196.8 kB / 1.057 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of SimCode: time 1.402e-06/1.338, allocations: 4 kB / 1.057 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05762/1.396, allocations: 9.326 MB / 1.066 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/1.396, allocations: 218.2 kB / 1.066 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/4.134, allocations: 0 / 1.066 GB, free: 6.195 MB / 0.6823 GB