Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_8_0_x_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 8.0.1-maint.8.0.x/package.mo): time 1.712/1.712, allocations: 288.2 MB / 303.2 MB, free: 8.105 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001166, allocations: 189 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.818/1.818, allocations: 205.4 MB / 0.6305 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 86.92 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004409/0.0004413, allocations: 11.53 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2075, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.0287/0.2363, allocations: 33.89 MB / 1.013 GB, free: 9.594 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01569/0.2521, allocations: 10.62 MB / 1.023 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/0.2544, allocations: 47.69 kB / 1.023 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002245/0.2566, allocations: 0.6257 MB / 1.024 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006251/0.2629, allocations: 1.953 MB / 1.026 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00426/0.2672, allocations: 1.48 MB / 1.027 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.003699/0.2709, allocations: 2.073 MB / 1.029 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/0.2721, allocations: 0.8759 MB / 1.03 GB, free: 7.906 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.2736, allocations: 0.9381 MB / 1.031 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007318/0.2744, allocations: 0.6377 MB / 1.031 GB, free: 6.324 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.2745, allocations: 52 kB / 1.031 GB, free: 6.273 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.2768, allocations: 1.104 MB / 1.033 GB, free: 5.168 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.277, allocations: 231.1 kB / 1.033 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0002829/0.2773, allocations: 297 kB / 1.033 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.001989/0.2793, allocations: 1.858 MB / 1.035 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.2793, allocations: 0 / 1.035 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2793, allocations: 3.938 kB / 1.035 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.2794, allocations: 0 / 1.035 GB, free: 2.777 MB / 0.6511 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.002433/0.2818, allocations: 1.476 MB / 1.036 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2819, allocations: 11.97 kB / 1.036 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001571/0.282, allocations: 143.3 kB / 1.036 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003164/0.2823, allocations: 150.3 kB / 1.037 GB, free: 0.9375 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001595/0.2839, allocations: 1.037 MB / 1.038 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.945e-05/0.284, allocations: 70 kB / 1.038 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.2841, allocations: 91.95 kB / 1.038 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.2855, allocations: 0.8934 MB / 1.039 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.2856, allocations: 7.938 kB / 1.039 GB, free: 14.76 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.076e-05/0.2857, allocations: 36 kB / 1.039 GB, free: 14.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-05/0.2857, allocations: 20 kB / 1.039 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.2867, allocations: 0.6441 MB / 1.039 GB, free: 14.06 MB / 0.6667 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.004924/0.2916, allocations: 4.324 MB / 1.044 GB, free: 9.449 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000966/0.2926, allocations: 0.5011 MB / 1.044 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006882/0.2933, allocations: 0.5987 MB / 1.045 GB, free: 8.211 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.2934, allocations: 47.08 kB / 1.045 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.735e-06/0.2934, allocations: 0 / 1.045 GB, free: 8.156 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.002449/0.2958, allocations: 1.242 MB / 1.046 GB, free: 6.824 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/0.2959, allocations: 55.97 kB / 1.046 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.2971, allocations: 0.9143 MB / 1.047 GB, free: 5.82 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.112e-05/0.2972, allocations: 37.7 kB / 1.047 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000407/0.2976, allocations: 0.5152 MB / 1.047 GB, free: 5.254 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.2978, allocations: 201.1 kB / 1.048 GB, free: 5.055 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.2978, allocations: 20 kB / 1.048 GB, free: 5.035 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.2979, allocations: 337.9 kB / 1.048 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/0.2983, allocations: 201.9 kB / 1.048 GB, free: 4.504 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004531/0.2987, allocations: 394.3 kB / 1.048 GB, free: 4.047 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.2991, allocations: 271.1 kB / 1.049 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2991, allocations: 0 / 1.049 GB, free: 3.789 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001437/0.3006, allocations: 0.8585 MB / 1.05 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004938/0.3011, allocations: 1.318 MB / 1.051 GB, free: 1.484 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.3011, allocations: 4 kB / 1.051 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/0.3017, allocations: 155.3 kB / 1.051 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004566/0.3022, allocations: 135.8 kB / 1.051 GB, free: 1.184 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003553/0.3057, allocations: 4.981 MB / 1.056 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009269/0.3067, allocations: 119.3 kB / 1.056 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.3068, allocations: 28 kB / 1.056 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.3068, allocations: 4 kB / 1.056 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001133/0.3079, allocations: 0.7174 MB / 1.057 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3079, allocations: 4 kB / 1.057 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002866/0.3082, allocations: 131.3 kB / 1.057 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004505/0.3087, allocations: 135.8 kB / 1.057 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004104/0.3128, allocations: 5.997 MB / 1.063 GB, free: 4.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009469/0.3138, allocations: 119.3 kB / 1.063 GB, free: 3.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.3138, allocations: 28 kB / 1.063 GB, free: 3.93 MB / 0.6823 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 (78): * Single equations (assignments): 73 * 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.0006528/0.3145, allocations: 376.8 kB / 1.063 GB, free: 3.551 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001612/0.3147, allocations: 98.78 kB / 1.064 GB, free: 3.453 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.3159, allocations: 0.7053 MB / 1.064 GB, free: 2.738 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/0.3159, allocations: 8 kB / 1.064 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.316, allocations: 0 / 1.064 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008897/0.3169, allocations: 0.6494 MB / 1.065 GB, free: 2.035 MB / 0.6823 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.002643/0.3195, allocations: 1.843 MB / 1.067 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.413e-06/0.3195, allocations: 4 kB / 1.067 GB, free: 96 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.3199, allocations: 83.89 kB / 1.067 GB, free: 12 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4779/0.7978, allocations: 118.2 kB / 1.067 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/0.798, allocations: 17.52 kB / 1.067 GB, free: 86.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003639/0.8016, allocations: 4.976 MB / 1.072 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.8016, allocations: 5.031 kB / 1.072 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001974/0.8036, allocations: 1.078 MB / 1.073 GB, free: 81.55 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.8042, allocations: 281 kB / 1.073 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001089/0.8043, allocations: 11.97 kB / 1.073 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006502/0.8049, allocations: 71.11 kB / 1.073 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.736e-05/0.805, allocations: 42.77 kB / 1.073 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.176e-05/0.8051, allocations: 24.22 kB / 1.073 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009947/0.8061, allocations: 0.6261 MB / 1.074 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8061, allocations: 0 / 1.074 GB, free: 81.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002644/0.8088, allocations: 0.7246 MB / 1.075 GB, free: 81.24 MB / 0.6823 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.002808/0.8116, allocations: 2.233 MB / 1.077 GB, free: 79.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002664/0.8143, allocations: 1.786 MB / 1.078 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.8143, allocations: 0 / 1.078 GB, free: 78.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007556/0.815, allocations: 0.6242 MB / 1.079 GB, free: 78.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002756/0.8178, allocations: 0.5373 MB / 1.08 GB, free: 78.09 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/0.823, allocations: 5.203 MB / 1.085 GB, free: 74.19 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/0.8238, allocations: 1.113 MB / 1.086 GB, free: 73.45 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001147/0.825, allocations: 221.8 kB / 1.086 GB, free: 73.41 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.8255, allocations: 418.6 kB / 1.086 GB, free: 73.1 MB / 0.6823 GB Notification: Performance of SimCode: time 7.21e-07/0.8255, allocations: 0 / 1.086 GB, free: 73.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/0.8976, allocations: 33.21 MB / 1.119 GB, free: 60.89 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001733/0.8978, allocations: 290.6 kB / 1.119 GB, free: 60.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.996/3.894, allocations: 0 / 1.119 GB, free: 60.54 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)