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.619/1.619, allocations: 285.6 MB / 293.1 MB, free: 10.25 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.001029/0.001029, allocations: 176.9 kB / 361.4 MB, free: 6.852 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.724/1.724, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.001184/0.001183, allocations: 96.88 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.107e-05, allocations: 4 kB / 0.8518 GB, free: 2.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7355/0.7356, allocations: 115.3 MB / 0.9645 GB, free: 78.76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.866, allocations: 420.9 MB / 1.376 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/1.866, allocations: 106.9 kB / 1.376 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.861/3.727, allocations: 0.5508 GB / 1.926 GB, free: 42.07 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.783e-06/3.727, allocations: 0 / 1.926 GB, free: 42.07 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002042/3.727, allocations: 39.92 kB / 1.926 GB, free: 42.03 MB / 0.9323 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.004533/3.732, allocations: 1.402 MB / 1.928 GB, free: 40.58 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.812e-05/3.732, allocations: 12.02 kB / 1.928 GB, free: 40.57 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009152/3.733, allocations: 150.3 kB / 1.928 GB, free: 40.42 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/3.737, allocations: 1.386 MB / 1.929 GB, free: 38.99 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.278e-05/3.737, allocations: 31.94 kB / 1.929 GB, free: 38.96 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002632/3.737, allocations: 56.45 kB / 1.929 GB, free: 38.91 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001583/3.739, allocations: 0.5546 MB / 1.93 GB, free: 38.35 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/3.74, allocations: 0.7412 MB / 1.931 GB, free: 37.57 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.714e-05/3.74, allocations: 0 / 1.931 GB, free: 37.57 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-05/3.74, allocations: 4 kB / 1.931 GB, free: 37.57 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/3.74, allocations: 28 kB / 1.931 GB, free: 37.54 MB / 0.9323 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.006311/3.747, allocations: 4.15 MB / 1.935 GB, free: 33.12 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009991/3.748, allocations: 0.4966 MB / 1.935 GB, free: 32.61 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004637/3.748, allocations: 302.4 kB / 1.936 GB, free: 32.31 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006364/3.749, allocations: 0.6057 MB / 1.936 GB, free: 31.58 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/3.749, allocations: 43.12 kB / 1.936 GB, free: 31.53 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 3.387e-06/3.749, allocations: 0 / 1.936 GB, free: 31.53 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.001734/3.751, allocations: 0.6221 MB / 1.937 GB, free: 30.88 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.628e-05/3.751, allocations: 63.91 kB / 1.937 GB, free: 30.81 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/3.752, allocations: 0.7002 MB / 1.938 GB, free: 30.11 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/3.752, allocations: 25.7 kB / 1.938 GB, free: 30.07 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/3.752, allocations: 0.5111 MB / 1.938 GB, free: 29.55 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/3.752, allocations: 201 kB / 1.938 GB, free: 29.36 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/3.752, allocations: 0 / 1.938 GB, free: 29.36 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/3.753, allocations: 330 kB / 1.939 GB, free: 29.03 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/3.753, allocations: 181.5 kB / 1.939 GB, free: 28.85 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/3.753, allocations: 372.2 kB / 1.939 GB, free: 28.41 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007981/3.754, allocations: 300.1 kB / 1.939 GB, free: 28.12 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/3.754, allocations: 0 / 1.939 GB, free: 28.12 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001619/3.756, allocations: 0.7859 MB / 1.94 GB, free: 27.31 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003146/3.756, allocations: 1.317 MB / 1.941 GB, free: 25.89 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/3.756, allocations: 7.938 kB / 1.941 GB, free: 25.89 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003343/3.756, allocations: 119.4 kB / 1.942 GB, free: 25.76 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/3.757, allocations: 131.9 kB / 1.942 GB, free: 25.63 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002641/3.759, allocations: 4.691 MB / 1.946 GB, free: 20.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/3.76, allocations: 87.44 kB / 1.946 GB, free: 20.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/3.761, allocations: 24 kB / 1.946 GB, free: 20.45 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.806e-06/3.761, allocations: 4 kB / 1.946 GB, free: 20.45 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001404/3.762, allocations: 0.6489 MB / 1.947 GB, free: 19.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/3.762, allocations: 8 kB / 1.947 GB, free: 19.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/3.762, allocations: 127.5 kB / 1.947 GB, free: 19.64 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004248/3.763, allocations: 131.8 kB / 1.947 GB, free: 19.51 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00352/3.766, allocations: 5.61 MB / 1.953 GB, free: 13.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001034/3.767, allocations: 83.44 kB / 1.953 GB, free: 13.35 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/3.767, allocations: 31.94 kB / 1.953 GB, free: 13.32 MB / 0.9323 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.0002345/3.768, allocations: 116.9 kB / 1.953 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001521/3.769, allocations: 0.6142 MB / 1.954 GB, free: 12.56 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002977/3.769, allocations: 90.88 kB / 1.954 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001426/3.771, allocations: 0.6796 MB / 1.954 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/3.771, allocations: 8 kB / 1.954 GB, free: 11.77 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/3.771, allocations: 4.234 kB / 1.954 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009731/3.772, allocations: 0.6454 MB / 1.955 GB, free: 11.07 MB / 0.9323 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.002976/3.775, allocations: 1.729 MB / 1.957 GB, free: 9.262 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/3.775, allocations: 4 kB / 1.957 GB, free: 9.258 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/3.775, allocations: 91.88 kB / 1.957 GB, free: 9.168 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002369/3.776, allocations: 107.5 kB / 1.957 GB, free: 9.051 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/3.776, allocations: 4 kB / 1.957 GB, free: 9.047 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002368/3.778, allocations: 4.66 MB / 1.961 GB, free: 4.02 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/3.778, allocations: 7.969 kB / 1.961 GB, free: 4.012 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/3.78, allocations: 1.068 MB / 1.962 GB, free: 2.879 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005462/3.78, allocations: 267.7 kB / 1.963 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/3.78, allocations: 4 kB / 1.963 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007644/3.781, allocations: 55.78 kB / 1.963 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.104e-05/3.781, allocations: 36.52 kB / 1.963 GB, free: 2.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.607e-05/3.781, allocations: 31.94 kB / 1.963 GB, free: 2.469 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007868/3.782, allocations: 0.5343 MB / 1.963 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.61e-07/3.782, allocations: 3.938 kB / 1.963 GB, free: 1.934 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003276/3.785, allocations: 0.756 MB / 1.964 GB, free: 1.176 MB / 0.9323 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.6133/4.399, allocations: 2.43 MB / 1.966 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002536/4.401, allocations: 1.645 MB / 1.968 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/4.401, allocations: 0.7188 kB / 1.968 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0006537/4.402, allocations: 0.5802 MB / 1.969 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/4.405, allocations: 0.4916 MB / 1.969 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004017/4.409, allocations: 1.772 MB / 1.971 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/4.41, allocations: 1.118 MB / 1.972 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001251/4.411, allocations: 264.8 kB / 1.972 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/4.411, allocations: 406.6 kB / 1.973 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of SimCode: time 7.71e-07/4.411, allocations: 0.75 kB / 1.973 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0758/4.487, allocations: 32.52 MB / 2.004 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/4.488, allocations: 209.4 kB / 2.005 GB, free: 174.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.186/7.674, allocations: 2.969 kB / 2.005 GB, free: 174.3 MB / 0.9323 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)