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.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.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_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.473/2.473, allocations: 248.7 MB / 256.2 MB, free: 7.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.001611/0.001611, allocations: 179.2 kB / 315.4 MB, free: 4.023 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.168/2.168, allocations: 205.3 MB / 0.5662 GB, free: 0.5703 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.001161/0.001161, allocations: 105.4 kB / 0.6704 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.759e-05/2.774e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1973/0.1974, allocations: 106.3 MB / 0.8841 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.96/1.157, allocations: 140.3 MB / 1.021 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004652/1.158, allocations: 117.5 kB / 1.021 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0823/1.24, allocations: 17.76 MB / 1.039 GB, free: 148 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/1.24, allocations: 0 / 1.039 GB, free: 148 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.537e-05/1.24, allocations: 8 kB / 1.039 GB, free: 140 kB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001123/1.241, allocations: 0.5792 MB / 1.039 GB, free: 15.53 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.242, allocations: 8.031 kB / 1.039 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/1.242, allocations: 47.44 kB / 1.039 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007221/1.242, allocations: 346.4 kB / 1.04 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.382e-05/1.242, allocations: 8 kB / 1.04 GB, free: 15.14 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/1.242, allocations: 16 kB / 1.04 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003995/1.243, allocations: 126.1 kB / 1.04 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004269/1.243, allocations: 152.7 kB / 1.04 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/1.243, allocations: 8.234 kB / 1.04 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/1.243, allocations: 3.953 kB / 1.04 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/1.243, allocations: 7.938 kB / 1.04 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001824/1.245, allocations: 0.8144 MB / 1.041 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003329/1.246, allocations: 140.4 kB / 1.041 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/1.246, allocations: 90.86 kB / 1.041 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/1.246, allocations: 0 / 1.041 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/1.246, allocations: 30.56 kB / 1.041 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 4.789e-06/1.246, allocations: 3.984 kB / 1.041 GB, free: 14 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0004992/1.246, allocations: 159.5 kB / 1.041 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/1.247, allocations: 55.41 kB / 1.041 GB, free: 13.81 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006043/1.247, allocations: 336.1 kB / 1.041 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/1.247, allocations: 25.7 kB / 1.041 GB, free: 13.51 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/1.247, allocations: 198.3 kB / 1.042 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 8.364e-05/1.248, allocations: 64.91 kB / 1.042 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/1.248, allocations: 0 / 1.042 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.248, allocations: 344.3 kB / 1.042 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.248, allocations: 40.75 kB / 1.042 GB, free: 12.96 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001181/1.248, allocations: 44.83 kB / 1.042 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/1.248, allocations: 52.2 kB / 1.042 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/1.248, allocations: 0 / 1.042 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004055/1.249, allocations: 164.6 kB / 1.042 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/1.249, allocations: 8 kB / 1.042 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.249, allocations: 0 / 1.042 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/1.249, allocations: 3.984 kB / 1.042 GB, free: 12.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/1.249, allocations: 55.91 kB / 1.042 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/1.249, allocations: 0 / 1.042 GB, free: 12.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/1.249, allocations: 27.83 kB / 1.042 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/1.249, allocations: 7.438 kB / 1.042 GB, free: 12.68 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 (20): * Single equations (assignments): 20 * 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.0001151/1.25, allocations: 104.9 kB / 1.043 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003739/1.25, allocations: 159.1 kB / 1.043 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-05/1.25, allocations: 31.62 kB / 1.043 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/1.25, allocations: 33.75 kB / 1.043 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.25, allocations: 4 kB / 1.043 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/1.25, allocations: 4 kB / 1.043 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/1.25, allocations: 0 / 1.043 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005659/1.251, allocations: 337.6 kB / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.251, allocations: 0 / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/1.251, allocations: 63.89 kB / 1.043 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.251, allocations: 0 / 1.043 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/1.251, allocations: 4 kB / 1.043 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/1.251, allocations: 0 / 1.043 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.251, allocations: 0 / 1.043 GB, free: 12.01 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006244/1.252, allocations: 332.2 kB / 1.043 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/1.252, allocations: 115.5 kB / 1.044 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.139e-05/1.252, allocations: 3.938 kB / 1.044 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/1.253, allocations: 11.98 kB / 1.044 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/1.253, allocations: 7.984 kB / 1.044 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/1.253, allocations: 4.062 kB / 1.044 GB, free: 11.58 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000458/1.253, allocations: 265.9 kB / 1.044 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.8e-07/1.253, allocations: 0 / 1.044 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005234/1.254, allocations: 87.11 kB / 1.044 GB, free: 11.3 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.00139/1.255, allocations: 1.016 MB / 1.045 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003409/1.256, allocations: 114.5 kB / 1.045 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/1.256, allocations: 0 / 1.045 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/1.256, allocations: 64.5 kB / 1.045 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007244/1.256, allocations: 73.23 kB / 1.045 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/1.258, allocations: 0.5811 MB / 1.046 GB, free: 9.609 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005475/1.259, allocations: 0.8021 MB / 1.047 GB, free: 8.789 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002053/1.259, allocations: 31.28 kB / 1.047 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/1.259, allocations: 114.6 kB / 1.047 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of SimCode: time 1.072e-06/1.259, allocations: 0 / 1.047 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05183/1.311, allocations: 6.815 MB / 1.053 GB, free: 1.992 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003909/1.312, allocations: 218.8 kB / 1.054 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.873, allocations: 0 / 1.054 GB, free: 1.699 MB / 0.6667 GB