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.InternalHEXOneUTube.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.InternalHEXOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",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.145/2.145, allocations: 251 MB / 265.9 MB, free: 11.67 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.001567/0.001566, allocations: 174.7 kB / 325.5 MB, free: 2.891 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.316/2.316, allocations: 205.4 MB / 0.5764 GB, free: 20.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.001184/0.001183, allocations: 101.9 kB / 0.6809 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004665, allocations: 11.84 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2247, allocations: 106.3 MB / 0.8988 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.481, allocations: 405.8 MB / 1.295 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004934/1.481, allocations: 127.7 kB / 1.295 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.894/4.375, allocations: 477 MB / 1.761 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.056e-06/4.375, allocations: 0 / 1.761 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002483/4.376, allocations: 48.58 kB / 1.761 GB, free: 169.5 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.008358/4.384, allocations: 2.274 MB / 1.763 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/4.384, allocations: 11.34 kB / 1.763 GB, free: 168.8 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005482/4.385, allocations: 160.4 kB / 1.764 GB, free: 168.7 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/4.386, allocations: 205.1 kB / 1.764 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005913/4.392, allocations: 1.713 MB / 1.765 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.958e-05/4.392, allocations: 82.58 kB / 1.765 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002726/4.392, allocations: 120.8 kB / 1.766 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002893/4.395, allocations: 1.071 MB / 1.767 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.239e-05/4.395, allocations: 1.281 kB / 1.767 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001514/4.395, allocations: 40.41 kB / 1.767 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/4.395, allocations: 26.5 kB / 1.767 GB, free: 168.2 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/4.398, allocations: 0.7975 MB / 1.767 GB, free: 168.1 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01214/4.41, allocations: 6.481 MB / 1.774 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/4.411, allocations: 0.5545 MB / 1.774 GB, free: 164.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001281/4.412, allocations: 1.27 MB / 1.776 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.613e-05/4.413, allocations: 45.19 kB / 1.776 GB, free: 163 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=68): time 3.126e-06/4.413, allocations: 0 / 1.776 GB, free: 163 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68): time 0.003507/4.416, allocations: 1.15 MB / 1.777 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/4.416, allocations: 85.05 kB / 1.777 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/4.42, allocations: 1.369 MB / 1.778 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002786/4.42, allocations: 44.83 kB / 1.778 GB, free: 162.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000864/4.421, allocations: 0.7128 MB / 1.779 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003847/4.422, allocations: 245.9 kB / 1.779 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.831e-05/4.422, allocations: 19.06 kB / 1.779 GB, free: 162.1 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001067/4.422, allocations: 345.5 kB / 1.78 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000883/4.423, allocations: 270.6 kB / 1.78 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00105/4.424, allocations: 497 kB / 1.78 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009565/4.425, allocations: 355 kB / 1.781 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/4.425, allocations: 2.5 kB / 1.781 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003064/4.428, allocations: 0.9855 MB / 1.782 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003306/4.428, allocations: 1.348 MB / 1.783 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/4.428, allocations: 5.062 kB / 1.783 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004623/4.429, allocations: 74.19 kB / 1.783 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/4.43, allocations: 184.7 kB / 1.783 GB, free: 160 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002625/4.433, allocations: 2.99 MB / 1.786 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/4.435, allocations: 152.3 kB / 1.786 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002011/4.435, allocations: 42.39 kB / 1.786 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/4.435, allocations: 3.938 kB / 1.786 GB, free: 157.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002212/4.438, allocations: 0.8084 MB / 1.787 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/4.438, allocations: 7.875 kB / 1.787 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/4.438, allocations: 73.16 kB / 1.787 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/4.439, allocations: 170.3 kB / 1.787 GB, free: 157.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00252/4.442, allocations: 2.983 MB / 1.79 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/4.444, allocations: 134.6 kB / 1.79 GB, free: 154.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/4.444, allocations: 39.09 kB / 1.79 GB, free: 154.5 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001251/4.445, allocations: 447.4 kB / 1.791 GB, free: 154.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006059/4.446, allocations: 157.8 kB / 1.791 GB, free: 154.2 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002723/4.449, allocations: 0.9892 MB / 1.792 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.183e-05/4.449, allocations: 7.688 kB / 1.792 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/4.449, allocations: 7.453 kB / 1.792 GB, free: 154.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001637/4.451, allocations: 0.7817 MB / 1.793 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006945/4.458, allocations: 2.641 MB / 1.795 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/4.458, allocations: 7.891 kB / 1.795 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/4.459, allocations: 133.5 kB / 1.795 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000351/4.459, allocations: 73.02 kB / 1.795 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.727e-05/4.459, allocations: 19.92 kB / 1.795 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/4.462, allocations: 2.993 MB / 1.798 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/4.462, allocations: 6.875 kB / 1.798 GB, free: 150.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003359/4.465, allocations: 1.593 MB / 1.8 GB, free: 149.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/4.466, allocations: 375.6 kB / 1.8 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/4.467, allocations: 18.31 kB / 1.8 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/4.468, allocations: 59.08 kB / 1.8 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/4.468, allocations: 61.44 kB / 1.8 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.31e-05/4.468, allocations: 28.25 kB / 1.8 GB, free: 149.7 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002613/4.471, allocations: 1.088 MB / 1.802 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.81e-07/4.471, allocations: 0 / 1.802 GB, free: 149.6 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.005754/4.477, allocations: 1.198 MB / 1.803 GB, free: 149.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008413/4.485, allocations: 4.098 MB / 1.807 GB, free: 147.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004237/4.49, allocations: 1.663 MB / 1.808 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/4.49, allocations: 3.656 kB / 1.808 GB, free: 146.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/4.491, allocations: 0.5799 MB / 1.809 GB, free: 146.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006877/4.498, allocations: 0.8144 MB / 1.81 GB, free: 146.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/4.509, allocations: 6.791 MB / 1.816 GB, free: 142.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009595/4.51, allocations: 1.303 MB / 1.818 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00245/4.513, allocations: 374.2 kB / 1.818 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001418/4.514, allocations: 0.6185 MB / 1.819 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.082e-06/4.514, allocations: 0 / 1.819 GB, free: 141.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1359/4.65, allocations: 56.29 MB / 1.874 GB, free: 139.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/4.651, allocations: 290.1 kB / 1.874 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.179/9.83, allocations: 0 / 1.874 GB, free: 138.8 MB / 0.8855 GB