Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.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.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",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.209/2.209, allocations: 248.7 MB / 256.2 MB, free: 7.016 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.001536/0.001536, allocations: 182 kB / 315.4 MB, free: 4 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.036/2.036, allocations: 205.3 MB / 0.5662 GB, free: 0.6172 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.001599/0.001598, allocations: 88.42 kB / 0.6704 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.923e-05, allocations: 4 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1954, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.883/2.078, allocations: 414.1 MB / 1.288 GB, free: 262 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003861/2.079, allocations: 102.7 kB / 1.289 GB, free: 262 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.555/4.634, allocations: 0.5358 GB / 1.824 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.653e-06/4.634, allocations: 0 / 1.824 GB, free: 104.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001311/4.634, allocations: 38.97 kB / 1.824 GB, free: 104.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004744/4.639, allocations: 1.41 MB / 1.826 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/4.639, allocations: 8.562 kB / 1.826 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009016/4.64, allocations: 154.3 kB / 1.826 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/4.644, allocations: 1.377 MB / 1.827 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.164e-05/4.644, allocations: 24 kB / 1.827 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00017/4.644, allocations: 64.62 kB / 1.827 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001559/4.646, allocations: 0.5507 MB / 1.828 GB, free: 101 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/4.648, allocations: 0.7334 MB / 1.829 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/4.648, allocations: 7.906 kB / 1.829 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.677e-05/4.648, allocations: 4 kB / 1.829 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-05/4.648, allocations: 27.98 kB / 1.829 GB, free: 100.2 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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.006693/4.655, allocations: 4.143 MB / 1.833 GB, free: 95.84 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/4.656, allocations: 0.4965 MB / 1.833 GB, free: 95.34 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006209/4.657, allocations: 294.5 kB / 1.833 GB, free: 95.05 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007241/4.657, allocations: 0.6082 MB / 1.834 GB, free: 94.31 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/4.657, allocations: 39.23 kB / 1.834 GB, free: 94.27 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 3.276e-06/4.657, allocations: 3.938 kB / 1.834 GB, free: 94.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.002141/4.659, allocations: 0.6259 MB / 1.835 GB, free: 93.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/4.66, allocations: 59.97 kB / 1.835 GB, free: 93.54 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/4.661, allocations: 0.6962 MB / 1.835 GB, free: 92.84 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/4.661, allocations: 29.7 kB / 1.835 GB, free: 92.81 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004606/4.661, allocations: 0.5188 MB / 1.836 GB, free: 92.28 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002151/4.662, allocations: 193.1 kB / 1.836 GB, free: 92.09 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.759e-05/4.662, allocations: 0 / 1.836 GB, free: 92.09 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.169e-05/4.662, allocations: 334 kB / 1.836 GB, free: 91.76 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004199/4.662, allocations: 177.5 kB / 1.837 GB, free: 91.58 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/4.663, allocations: 364.4 kB / 1.837 GB, free: 91.15 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/4.664, allocations: 308.1 kB / 1.837 GB, free: 90.85 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/4.664, allocations: 0 / 1.837 GB, free: 90.85 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002504/4.666, allocations: 0.7819 MB / 1.838 GB, free: 90.05 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000288/4.667, allocations: 1.316 MB / 1.839 GB, free: 88.63 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/4.667, allocations: 8 kB / 1.839 GB, free: 88.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/4.667, allocations: 127.2 kB / 1.839 GB, free: 88.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/4.668, allocations: 127.8 kB / 1.84 GB, free: 88.37 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003558/4.672, allocations: 4.686 MB / 1.844 GB, free: 83.32 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/4.674, allocations: 87.38 kB / 1.844 GB, free: 83.23 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/4.674, allocations: 35.98 kB / 1.844 GB, free: 83.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/4.674, allocations: 8 kB / 1.844 GB, free: 83.19 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002095/4.676, allocations: 0.637 MB / 1.845 GB, free: 82.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/4.676, allocations: 4 kB / 1.845 GB, free: 82.54 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004338/4.676, allocations: 127.2 kB / 1.845 GB, free: 82.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008662/4.677, allocations: 132.1 kB / 1.845 GB, free: 82.27 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004351/4.682, allocations: 5.611 MB / 1.851 GB, free: 76.19 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/4.683, allocations: 83.44 kB / 1.851 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/4.683, allocations: 32 kB / 1.851 GB, free: 76.08 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002279/4.683, allocations: 120.8 kB / 1.851 GB, free: 75.95 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001831/4.685, allocations: 0.6104 MB / 1.851 GB, free: 75.32 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/4.685, allocations: 98.78 kB / 1.852 GB, free: 75.23 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001998/4.688, allocations: 0.6749 MB / 1.852 GB, free: 74.53 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/4.688, allocations: 15.94 kB / 1.852 GB, free: 74.51 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/4.688, allocations: 3.938 kB / 1.852 GB, free: 74.51 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001495/4.689, allocations: 0.6455 MB / 1.853 GB, free: 73.82 MB / 0.8698 GB Warning: The model contains alias variables with conflicting start and/or 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 postOpt removeSimpleEquations (simulation): time 0.004154/4.693, allocations: 1.709 MB / 1.855 GB, free: 72.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/4.693, allocations: 4 kB / 1.855 GB, free: 72.04 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007089/4.694, allocations: 88.02 kB / 1.855 GB, free: 71.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003786/4.694, allocations: 107.6 kB / 1.855 GB, free: 71.83 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/4.694, allocations: 8 kB / 1.855 GB, free: 71.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003262/4.698, allocations: 4.652 MB / 1.859 GB, free: 66.81 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/4.698, allocations: 11.95 kB / 1.859 GB, free: 66.8 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002558/4.7, allocations: 1.079 MB / 1.86 GB, free: 65.66 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007774/4.701, allocations: 259.8 kB / 1.861 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001957/4.701, allocations: 0 / 1.861 GB, free: 65.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/4.702, allocations: 59.78 kB / 1.861 GB, free: 65.32 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/4.703, allocations: 44.5 kB / 1.861 GB, free: 65.28 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-05/4.703, allocations: 27.52 kB / 1.861 GB, free: 65.26 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009997/4.704, allocations: 0.5304 MB / 1.861 GB, free: 64.73 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.21e-07/4.704, allocations: 0 / 1.861 GB, free: 64.73 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003961/4.708, allocations: 0.756 MB / 1.862 GB, free: 63.98 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004146/4.712, allocations: 2.437 MB / 1.864 GB, free: 61.53 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002806/4.715, allocations: 1.661 MB / 1.866 GB, free: 59.79 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/4.715, allocations: 0 / 1.866 GB, free: 59.79 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009117/4.716, allocations: 0.574 MB / 1.867 GB, free: 59.19 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/4.72, allocations: 0.4907 MB / 1.867 GB, free: 58.69 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004784/4.725, allocations: 1.761 MB / 1.869 GB, free: 56.88 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/4.725, allocations: 1.121 MB / 1.87 GB, free: 55.73 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001836/4.727, allocations: 267.5 kB / 1.87 GB, free: 55.47 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006676/4.728, allocations: 399.3 kB / 1.87 GB, free: 55.08 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/4.728, allocations: 4 kB / 1.87 GB, free: 55.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09899/4.827, allocations: 32.4 MB / 1.902 GB, free: 22.83 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002225/4.827, allocations: 199.5 kB / 1.902 GB, free: 22.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.784/8.611, allocations: 0 / 1.902 GB, free: 22.57 MB / 0.8698 GB