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: 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.4-maint.8.1.x/package.mo): time 1.572/1.572, allocations: 289.9 MB / 297.4 MB, free: 6.418 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.001305/0.001305, allocations: 184.8 kB / 366.7 MB, free: 1.68 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.6/1.6, allocations: 205.2 MB / 0.626 GB, free: 7.145 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.0008558/0.0008557, allocations: 97.61 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.806e-05/1.808e-05, allocations: 4 kB / 0.8597 GB, free: 13.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.683/0.683, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.071/1.754, allocations: 421.9 MB / 1.385 GB, free: 135 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/1.754, allocations: 101.5 kB / 1.385 GB, free: 135 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.602/3.356, allocations: 0.5509 GB / 1.936 GB, free: 57.87 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.553e-06/3.356, allocations: 4 kB / 1.936 GB, free: 57.87 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000103/3.357, allocations: 35.92 kB / 1.936 GB, free: 57.83 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.0025/3.359, allocations: 1.406 MB / 1.938 GB, free: 56.38 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/3.359, allocations: 12.03 kB / 1.938 GB, free: 56.36 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/3.359, allocations: 150.3 kB / 1.938 GB, free: 56.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/3.362, allocations: 1.382 MB / 1.939 GB, free: 54.79 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/3.362, allocations: 28 kB / 1.939 GB, free: 54.76 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.676e-05/3.362, allocations: 52.69 kB / 1.939 GB, free: 54.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000888/3.363, allocations: 0.5546 MB / 1.94 GB, free: 54.16 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/3.364, allocations: 0.7451 MB / 1.94 GB, free: 53.38 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/3.364, allocations: 0 / 1.94 GB, free: 53.38 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.814e-05/3.364, allocations: 4 kB / 1.941 GB, free: 53.38 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.679e-05/3.364, allocations: 27.92 kB / 1.941 GB, free: 53.35 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.003722/3.368, allocations: 4.154 MB / 1.945 GB, free: 48.92 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007117/3.368, allocations: 0.4884 MB / 1.945 GB, free: 48.42 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/3.369, allocations: 303.2 kB / 1.945 GB, free: 48.12 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004702/3.369, allocations: 0.6057 MB / 1.946 GB, free: 47.39 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/3.369, allocations: 39.12 kB / 1.946 GB, free: 47.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.755e-06/3.369, allocations: 0 / 1.946 GB, free: 47.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001304/3.37, allocations: 0.6259 MB / 1.947 GB, free: 46.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/3.371, allocations: 59.97 kB / 1.947 GB, free: 46.62 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007117/3.371, allocations: 0.7002 MB / 1.947 GB, free: 45.92 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.281e-05/3.371, allocations: 25.7 kB / 1.947 GB, free: 45.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002766/3.372, allocations: 0.5189 MB / 1.948 GB, free: 45.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/3.372, allocations: 197.1 kB / 1.948 GB, free: 45.16 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.386e-05/3.372, allocations: 0 / 1.948 GB, free: 45.16 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.325e-05/3.372, allocations: 330 kB / 1.948 GB, free: 44.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/3.372, allocations: 177.5 kB / 1.949 GB, free: 44.66 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000306/3.372, allocations: 372.2 kB / 1.949 GB, free: 44.22 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/3.373, allocations: 296.1 kB / 1.949 GB, free: 43.93 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/3.373, allocations: 0 / 1.949 GB, free: 43.93 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001282/3.374, allocations: 0.7859 MB / 1.95 GB, free: 43.12 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002135/3.374, allocations: 1.317 MB / 1.951 GB, free: 41.71 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/3.375, allocations: 4 kB / 1.951 GB, free: 41.71 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003051/3.375, allocations: 123.4 kB / 1.951 GB, free: 41.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/3.375, allocations: 127.8 kB / 1.951 GB, free: 41.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002273/3.378, allocations: 4.7 MB / 1.956 GB, free: 36.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/3.378, allocations: 95.28 kB / 1.956 GB, free: 36.28 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-05/3.378, allocations: 27.98 kB / 1.956 GB, free: 36.25 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 7.774e-06/3.378, allocations: 4 kB / 1.956 GB, free: 36.25 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001194/3.38, allocations: 0.6409 MB / 1.957 GB, free: 35.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/3.38, allocations: 7.984 kB / 1.957 GB, free: 35.59 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/3.38, allocations: 123.6 kB / 1.957 GB, free: 35.46 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/3.38, allocations: 131.8 kB / 1.957 GB, free: 35.33 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002662/3.383, allocations: 5.606 MB / 1.963 GB, free: 29.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/3.384, allocations: 91.33 kB / 1.963 GB, free: 29.16 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/3.384, allocations: 28 kB / 1.963 GB, free: 29.13 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.0001739/3.384, allocations: 128.8 kB / 1.963 GB, free: 29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/3.384, allocations: 102.8 kB / 1.963 GB, free: 28.89 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001276/3.385, allocations: 0.6718 MB / 1.964 GB, free: 28.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/3.385, allocations: 8 kB / 1.964 GB, free: 28.19 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/3.385, allocations: 4 kB / 1.964 GB, free: 28.19 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008601/3.386, allocations: 0.6416 MB / 1.964 GB, free: 27.51 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.002364/3.389, allocations: 1.725 MB / 1.966 GB, free: 25.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/3.389, allocations: 0 / 1.966 GB, free: 25.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003492/3.389, allocations: 96.02 kB / 1.966 GB, free: 25.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/3.389, allocations: 107.3 kB / 1.966 GB, free: 25.49 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/3.389, allocations: 4 kB / 1.966 GB, free: 25.48 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/3.391, allocations: 4.66 MB / 1.971 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/3.391, allocations: 0 / 1.971 GB, free: 20.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/3.393, allocations: 1.072 MB / 1.972 GB, free: 19.32 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/3.393, allocations: 259.8 kB / 1.972 GB, free: 19.04 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.787e-05/3.393, allocations: 4 kB / 1.972 GB, free: 19.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005351/3.394, allocations: 63.73 kB / 1.972 GB, free: 18.98 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.073e-05/3.394, allocations: 40.45 kB / 1.972 GB, free: 18.94 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.833e-05/3.394, allocations: 27.98 kB / 1.972 GB, free: 18.91 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005426/3.394, allocations: 0.5343 MB / 1.973 GB, free: 18.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/3.394, allocations: 0 / 1.973 GB, free: 18.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002261/3.397, allocations: 0.752 MB / 1.973 GB, free: 17.63 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.001033/3.398, allocations: 0.6676 MB / 1.974 GB, free: 16.95 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00169/3.399, allocations: 1.646 MB / 1.976 GB, free: 15.22 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/3.399, allocations: 256 / 1.976 GB, free: 15.22 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004563/3.4, allocations: 0.5774 MB / 1.976 GB, free: 14.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/3.402, allocations: 0.4999 MB / 1.977 GB, free: 14.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/3.404, allocations: 1.507 MB / 1.978 GB, free: 12.57 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004368/3.405, allocations: 1.121 MB / 1.979 GB, free: 11.41 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0009952/3.406, allocations: 263.7 kB / 1.979 GB, free: 11.15 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/3.406, allocations: 63.42 kB / 1.979 GB, free: 11.09 MB / 0.948 GB Notification: Performance of SimCode: time 6.11e-07/3.406, allocations: 0 / 1.979 GB, free: 11.09 MB / 0.948 GB Notification: Performance of Templates: time 0.5198/3.926, allocations: 23.53 MB / 2.002 GB, free: 187.1 MB / 0.948 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)