Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 289.9 MB / 297.4 MB, free: 6.352 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.001264/0.001265, allocations: 184.8 kB / 366.7 MB, free: 1.637 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.85/1.85, allocations: 205.3 MB / 0.626 GB, free: 7.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 76 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.038e-05, allocations: 7.984 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7296/0.7297, allocations: 116.3 MB / 0.9734 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.788, allocations: 421.9 MB / 1.385 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004475/1.789, allocations: 109.7 kB / 1.385 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.745/3.533, allocations: 0.5509 GB / 1.936 GB, free: 57.84 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.212e-06/3.534, allocations: 4 kB / 1.936 GB, free: 57.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001081/3.534, allocations: 35.92 kB / 1.936 GB, free: 57.8 MB / 0.948 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.002457/3.536, allocations: 1.406 MB / 1.938 GB, free: 56.34 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/3.536, allocations: 15.97 kB / 1.938 GB, free: 56.33 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003631/3.537, allocations: 154.3 kB / 1.938 GB, free: 56.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/3.539, allocations: 1.382 MB / 1.939 GB, free: 54.75 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/3.539, allocations: 28 kB / 1.939 GB, free: 54.72 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.928e-05/3.539, allocations: 52.69 kB / 1.939 GB, free: 54.67 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008831/3.54, allocations: 0.5546 MB / 1.94 GB, free: 54.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/3.541, allocations: 0.749 MB / 1.941 GB, free: 53.34 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.864e-05/3.541, allocations: 3.938 kB / 1.941 GB, free: 53.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.056e-05/3.541, allocations: 4 kB / 1.941 GB, free: 53.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/3.541, allocations: 20 kB / 1.941 GB, free: 53.31 MB / 0.948 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.003704/3.545, allocations: 4.154 MB / 1.945 GB, free: 48.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/3.545, allocations: 0.5 MB / 1.945 GB, free: 48.37 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/3.546, allocations: 299 kB / 1.945 GB, free: 48.08 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005303/3.546, allocations: 0.6018 MB / 1.946 GB, free: 47.35 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/3.546, allocations: 39.12 kB / 1.946 GB, free: 47.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.034e-06/3.546, allocations: 0 / 1.946 GB, free: 47.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001312/3.548, allocations: 0.6229 MB / 1.947 GB, free: 46.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.265e-05/3.548, allocations: 59.97 kB / 1.947 GB, free: 46.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007297/3.548, allocations: 0.6963 MB / 1.947 GB, free: 45.88 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/3.549, allocations: 25.7 kB / 1.947 GB, free: 45.85 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/3.549, allocations: 0.5189 MB / 1.948 GB, free: 45.32 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000141/3.549, allocations: 197 kB / 1.948 GB, free: 45.13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/3.549, allocations: 0 / 1.948 GB, free: 45.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/3.549, allocations: 330 kB / 1.948 GB, free: 44.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/3.549, allocations: 181.5 kB / 1.949 GB, free: 44.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003349/3.55, allocations: 368.2 kB / 1.949 GB, free: 44.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006975/3.55, allocations: 300.1 kB / 1.949 GB, free: 43.89 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/3.55, allocations: 0 / 1.949 GB, free: 43.89 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001331/3.552, allocations: 0.7937 MB / 1.95 GB, free: 43.08 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003023/3.552, allocations: 1.316 MB / 1.951 GB, free: 41.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.601e-05/3.552, allocations: 4 kB / 1.951 GB, free: 41.66 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003227/3.552, allocations: 127.4 kB / 1.951 GB, free: 41.52 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004256/3.553, allocations: 127.8 kB / 1.952 GB, free: 41.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/3.555, allocations: 4.692 MB / 1.956 GB, free: 36.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008831/3.556, allocations: 91.38 kB / 1.956 GB, free: 36.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/3.556, allocations: 24 kB / 1.956 GB, free: 36.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/3.556, allocations: 7.984 kB / 1.956 GB, free: 36.21 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/3.557, allocations: 0.6409 MB / 1.957 GB, free: 35.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/3.558, allocations: 4 kB / 1.957 GB, free: 35.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/3.558, allocations: 123.6 kB / 1.957 GB, free: 35.42 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004096/3.558, allocations: 131.9 kB / 1.957 GB, free: 35.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002898/3.561, allocations: 5.617 MB / 1.963 GB, free: 29.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/3.562, allocations: 87.39 kB / 1.963 GB, free: 29.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-05/3.562, allocations: 28 kB / 1.963 GB, free: 29.09 MB / 0.948 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.0001944/3.562, allocations: 120.8 kB / 1.963 GB, free: 28.96 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001143/3.563, allocations: 0.6181 MB / 1.963 GB, free: 28.32 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/3.563, allocations: 90.88 kB / 1.964 GB, free: 28.23 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00133/3.565, allocations: 0.6796 MB / 1.964 GB, free: 27.54 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/3.565, allocations: 4 kB / 1.964 GB, free: 27.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/3.565, allocations: 4 kB / 1.964 GB, free: 27.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009282/3.566, allocations: 0.6376 MB / 1.965 GB, free: 26.84 MB / 0.948 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.002635/3.568, allocations: 1.729 MB / 1.967 GB, free: 25.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/3.568, allocations: 3.984 kB / 1.967 GB, free: 25.03 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/3.569, allocations: 91.89 kB / 1.967 GB, free: 24.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002209/3.569, allocations: 111.6 kB / 1.967 GB, free: 24.82 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.14e-05/3.569, allocations: 8 kB / 1.967 GB, free: 24.81 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/3.571, allocations: 4.653 MB / 1.971 GB, free: 19.79 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/3.571, allocations: 4.031 kB / 1.971 GB, free: 19.79 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001402/3.573, allocations: 1.068 MB / 1.972 GB, free: 18.65 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003796/3.573, allocations: 267.7 kB / 1.973 GB, free: 18.37 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/3.573, allocations: 4 kB / 1.973 GB, free: 18.37 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005834/3.574, allocations: 59.78 kB / 1.973 GB, free: 18.31 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/3.574, allocations: 48.44 kB / 1.973 GB, free: 18.26 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.09e-05/3.574, allocations: 23.98 kB / 1.973 GB, free: 18.24 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006049/3.575, allocations: 0.5303 MB / 1.973 GB, free: 17.71 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/3.575, allocations: 0 / 1.973 GB, free: 17.71 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002579/3.577, allocations: 0.7599 MB / 1.974 GB, free: 16.95 MB / 0.948 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.002622/3.58, allocations: 2.438 MB / 1.976 GB, free: 14.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001805/3.582, allocations: 1.654 MB / 1.978 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/3.582, allocations: 3.938 kB / 1.978 GB, free: 12.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004723/3.582, allocations: 0.5657 MB / 1.979 GB, free: 12.11 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/3.584, allocations: 0.4917 MB / 1.979 GB, free: 11.62 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/3.587, allocations: 1.783 MB / 1.981 GB, free: 9.781 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/3.588, allocations: 1.121 MB / 1.982 GB, free: 8.629 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001024/3.589, allocations: 271.7 kB / 1.982 GB, free: 8.359 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/3.589, allocations: 399.3 kB / 1.982 GB, free: 7.969 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/3.589, allocations: 0 / 1.982 GB, free: 7.969 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.667/4.256, allocations: 32.52 MB / 2.014 GB, free: 184.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/4.256, allocations: 195.6 kB / 2.014 GB, free: 184 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.196/7.452, allocations: 4 kB / 2.014 GB, free: 184 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)