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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.645/1.645, allocations: 293 MB / 309 MB, free: 4.816 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.001084/0.001084, allocations: 176.6 kB / 378.7 MB, free: 1.023 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.588/1.588, allocations: 205.4 MB / 0.6383 GB, free: 8.203 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.0007245/0.0007245, allocations: 100.6 kB / 0.7527 GB, free: 62.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 12 kB / 0.8768 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2611, allocations: 116.4 MB / 0.9905 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.424/1.685, allocations: 422.7 MB / 1.403 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.685, allocations: 112.3 kB / 1.403 GB, free: 279.3 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.549/3.235, allocations: 0.5519 GB / 1.955 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.813e-06/3.235, allocations: 0 / 1.955 GB, free: 126.1 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001518/3.235, allocations: 29.88 kB / 1.955 GB, free: 126.1 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.003702/3.239, allocations: 1.624 MB / 1.957 GB, free: 124.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/3.239, allocations: 8.031 kB / 1.957 GB, free: 124.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005973/3.239, allocations: 155.2 kB / 1.957 GB, free: 124.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/3.242, allocations: 1.353 MB / 1.958 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.076e-05/3.242, allocations: 70.38 kB / 1.958 GB, free: 122.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/3.242, allocations: 92.36 kB / 1.959 GB, free: 122.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/3.243, allocations: 0.8921 MB / 1.959 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.189e-05/3.244, allocations: 7.922 kB / 1.959 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/3.244, allocations: 40 kB / 1.959 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/3.244, allocations: 20 kB / 1.959 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009767/3.245, allocations: 0.6168 MB / 1.96 GB, free: 121.2 MB / 0.9323 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.004507/3.249, allocations: 4.301 MB / 1.964 GB, free: 116.6 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000713/3.25, allocations: 0.5089 MB / 1.965 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004073/3.25, allocations: 323.7 kB / 1.965 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004854/3.251, allocations: 0.6043 MB / 1.966 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/3.251, allocations: 39.12 kB / 1.966 GB, free: 115 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 2.304e-06/3.251, allocations: 0 / 1.966 GB, free: 115 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.002111/3.253, allocations: 1.251 MB / 1.967 GB, free: 113.7 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/3.253, allocations: 59.97 kB / 1.967 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/3.254, allocations: 0.8636 MB / 1.968 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/3.254, allocations: 37.81 kB / 1.968 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/3.254, allocations: 0.5074 MB / 1.968 GB, free: 112.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/3.254, allocations: 206.2 kB / 1.969 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/3.255, allocations: 16 kB / 1.969 GB, free: 111.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.684e-05/3.255, allocations: 334 kB / 1.969 GB, free: 111.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/3.255, allocations: 194.7 kB / 1.969 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004014/3.255, allocations: 399.8 kB / 1.969 GB, free: 110.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/3.256, allocations: 0.548 MB / 1.97 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/3.256, allocations: 0 / 1.97 GB, free: 110.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001321/3.257, allocations: 0.8189 MB / 1.971 GB, free: 109.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 9.861e-05/3.257, allocations: 191.5 kB / 1.971 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/3.257, allocations: 8 kB / 1.971 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005094/3.258, allocations: 149.2 kB / 1.971 GB, free: 109.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003641/3.258, allocations: 119.8 kB / 1.971 GB, free: 109 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002472/3.261, allocations: 4.821 MB / 1.976 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000849/3.262, allocations: 122.3 kB / 1.976 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.09e-05/3.262, allocations: 31.98 kB / 1.976 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/3.262, allocations: 6.5 kB / 1.976 GB, free: 103.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009527/3.263, allocations: 0.6777 MB / 1.977 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/3.263, allocations: 7.938 kB / 1.977 GB, free: 102.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000249/3.263, allocations: 123.6 kB / 1.977 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/3.263, allocations: 127.8 kB / 1.977 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/3.266, allocations: 5.828 MB / 1.983 GB, free: 96.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008721/3.267, allocations: 103.4 kB / 1.983 GB, free: 96.17 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.77e-05/3.267, allocations: 31.98 kB / 1.983 GB, free: 96.14 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 () * Number of clocked 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.0005902/3.268, allocations: 368.8 kB / 1.983 GB, free: 95.77 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/3.268, allocations: 106.7 kB / 1.983 GB, free: 95.66 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/3.269, allocations: 0.7132 MB / 1.984 GB, free: 94.93 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/3.269, allocations: 4 kB / 1.984 GB, free: 94.93 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/3.269, allocations: 4 kB / 1.984 GB, free: 94.93 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007576/3.27, allocations: 0.6689 MB / 1.985 GB, free: 94.21 MB / 0.9323 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.002517/3.273, allocations: 1.854 MB / 1.986 GB, free: 92.28 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/3.273, allocations: 0 / 1.986 GB, free: 92.28 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/3.273, allocations: 95.83 kB / 1.987 GB, free: 92.19 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002667/3.273, allocations: 127.4 kB / 1.987 GB, free: 92.05 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.974e-05/3.273, allocations: 16 kB / 1.987 GB, free: 92.04 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002283/3.276, allocations: 4.821 MB / 1.991 GB, free: 86.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/3.276, allocations: 8.016 kB / 1.991 GB, free: 86.79 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/3.277, allocations: 1.063 MB / 1.992 GB, free: 85.69 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/3.278, allocations: 267.6 kB / 1.993 GB, free: 85.41 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/3.278, allocations: 12 kB / 1.993 GB, free: 85.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006455/3.278, allocations: 63.84 kB / 1.993 GB, free: 85.33 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.913e-05/3.278, allocations: 40.52 kB / 1.993 GB, free: 85.29 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/3.278, allocations: 23.98 kB / 1.993 GB, free: 85.27 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0008127/3.279, allocations: 0.5903 MB / 1.993 GB, free: 84.67 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/3.279, allocations: 0 / 1.993 GB, free: 84.67 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002547/3.282, allocations: 0.76 MB / 1.994 GB, free: 83.91 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 () * Number of clocked 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.001367/3.283, allocations: 0.6613 MB / 1.995 GB, free: 83.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002017/3.285, allocations: 1.74 MB / 1.996 GB, free: 81.46 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/3.285, allocations: 4 kB / 1.996 GB, free: 81.45 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005686/3.286, allocations: 0.6181 MB / 1.997 GB, free: 80.8 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002673/3.289, allocations: 0.543 MB / 1.998 GB, free: 80.25 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/3.292, allocations: 2.487 MB / 2 GB, free: 77.74 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/3.292, allocations: 1.093 MB / 2.001 GB, free: 76.62 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009268/3.293, allocations: 231.9 kB / 2.001 GB, free: 76.39 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/3.293, allocations: 79.42 kB / 2.001 GB, free: 76.31 MB / 0.9323 GB Notification: Performance of SimCode: time 4.61e-07/3.293, allocations: 4 kB / 2.001 GB, free: 76.31 MB / 0.9323 GB Notification: Performance of Templates: time 0.039/3.332, allocations: 25.69 MB / 2.026 GB, free: 50.85 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)