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.224/2.224, 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.001546/0.001545, allocations: 180.6 kB / 325.5 MB, free: 2.895 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.284/2.284, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001118/0.001117, allocations: 94.45 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004753, allocations: 11.94 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 106.3 MB / 0.8988 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.32/1.533, allocations: 413.8 MB / 1.303 GB, free: 5.379 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003696/1.533, allocations: 113.7 kB / 1.303 GB, free: 5.312 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.013/4.546, allocations: 0.5401 GB / 1.843 GB, free: 209 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.815e-06/4.547, allocations: 0 / 1.843 GB, free: 209 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001609/4.547, allocations: 32.19 kB / 1.843 GB, free: 209 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005246/4.552, allocations: 1.635 MB / 1.845 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/4.552, allocations: 10.81 kB / 1.845 GB, free: 208.2 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004252/4.552, allocations: 137.8 kB / 1.845 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006767/4.553, allocations: 147.6 kB / 1.845 GB, free: 208.1 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004473/4.558, allocations: 1.395 MB / 1.846 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/4.558, allocations: 73.55 kB / 1.847 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/4.558, allocations: 89.81 kB / 1.847 GB, free: 207.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/4.56, allocations: 0.8747 MB / 1.847 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.521e-05/4.56, allocations: 0 / 1.847 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/4.56, allocations: 40 kB / 1.847 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/4.56, allocations: 26.19 kB / 1.848 GB, free: 207.6 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/4.562, allocations: 0.6191 MB / 1.848 GB, free: 207.6 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.007635/4.57, allocations: 4.316 MB / 1.852 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/4.571, allocations: 0.5165 MB / 1.853 GB, free: 205.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/4.573, allocations: 0.6042 MB / 1.853 GB, free: 204.8 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/4.573, allocations: 42.53 kB / 1.853 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 6.853e-06/4.573, allocations: 0 / 1.853 GB, free: 204.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.005522/4.578, allocations: 1.238 MB / 1.855 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/4.578, allocations: 58.69 kB / 1.855 GB, free: 204.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/4.581, allocations: 0.802 MB / 1.856 GB, free: 204 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/4.581, allocations: 36.86 kB / 1.856 GB, free: 204 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006489/4.581, allocations: 0.5115 MB / 1.856 GB, free: 203.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003405/4.582, allocations: 207.2 kB / 1.856 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/4.582, allocations: 14.84 kB / 1.856 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001153/4.582, allocations: 334.9 kB / 1.857 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007281/4.583, allocations: 190.3 kB / 1.857 GB, free: 203.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009529/4.584, allocations: 401.6 kB / 1.857 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008825/4.585, allocations: 265.8 kB / 1.857 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/4.585, allocations: 3.312 kB / 1.857 GB, free: 203.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003089/4.588, allocations: 0.8069 MB / 1.858 GB, free: 203 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004088/4.588, allocations: 1.312 MB / 1.859 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.494e-05/4.588, allocations: 7.281 kB / 1.859 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008624/4.589, allocations: 137.9 kB / 1.86 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/4.59, allocations: 122.8 kB / 1.86 GB, free: 201.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005733/4.596, allocations: 4.988 MB / 1.865 GB, free: 197.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/4.599, allocations: 111.5 kB / 1.865 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/4.599, allocations: 27.47 kB / 1.865 GB, free: 197 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/4.599, allocations: 5.406 kB / 1.865 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002723/4.602, allocations: 0.6854 MB / 1.865 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.294e-05/4.602, allocations: 3.25 kB / 1.865 GB, free: 197 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007189/4.603, allocations: 134.5 kB / 1.866 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/4.604, allocations: 130.1 kB / 1.866 GB, free: 196.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005177/4.609, allocations: 5.994 MB / 1.872 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/4.611, allocations: 107.2 kB / 1.872 GB, free: 191.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.943e-05/4.611, allocations: 31.38 kB / 1.872 GB, free: 191.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 (70): * Single equations (assignments): 65 * 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%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008353/4.612, allocations: 369.1 kB / 1.872 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003212/4.612, allocations: 108.7 kB / 1.872 GB, free: 191.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/4.614, allocations: 0.7224 MB / 1.873 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.557e-05/4.614, allocations: 6.75 kB / 1.873 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/4.614, allocations: 6.234 kB / 1.873 GB, free: 191.2 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001374/4.615, allocations: 0.673 MB / 1.873 GB, free: 190.9 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 postOpt removeSimpleEquations (simulation): time 0.004348/4.62, allocations: 1.85 MB / 1.875 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/4.62, allocations: 4.531 kB / 1.875 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007027/4.621, allocations: 87.5 kB / 1.875 GB, free: 190.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004818/4.621, allocations: 133.5 kB / 1.876 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.393e-05/4.621, allocations: 18.14 kB / 1.876 GB, free: 190.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004227/4.625, allocations: 4.981 MB / 1.88 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/4.625, allocations: 3.719 kB / 1.88 GB, free: 185.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002552/4.628, allocations: 1.111 MB / 1.881 GB, free: 185.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007947/4.629, allocations: 268.5 kB / 1.882 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/4.629, allocations: 14.44 kB / 1.882 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/4.63, allocations: 67.28 kB / 1.882 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/4.63, allocations: 46.91 kB / 1.882 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-05/4.63, allocations: 21.31 kB / 1.882 GB, free: 185.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001301/4.632, allocations: 0.6325 MB / 1.882 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/4.632, allocations: 0 / 1.882 GB, free: 185.3 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004101/4.636, allocations: 0.7699 MB / 1.883 GB, free: 185.2 MB / 0.8855 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 41 * 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%) 3,(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.004385/4.64, allocations: 2.479 MB / 1.886 GB, free: 184 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003494/4.644, allocations: 1.759 MB / 1.887 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/4.644, allocations: 2.25 kB / 1.887 GB, free: 183.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/4.645, allocations: 0.6282 MB / 1.888 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/4.65, allocations: 0.5516 MB / 1.889 GB, free: 182.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007604/4.658, allocations: 5.253 MB / 1.894 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007312/4.658, allocations: 1.118 MB / 1.895 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001652/4.66, allocations: 227.8 kB / 1.895 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001023/4.661, allocations: 418.6 kB / 1.895 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.122e-06/4.661, allocations: 0 / 1.895 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09607/4.757, allocations: 35.74 MB / 1.93 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000281/4.758, allocations: 287.7 kB / 1.931 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.903/8.661, allocations: 0 / 1.931 GB, free: 161.8 MB / 0.8855 GB