Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6158/0.6158, allocations: 94.77 MB / 102.2 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0014/0.001401, allocations: 178.8 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.903/1.903, allocations: 170.6 MB / 319.4 MB, free: 9.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001739/0.001739, allocations: 105 kB / 381.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.563e-05/2.565e-05, allocations: 8 kB / 449.1 MB, free: 1.727 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1744, allocations: 61.52 MB / 0.4987 GB, free: 4.113 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.951/2.125, allocations: 426.4 MB / 0.9151 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/2.126, allocations: 102 kB / 0.9152 GB, free: 150.6 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/Boreholes/BaseClasses/singleUTubeResistances.mo:64:3-66:74:writable] Warning: beta was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 1.136/3.261, allocations: 373.3 MB / 1.28 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.334e-06/3.261, allocations: 0 / 1.28 GB, free: 32.05 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001153/3.262, allocations: 30.73 kB / 1.28 GB, free: 32.02 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.003288/3.265, allocations: 1.45 MB / 1.281 GB, free: 30.53 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/3.265, allocations: 12.03 kB / 1.281 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005312/3.265, allocations: 162.3 kB / 1.281 GB, free: 30.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/3.268, allocations: 1.346 MB / 1.283 GB, free: 29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/3.268, allocations: 24 kB / 1.283 GB, free: 28.97 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/3.268, allocations: 52 kB / 1.283 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009941/3.269, allocations: 0.5975 MB / 1.283 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/3.27, allocations: 0.7992 MB / 1.284 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/3.27, allocations: 4 kB / 1.284 GB, free: 27.48 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.926e-05/3.27, allocations: 3.938 kB / 1.284 GB, free: 27.47 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/3.27, allocations: 24 kB / 1.284 GB, free: 27.45 MB / 0.5261 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.004738/3.275, allocations: 4.407 MB / 1.288 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007239/3.276, allocations: 488.9 kB / 1.289 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003864/3.276, allocations: 282.8 kB / 1.289 GB, free: 22.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/3.277, allocations: 441.9 kB / 1.29 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/3.277, allocations: 47.55 kB / 1.29 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=51): time 2.294e-06/3.277, allocations: 0 / 1.29 GB, free: 21.45 MB / 0.5261 GB Notification: Performance of matching and sorting (n=62): time 0.01048/3.287, allocations: 2.326 MB / 1.292 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.187e-05/3.287, allocations: 111.4 kB / 1.292 GB, free: 18.88 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009858/3.288, allocations: 0.6895 MB / 1.293 GB, free: 18.17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/3.288, allocations: 25.7 kB / 1.293 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/3.289, allocations: 0.5495 MB / 1.293 GB, free: 17.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/3.289, allocations: 212.9 kB / 1.293 GB, free: 17.37 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/3.289, allocations: 0 / 1.293 GB, free: 17.37 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.271e-05/3.289, allocations: 341.9 kB / 1.294 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/3.289, allocations: 218.7 kB / 1.294 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/3.29, allocations: 440.9 kB / 1.294 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009066/3.291, allocations: 364.2 kB / 1.295 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/3.291, allocations: 4 kB / 1.295 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001685/3.292, allocations: 0.9366 MB / 1.296 GB, free: 14.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004821/3.293, allocations: 2.009 MB / 1.298 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/3.293, allocations: 7.984 kB / 1.298 GB, free: 12.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/3.293, allocations: 176.2 kB / 1.298 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005152/3.294, allocations: 155.8 kB / 1.298 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003073/3.297, allocations: 5.281 MB / 1.303 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/3.298, allocations: 51.98 kB / 1.303 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/3.298, allocations: 32 kB / 1.303 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.868e-06/3.298, allocations: 4 kB / 1.303 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001568/3.3, allocations: 0.9343 MB / 1.304 GB, free: 5.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/3.3, allocations: 8 kB / 1.304 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000309/3.3, allocations: 156.7 kB / 1.304 GB, free: 5.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004864/3.3, allocations: 151.8 kB / 1.304 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.518/3.818, allocations: 7.006 MB / 1.311 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/3.82, allocations: 56.59 kB / 1.311 GB, free: 68.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.475e-05/3.82, allocations: 36.38 kB / 1.311 GB, free: 68.96 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.hex.m2_flow:DUMMY_DER(fixed = false ) "Mass flow rate from port_a2 to port_b2 (m2_flow > 0 is design flow direction)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 80 * 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: 5 * 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: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0005346/3.821, allocations: 125.3 kB / 1.311 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/3.821, allocations: 100 kB / 1.312 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/3.823, allocations: 0.7491 MB / 1.312 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/3.823, allocations: 6.031 kB / 1.312 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/3.823, allocations: 2.75 kB / 1.312 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/3.823, allocations: 3.234 kB / 1.312 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003617/3.827, allocations: 1.615 MB / 1.314 GB, free: 68.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/3.827, allocations: 0 / 1.314 GB, free: 68.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004779/3.828, allocations: 104.1 kB / 1.314 GB, free: 68.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/3.828, allocations: 142.8 kB / 1.314 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/3.828, allocations: 10.19 kB / 1.314 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004499/3.833, allocations: 5.22 MB / 1.319 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/3.833, allocations: 0 / 1.319 GB, free: 63.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002373/3.835, allocations: 1.058 MB / 1.32 GB, free: 63.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/3.836, allocations: 181.2 kB / 1.32 GB, free: 63.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/3.836, allocations: 8 kB / 1.32 GB, free: 63.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006686/3.836, allocations: 39.88 kB / 1.32 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/3.837, allocations: 39.91 kB / 1.321 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/3.837, allocations: 30.19 kB / 1.321 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001151/3.838, allocations: 0.5239 MB / 1.321 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/3.838, allocations: 0 / 1.321 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00437/3.842, allocations: 0.7443 MB / 1.322 GB, free: 63.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (hex.vol1.dynBal.medium.T,hex.vol2.dynBal.medium.T,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 (50): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * 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: 2 {1 1,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002401/3.845, allocations: 0.7243 MB / 1.322 GB, free: 63.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002763/3.847, allocations: 1.894 MB / 1.324 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/3.847, allocations: 4.531 kB / 1.324 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007167/3.848, allocations: 0.5957 MB / 1.325 GB, free: 61.97 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/3.851, allocations: 468.8 kB / 1.325 GB, free: 61.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/3.854, allocations: 1.516 MB / 1.327 GB, free: 61.55 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007352/3.855, allocations: 1.125 MB / 1.328 GB, free: 60.85 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001445/3.856, allocations: 294.2 kB / 1.328 GB, free: 60.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001643/3.856, allocations: 61.03 kB / 1.328 GB, free: 60.83 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/3.856, allocations: 0 / 1.328 GB, free: 60.83 MB / 0.5261 GB Notification: Performance of Templates: time 0.0474/3.904, allocations: 25.09 MB / 1.353 GB, free: 60.09 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)