Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.3 MB / 261.8 MB, free: 5.824 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.001457/0.001457, allocations: 178 kB / 321.3 MB, free: 14.66 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.622/1.622, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0009265/0.0009266, allocations: 94.47 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.331e-05/3.341e-05, allocations: 4 kB / 0.788 GB, free: 97.02 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2121, allocations: 106.3 MB / 0.8919 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.55/1.763, allocations: 414 MB / 1.296 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003526/1.763, allocations: 106.5 kB / 1.296 GB, free: 260.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 1.526/3.289, allocations: 0.5385 GB / 1.835 GB, free: 92.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/3.289, allocations: 0 / 1.835 GB, free: 92.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.839e-05/3.289, allocations: 28 kB / 1.835 GB, free: 92.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.002498/3.292, allocations: 1.411 MB / 1.836 GB, free: 91.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/3.292, allocations: 11.97 kB / 1.836 GB, free: 91.23 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001347/3.292, allocations: 139.2 kB / 1.836 GB, free: 91.08 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003453/3.292, allocations: 150.3 kB / 1.836 GB, free: 90.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002303/3.294, allocations: 1.378 MB / 1.838 GB, free: 89.51 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.475e-05/3.295, allocations: 70.69 kB / 1.838 GB, free: 89.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/3.295, allocations: 91.91 kB / 1.838 GB, free: 89.36 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/3.296, allocations: 0.8589 MB / 1.839 GB, free: 88.46 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/3.296, allocations: 7.891 kB / 1.839 GB, free: 88.45 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.547e-05/3.296, allocations: 36 kB / 1.839 GB, free: 88.42 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/3.296, allocations: 27.98 kB / 1.839 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008561/3.297, allocations: 0.5974 MB / 1.839 GB, free: 87.8 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.004041/3.301, allocations: 4.312 MB / 1.844 GB, free: 83.19 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007688/3.302, allocations: 0.5168 MB / 1.844 GB, free: 82.66 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004104/3.302, allocations: 318.3 kB / 1.844 GB, free: 82.35 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005471/3.303, allocations: 0.5979 MB / 1.845 GB, free: 81.62 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/3.303, allocations: 43.12 kB / 1.845 GB, free: 81.57 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 2.875e-06/3.303, allocations: 0 / 1.845 GB, free: 81.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.001161/3.304, allocations: 0.6307 MB / 1.846 GB, free: 80.92 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/3.304, allocations: 59.91 kB / 1.846 GB, free: 80.85 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009478/3.305, allocations: 0.7888 MB / 1.847 GB, free: 80.04 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/3.305, allocations: 41.7 kB / 1.847 GB, free: 79.99 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/3.305, allocations: 0.5112 MB / 1.847 GB, free: 79.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/3.305, allocations: 205 kB / 1.847 GB, free: 79.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.353e-05/3.305, allocations: 16 kB / 1.847 GB, free: 79.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.463e-05/3.306, allocations: 330 kB / 1.848 GB, free: 78.92 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/3.306, allocations: 189.5 kB / 1.848 GB, free: 78.74 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003491/3.306, allocations: 393.7 kB / 1.848 GB, free: 78.28 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/3.306, allocations: 259.7 kB / 1.848 GB, free: 78.03 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/3.307, allocations: 0 / 1.848 GB, free: 78.03 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001088/3.308, allocations: 0.7976 MB / 1.849 GB, free: 77.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002709/3.308, allocations: 1.318 MB / 1.85 GB, free: 75.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/3.308, allocations: 4 kB / 1.85 GB, free: 75.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003659/3.308, allocations: 131.4 kB / 1.851 GB, free: 75.64 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/3.309, allocations: 127.8 kB / 1.851 GB, free: 75.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002414/3.311, allocations: 4.815 MB / 1.855 GB, free: 70.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009703/3.312, allocations: 111.2 kB / 1.856 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/3.312, allocations: 39.92 kB / 1.856 GB, free: 70.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/3.312, allocations: 0 / 1.856 GB, free: 70.12 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009724/3.313, allocations: 0.6723 MB / 1.856 GB, free: 69.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/3.313, allocations: 8.062 kB / 1.856 GB, free: 69.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002474/3.313, allocations: 123.5 kB / 1.856 GB, free: 69.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003913/3.314, allocations: 131.8 kB / 1.856 GB, free: 69.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/3.317, allocations: 5.818 MB / 1.862 GB, free: 62.81 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/3.318, allocations: 107.4 kB / 1.862 GB, free: 62.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.363e-05/3.318, allocations: 24 kB / 1.862 GB, free: 62.68 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.0002075/3.318, allocations: 152.8 kB / 1.862 GB, free: 62.52 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/3.318, allocations: 102.7 kB / 1.863 GB, free: 62.42 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/3.32, allocations: 0.7151 MB / 1.863 GB, free: 61.69 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/3.32, allocations: 15.89 kB / 1.863 GB, free: 61.67 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/3.32, allocations: 4 kB / 1.863 GB, free: 61.67 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007281/3.32, allocations: 0.6534 MB / 1.864 GB, free: 60.97 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.002441/3.323, allocations: 1.847 MB / 1.866 GB, free: 59.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/3.323, allocations: 0 / 1.866 GB, free: 59.03 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003571/3.323, allocations: 83.89 kB / 1.866 GB, free: 58.95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00028/3.323, allocations: 127.3 kB / 1.866 GB, free: 58.81 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/3.324, allocations: 15.95 kB / 1.866 GB, free: 58.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/3.326, allocations: 4.823 MB / 1.871 GB, free: 53.55 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/3.326, allocations: 0 / 1.871 GB, free: 53.55 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/3.327, allocations: 1.108 MB / 1.872 GB, free: 52.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00052/3.328, allocations: 263.7 kB / 1.872 GB, free: 52.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/3.328, allocations: 15.95 kB / 1.872 GB, free: 52.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/3.329, allocations: 63.84 kB / 1.872 GB, free: 52.02 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.285e-05/3.329, allocations: 52.44 kB / 1.872 GB, free: 51.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/3.329, allocations: 23.98 kB / 1.872 GB, free: 51.95 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007572/3.33, allocations: 0.6141 MB / 1.873 GB, free: 51.32 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/3.33, allocations: 0 / 1.873 GB, free: 51.32 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002601/3.332, allocations: 0.7756 MB / 1.873 GB, free: 50.54 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.002897/3.335, allocations: 2.475 MB / 1.876 GB, free: 48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002209/3.337, allocations: 1.746 MB / 1.878 GB, free: 46.15 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/3.337, allocations: 0 / 1.878 GB, free: 46.15 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005769/3.338, allocations: 0.6088 MB / 1.878 GB, free: 45.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/3.341, allocations: 0.5482 MB / 1.879 GB, free: 44.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00327/3.344, allocations: 1.848 MB / 1.881 GB, free: 43.05 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/3.344, allocations: 1.114 MB / 1.882 GB, free: 41.91 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001137/3.345, allocations: 284.2 kB / 1.882 GB, free: 41.63 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003961/3.346, allocations: 410.1 kB / 1.882 GB, free: 41.23 MB / 0.8698 GB Notification: Performance of SimCode: time 8.61e-07/3.346, allocations: 0 / 1.882 GB, free: 41.23 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05497/3.401, allocations: 37.99 MB / 1.919 GB, free: 3.551 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/3.401, allocations: 257.7 kB / 1.92 GB, free: 3.215 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.245/6.646, allocations: 0 / 1.92 GB, free: 3.215 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)