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.185/2.185, allocations: 251 MB / 265.9 MB, free: 11.68 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.001522/0.001522, allocations: 186.6 kB / 325.5 MB, free: 2.863 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.287/2.287, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001142/0.001142, allocations: 99.92 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004859/0.000486, allocations: 11.06 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 106.3 MB / 0.8988 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/0.4572, allocations: 142.3 MB / 1.038 GB, free: 3.422 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004169/0.4576, allocations: 115.9 kB / 1.038 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.699/1.157, allocations: 22.17 MB / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.225e-06/1.157, allocations: 0 / 1.06 GB, free: 147.4 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.039e-05/1.157, allocations: 11.66 kB / 1.06 GB, free: 147.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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002051/1.159, allocations: 0.8499 MB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.159, allocations: 12.97 kB / 1.06 GB, free: 146.9 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002167/1.159, allocations: 90.48 kB / 1.061 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/1.159, allocations: 71.86 kB / 1.061 GB, free: 146.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008451/1.16, allocations: 433.1 kB / 1.061 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.898e-05/1.16, allocations: 36.31 kB / 1.061 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/1.16, allocations: 52.89 kB / 1.061 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/1.162, allocations: 423.4 kB / 1.061 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/1.162, allocations: 4.766 kB / 1.061 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/1.162, allocations: 19.75 kB / 1.062 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/1.162, allocations: 11.53 kB / 1.062 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001144/1.163, allocations: 375.5 kB / 1.062 GB, free: 146.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003613/1.167, allocations: 1.547 MB / 1.063 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008017/1.167, allocations: 341.4 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/1.168, allocations: 2.906 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.168, allocations: 37.94 kB / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of pre-optimization done (n=42): time 2.645e-06/1.168, allocations: 0 / 1.064 GB, free: 146 MB / 0.698 GB Notification: Performance of matching and sorting (n=42): time 0.001574/1.169, allocations: 0.5008 MB / 1.064 GB, free: 145.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.169, allocations: 58.3 kB / 1.064 GB, free: 145.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008229/1.17, allocations: 432.8 kB / 1.065 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/1.17, allocations: 32.33 kB / 1.065 GB, free: 145.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/1.17, allocations: 272 kB / 1.065 GB, free: 145.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/1.171, allocations: 149.9 kB / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/1.171, allocations: 6.812 kB / 1.065 GB, free: 145.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001316/1.171, allocations: 363 kB / 1.065 GB, free: 145.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004081/1.171, allocations: 126.6 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003809/1.172, allocations: 128.1 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/1.172, allocations: 144 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.172, allocations: 0 / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001219/1.173, allocations: 400.5 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.173, allocations: 8.375 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/1.173, allocations: 0.7031 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/1.173, allocations: 2.5 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009722/1.174, allocations: 132.5 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.174, allocations: 5.719 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/1.175, allocations: 60.16 kB / 1.066 GB, free: 145.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/1.175, allocations: 7.344 kB / 1.066 GB, free: 145.1 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 (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.0004124/1.175, allocations: 196.6 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000143/1.176, allocations: 55.23 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/1.176, allocations: 61.25 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.235e-05/1.176, allocations: 5 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-05/1.176, allocations: 0 / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/1.176, allocations: 3.156 kB / 1.067 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/1.177, allocations: 0.5749 MB / 1.067 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/1.177, allocations: 0 / 1.067 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.178, allocations: 127 kB / 1.067 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/1.178, allocations: 1.719 kB / 1.067 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/1.178, allocations: 10.47 kB / 1.067 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.184e-06/1.178, allocations: 1.844 kB / 1.067 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.178, allocations: 0 / 1.067 GB, free: 144.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.18, allocations: 0.668 MB / 1.068 GB, free: 144.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000271/1.18, allocations: 135.8 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/1.18, allocations: 11.38 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/1.181, allocations: 23.06 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.181, allocations: 24.11 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/1.181, allocations: 11.62 kB / 1.068 GB, free: 144.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007601/1.182, allocations: 346.1 kB / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.51e-07/1.182, allocations: 0 / 1.069 GB, free: 144.3 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0008957/1.183, allocations: 161.9 kB / 1.069 GB, free: 144.3 MB / 0.698 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 () * Number of clocked 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.00252/1.185, allocations: 1.376 MB / 1.07 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001141/1.187, allocations: 328.2 kB / 1.07 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.187, allocations: 4 kB / 1.07 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005435/1.187, allocations: 181.8 kB / 1.071 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/1.188, allocations: 117.4 kB / 1.071 GB, free: 143.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008558/1.197, allocations: 3.276 MB / 1.074 GB, free: 142.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/1.197, allocations: 0.8781 MB / 1.075 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004771/1.198, allocations: 58.95 kB / 1.075 GB, free: 141.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000519/1.198, allocations: 200.2 kB / 1.075 GB, free: 141.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.302e-06/1.198, allocations: 0 / 1.075 GB, free: 141.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/1.261, allocations: 12.37 MB / 1.087 GB, free: 140.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003178/1.261, allocations: 260.8 kB / 1.087 GB, free: 139.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.899/4.161, allocations: 3.969 kB / 1.087 GB, free: 139.9 MB / 0.698 GB