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.207/2.207, allocations: 248.5 MB / 261.1 MB, free: 6.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.001465/0.001464, allocations: 178.6 kB / 320.4 MB, free: 15.34 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.2 MB / 0.571 GB, free: 11.74 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.001087/0.001087, allocations: 90.42 kB / 0.6754 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.526e-05/3.543e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.237, allocations: 106.3 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.908/2.145, allocations: 413.8 MB / 1.295 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/2.145, allocations: 105.4 kB / 1.295 GB, free: 260.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.413/4.558, allocations: 0.5385 GB / 1.833 GB, free: 94.86 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.424e-06/4.558, allocations: 0 / 1.833 GB, free: 94.86 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001511/4.558, allocations: 28 kB / 1.833 GB, free: 94.83 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.003759/4.562, allocations: 1.419 MB / 1.835 GB, free: 93.37 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/4.562, allocations: 8.031 kB / 1.835 GB, free: 93.36 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003046/4.562, allocations: 131.3 kB / 1.835 GB, free: 93.22 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006836/4.563, allocations: 158.3 kB / 1.835 GB, free: 93.07 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004324/4.567, allocations: 1.378 MB / 1.836 GB, free: 91.64 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.155e-05/4.568, allocations: 66.69 kB / 1.837 GB, free: 91.58 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/4.568, allocations: 95.84 kB / 1.837 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/4.57, allocations: 0.8584 MB / 1.837 GB, free: 90.59 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.683e-05/4.57, allocations: 7.984 kB / 1.837 GB, free: 90.59 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/4.57, allocations: 32 kB / 1.837 GB, free: 90.55 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.565e-05/4.57, allocations: 24 kB / 1.838 GB, free: 90.53 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001591/4.572, allocations: 0.6052 MB / 1.838 GB, free: 89.93 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.007366/4.579, allocations: 4.312 MB / 1.842 GB, free: 85.32 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/4.58, allocations: 0.5129 MB / 1.843 GB, free: 84.79 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007297/4.581, allocations: 322.2 kB / 1.843 GB, free: 84.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000755/4.582, allocations: 0.594 MB / 1.844 GB, free: 83.75 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/4.582, allocations: 43.08 kB / 1.844 GB, free: 83.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 3.376e-06/4.582, allocations: 0 / 1.844 GB, free: 83.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.00192/4.584, allocations: 0.6307 MB / 1.844 GB, free: 83.05 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.153e-05/4.584, allocations: 55.97 kB / 1.844 GB, free: 82.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/4.586, allocations: 0.7927 MB / 1.845 GB, free: 82.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/4.586, allocations: 37.7 kB / 1.845 GB, free: 82.12 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000436/4.586, allocations: 0.5152 MB / 1.846 GB, free: 81.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/4.586, allocations: 197 kB / 1.846 GB, free: 81.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/4.587, allocations: 16 kB / 1.846 GB, free: 81.39 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.269e-05/4.587, allocations: 333.9 kB / 1.846 GB, free: 81.06 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004737/4.587, allocations: 185.5 kB / 1.846 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/4.588, allocations: 389.7 kB / 1.847 GB, free: 80.42 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005772/4.588, allocations: 267.6 kB / 1.847 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.912e-06/4.588, allocations: 0 / 1.847 GB, free: 80.16 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002047/4.59, allocations: 0.7898 MB / 1.848 GB, free: 79.35 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002717/4.591, allocations: 1.314 MB / 1.849 GB, free: 77.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/4.591, allocations: 4 kB / 1.849 GB, free: 77.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005941/4.591, allocations: 143.5 kB / 1.849 GB, free: 77.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008884/4.592, allocations: 135.8 kB / 1.849 GB, free: 77.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003751/4.596, allocations: 4.811 MB / 1.854 GB, free: 72.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/4.598, allocations: 111.3 kB / 1.854 GB, free: 72.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/4.598, allocations: 31.98 kB / 1.854 GB, free: 72.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/4.598, allocations: 7.953 kB / 1.854 GB, free: 72.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001728/4.6, allocations: 0.6764 MB / 1.855 GB, free: 71.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/4.6, allocations: 4 kB / 1.855 GB, free: 71.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004648/4.6, allocations: 127.3 kB / 1.855 GB, free: 71.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008336/4.601, allocations: 123.8 kB / 1.855 GB, free: 71.31 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004659/4.606, allocations: 5.822 MB / 1.861 GB, free: 64.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/4.607, allocations: 103.4 kB / 1.861 GB, free: 64.84 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/4.607, allocations: 35.95 kB / 1.861 GB, free: 64.8 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.0002592/4.608, allocations: 144.8 kB / 1.861 GB, free: 64.66 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/4.608, allocations: 102.8 kB / 1.861 GB, free: 64.55 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/4.61, allocations: 0.711 MB / 1.862 GB, free: 63.82 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/4.61, allocations: 11.98 kB / 1.862 GB, free: 63.81 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/4.61, allocations: 0 / 1.862 GB, free: 63.81 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/4.611, allocations: 0.6533 MB / 1.863 GB, free: 63.11 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.00414/4.616, allocations: 1.847 MB / 1.864 GB, free: 61.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/4.616, allocations: 3.984 kB / 1.864 GB, free: 61.18 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007209/4.616, allocations: 83.89 kB / 1.864 GB, free: 61.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004697/4.617, allocations: 131.3 kB / 1.865 GB, free: 60.95 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/4.617, allocations: 15.98 kB / 1.865 GB, free: 60.94 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/4.62, allocations: 4.812 MB / 1.869 GB, free: 55.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/4.62, allocations: 0 / 1.869 GB, free: 55.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002401/4.623, allocations: 1.108 MB / 1.87 GB, free: 54.53 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007241/4.624, allocations: 271.6 kB / 1.871 GB, free: 54.24 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/4.624, allocations: 12 kB / 1.871 GB, free: 54.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/4.625, allocations: 67.78 kB / 1.871 GB, free: 54.16 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/4.625, allocations: 44.5 kB / 1.871 GB, free: 54.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.757e-05/4.625, allocations: 23.98 kB / 1.871 GB, free: 54.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001228/4.626, allocations: 0.618 MB / 1.871 GB, free: 53.46 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.61e-07/4.626, allocations: 3.938 kB / 1.871 GB, free: 53.46 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003769/4.63, allocations: 0.7718 MB / 1.872 GB, free: 52.69 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.004142/4.634, allocations: 2.477 MB / 1.874 GB, free: 50.15 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003206/4.638, allocations: 1.753 MB / 1.876 GB, free: 48.29 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/4.638, allocations: 0 / 1.876 GB, free: 48.29 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009712/4.639, allocations: 0.605 MB / 1.877 GB, free: 47.65 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004639/4.643, allocations: 0.547 MB / 1.877 GB, free: 47.11 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005094/4.648, allocations: 1.847 MB / 1.879 GB, free: 45.21 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/4.649, allocations: 1.118 MB / 1.88 GB, free: 44.06 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001965/4.651, allocations: 292.1 kB / 1.881 GB, free: 43.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006631/4.652, allocations: 403.3 kB / 1.881 GB, free: 43.38 MB / 0.8698 GB Notification: Performance of SimCode: time 1.383e-06/4.652, allocations: 0 / 1.881 GB, free: 43.38 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09458/4.746, allocations: 37.97 MB / 1.918 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002703/4.747, allocations: 250.8 kB / 1.918 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.076/8.823, allocations: 4 kB / 1.918 GB, free: 5.371 MB / 0.8698 GB