Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.626/1.626, allocations: 297.8 MB / 313.7 MB, free: 156 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 179.7 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 223.2 MB / 0.6626 GB, free: 4.375 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008318/0.0008318, allocations: 99.91 kB / 0.7808 GB, free: 43.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003968, allocations: 16 kB / 0.9088 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5655/0.5659, allocations: 120.3 MB / 1.026 GB, free: 56.7 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8826/1.449, allocations: 425.1 MB / 1.441 GB, free: 149 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002941/1.449, allocations: 110.2 kB / 1.442 GB, free: 149 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.536/2.985, allocations: 0.5615 GB / 2.003 GB, free: 68.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.132e-06/2.985, allocations: 0 / 2.003 GB, free: 68.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001562/2.986, allocations: 35.98 kB / 2.003 GB, free: 68.46 MB / 0.9792 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.00407/2.99, allocations: 1.62 MB / 2.005 GB, free: 66.79 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/2.99, allocations: 8.031 kB / 2.005 GB, free: 66.78 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006223/2.99, allocations: 151.2 kB / 2.005 GB, free: 66.63 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002821/2.993, allocations: 1.352 MB / 2.006 GB, free: 65.24 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/2.993, allocations: 66.38 kB / 2.006 GB, free: 65.17 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002018/2.993, allocations: 100.3 kB / 2.006 GB, free: 65.07 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/2.995, allocations: 0.8783 MB / 2.007 GB, free: 64.16 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/2.995, allocations: 3.938 kB / 2.007 GB, free: 64.16 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.263e-05/2.995, allocations: 36 kB / 2.007 GB, free: 64.12 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/2.995, allocations: 28 kB / 2.007 GB, free: 64.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000985/2.996, allocations: 0.6207 MB / 2.008 GB, free: 63.47 MB / 0.9792 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.004536/3.001, allocations: 4.297 MB / 2.012 GB, free: 58.89 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000709/3.001, allocations: 0.5058 MB / 2.013 GB, free: 58.38 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004051/3.002, allocations: 330.7 kB / 2.013 GB, free: 58.05 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000464/3.002, allocations: 0.6066 MB / 2.013 GB, free: 57.31 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/3.002, allocations: 35.12 kB / 2.014 GB, free: 57.27 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=57): time 2.625e-06/3.002, allocations: 0 / 2.014 GB, free: 57.27 MB / 0.9792 GB Notification: Performance of matching and sorting (n=57): time 0.002182/3.005, allocations: 1.255 MB / 2.015 GB, free: 55.92 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/3.005, allocations: 59.97 kB / 2.015 GB, free: 55.85 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/3.006, allocations: 0.8597 MB / 2.016 GB, free: 54.97 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/3.006, allocations: 41.7 kB / 2.016 GB, free: 54.92 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/3.006, allocations: 0.5074 MB / 2.016 GB, free: 54.41 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/3.006, allocations: 205 kB / 2.016 GB, free: 54.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/3.006, allocations: 16 kB / 2.016 GB, free: 54.19 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 6.849e-05/3.006, allocations: 334 kB / 2.017 GB, free: 53.86 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/3.007, allocations: 193.9 kB / 2.017 GB, free: 53.67 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/3.007, allocations: 399.8 kB / 2.017 GB, free: 53.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006264/3.008, allocations: 0.5441 MB / 2.018 GB, free: 52.61 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/3.008, allocations: 3.938 kB / 2.018 GB, free: 52.61 MB / 0.9792 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001317/3.009, allocations: 0.8149 MB / 2.019 GB, free: 51.77 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.504e-05/3.009, allocations: 191.7 kB / 2.019 GB, free: 51.54 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/3.009, allocations: 4 kB / 2.019 GB, free: 51.53 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005207/3.01, allocations: 163.2 kB / 2.019 GB, free: 51.36 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000386/3.01, allocations: 119.8 kB / 2.019 GB, free: 51.24 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/3.013, allocations: 4.818 MB / 2.024 GB, free: 45.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000987/3.014, allocations: 115.2 kB / 2.024 GB, free: 45.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.482e-05/3.014, allocations: 28 kB / 2.024 GB, free: 45.85 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/3.014, allocations: 6.031 kB / 2.024 GB, free: 45.85 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001079/3.015, allocations: 0.6779 MB / 2.025 GB, free: 45.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.336e-05/3.015, allocations: 12.05 kB / 2.025 GB, free: 45.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/3.015, allocations: 127.2 kB / 2.025 GB, free: 45.01 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/3.015, allocations: 123.8 kB / 2.025 GB, free: 44.89 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003315/3.019, allocations: 5.83 MB / 2.031 GB, free: 38.51 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009392/3.02, allocations: 107.4 kB / 2.031 GB, free: 38.41 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.607e-05/3.02, allocations: 27.98 kB / 2.031 GB, free: 38.38 MB / 0.9792 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.0007993/3.021, allocations: 373 kB / 2.031 GB, free: 38 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002504/3.021, allocations: 102.7 kB / 2.031 GB, free: 37.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/3.022, allocations: 0.7229 MB / 2.032 GB, free: 37.16 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/3.022, allocations: 4 kB / 2.032 GB, free: 37.15 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/3.022, allocations: 4 kB / 2.032 GB, free: 37.15 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008371/3.023, allocations: 0.6689 MB / 2.032 GB, free: 36.44 MB / 0.9792 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.002659/3.026, allocations: 1.843 MB / 2.034 GB, free: 34.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.648e-06/3.026, allocations: 0 / 2.034 GB, free: 34.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/3.026, allocations: 99.81 kB / 2.034 GB, free: 34.41 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002558/3.026, allocations: 123.3 kB / 2.034 GB, free: 34.27 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.115e-05/3.026, allocations: 16 kB / 2.034 GB, free: 34.26 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/3.029, allocations: 4.82 MB / 2.039 GB, free: 29.01 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/3.029, allocations: 4.031 kB / 2.039 GB, free: 29 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/3.03, allocations: 1.071 MB / 2.04 GB, free: 27.89 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004597/3.03, allocations: 264 kB / 2.04 GB, free: 27.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/3.031, allocations: 12 kB / 2.041 GB, free: 27.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006599/3.031, allocations: 71.78 kB / 2.041 GB, free: 27.54 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.024e-05/3.031, allocations: 48.48 kB / 2.041 GB, free: 27.49 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/3.031, allocations: 27.98 kB / 2.041 GB, free: 27.46 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0007416/3.032, allocations: 0.5825 MB / 2.041 GB, free: 26.87 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.31e-07/3.032, allocations: 0 / 2.041 GB, free: 26.87 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002475/3.035, allocations: 0.7639 MB / 2.042 GB, free: 26.1 MB / 0.9792 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.001291/3.036, allocations: 0.6397 MB / 2.043 GB, free: 25.46 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002015/3.038, allocations: 1.737 MB / 2.044 GB, free: 23.62 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/3.038, allocations: 4.062 kB / 2.044 GB, free: 23.62 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0005665/3.039, allocations: 0.6241 MB / 2.045 GB, free: 22.96 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/3.041, allocations: 0.5514 MB / 2.045 GB, free: 22.42 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003268/3.045, allocations: 2.488 MB / 2.048 GB, free: 19.89 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000555/3.045, allocations: 1.093 MB / 2.049 GB, free: 18.77 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001009/3.046, allocations: 220.4 kB / 2.049 GB, free: 18.55 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/3.046, allocations: 83.42 kB / 2.049 GB, free: 18.47 MB / 0.9792 GB Notification: Performance of SimCode: time 5.81e-07/3.046, allocations: 0 / 2.049 GB, free: 18.47 MB / 0.9792 GB Notification: Performance of Templates: time 0.4991/3.545, allocations: 25.68 MB / 2.074 GB, free: 166.2 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)