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 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0-master/package.mo): time 2.244/2.244, allocations: 391.2 MB / 407 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001162/0.001162, allocations: 207.3 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 0.7948 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001256, allocations: 114 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 52.42 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2553, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.02696/0.2823, allocations: 40.31 MB / 1.257 GB, free: 76.77 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01403/0.2963, allocations: 12.56 MB / 1.27 GB, free: 64.19 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002309/0.2987, allocations: 51.69 kB / 1.27 GB, free: 64.14 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001675/0.3004, allocations: 0.5672 MB / 1.27 GB, free: 63.57 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005126/0.3056, allocations: 1.905 MB / 1.272 GB, free: 61.66 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003144/0.3087, allocations: 1.282 MB / 1.273 GB, free: 60.39 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004456/0.3132, allocations: 4.595 MB / 1.278 GB, free: 55.79 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.3145, allocations: 0.9906 MB / 1.279 GB, free: 54.77 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/0.3165, allocations: 1.12 MB / 1.28 GB, free: 53.64 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3176, allocations: 0.9877 MB / 1.281 GB, free: 52.65 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.3177, allocations: 64 kB / 1.281 GB, free: 52.59 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.3207, allocations: 1.513 MB / 1.282 GB, free: 51.07 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002882/0.3211, allocations: 262.9 kB / 1.283 GB, free: 50.81 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006423/0.3217, allocations: 0.684 MB / 1.283 GB, free: 50.12 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002805/0.3245, allocations: 2.563 MB / 1.286 GB, free: 47.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3245, allocations: 4 kB / 1.286 GB, free: 47.55 MB / 0.823 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3245, allocations: 0 / 1.286 GB, free: 47.55 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.485e-05/0.3246, allocations: 0 / 1.286 GB, free: 47.55 MB / 0.823 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.002488/0.3271, allocations: 1.748 MB / 1.288 GB, free: 45.75 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3271, allocations: 19.97 kB / 1.288 GB, free: 45.73 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000333/0.3274, allocations: 155.2 kB / 1.288 GB, free: 45.58 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.3289, allocations: 1.142 MB / 1.289 GB, free: 44.39 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.3289, allocations: 66 kB / 1.289 GB, free: 44.33 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.329, allocations: 91.91 kB / 1.289 GB, free: 44.24 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.3302, allocations: 0.9128 MB / 1.29 GB, free: 43.29 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.3302, allocations: 0 / 1.29 GB, free: 43.29 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.329e-05/0.3303, allocations: 36 kB / 1.29 GB, free: 43.25 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/0.3303, allocations: 24 kB / 1.29 GB, free: 43.23 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000842/0.3312, allocations: 0.648 MB / 1.291 GB, free: 42.58 MB / 0.823 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.003532/0.3347, allocations: 4.285 MB / 1.295 GB, free: 38 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007127/0.3354, allocations: 0.4978 MB / 1.295 GB, free: 37.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.3358, allocations: 324.9 kB / 1.296 GB, free: 37.18 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004693/0.3363, allocations: 0.6026 MB / 1.296 GB, free: 36.45 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.3363, allocations: 39.12 kB / 1.296 GB, free: 36.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=57): time 1.824e-06/0.3364, allocations: 4 kB / 1.296 GB, free: 36.39 MB / 0.823 GB Notification: Performance of matching and sorting (n=57): time 0.002033/0.3384, allocations: 1.216 MB / 1.297 GB, free: 35.09 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.524e-05/0.3384, allocations: 55.97 kB / 1.297 GB, free: 35.02 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008099/0.3393, allocations: 0.8837 MB / 1.298 GB, free: 34.11 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.3393, allocations: 41.7 kB / 1.298 GB, free: 34.07 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.3396, allocations: 0.519 MB / 1.299 GB, free: 33.54 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.3397, allocations: 205 kB / 1.299 GB, free: 33.34 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.3399, allocations: 150.6 kB / 1.299 GB, free: 33.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.3399, allocations: 334 kB / 1.3 GB, free: 32.85 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002859/0.3402, allocations: 212.8 kB / 1.3 GB, free: 32.64 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.3407, allocations: 393.1 kB / 1.3 GB, free: 32.19 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007411/0.3414, allocations: 0.5682 MB / 1.301 GB, free: 31.57 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3414, allocations: 0 / 1.301 GB, free: 31.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001381/0.3428, allocations: 0.8587 MB / 1.302 GB, free: 30.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3429, allocations: 12.09 kB / 1.302 GB, free: 30.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.3429, allocations: 7.938 kB / 1.302 GB, free: 30.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005822/0.3435, allocations: 147.3 kB / 1.302 GB, free: 30.52 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004397/0.3439, allocations: 147.8 kB / 1.302 GB, free: 30.38 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.3469, allocations: 4.826 MB / 1.307 GB, free: 25.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/0.3478, allocations: 119.2 kB / 1.307 GB, free: 25 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/0.3479, allocations: 28 kB / 1.307 GB, free: 24.98 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000635/0.3485, allocations: 446 kB / 1.307 GB, free: 24.54 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004145/0.3489, allocations: 384.6 kB / 1.307 GB, free: 24.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006448/0.3496, allocations: 0.5642 MB / 1.308 GB, free: 23.49 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.3496, allocations: 3.938 kB / 1.308 GB, free: 23.49 MB / 0.823 GB Notification: Performance of matching and sorting (n=94) (initialization_lambda0): time 0.001184/0.3508, allocations: 0.8233 MB / 1.309 GB, free: 22.64 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3508, allocations: 8 kB / 1.309 GB, free: 22.64 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3508, allocations: 7.984 kB / 1.309 GB, free: 22.63 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/0.3511, allocations: 131.7 kB / 1.309 GB, free: 22.49 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003978/0.3515, allocations: 147.7 kB / 1.309 GB, free: 22.34 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/0.3544, allocations: 5.822 MB / 1.315 GB, free: 15.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007508/0.3551, allocations: 103.5 kB / 1.315 GB, free: 15.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.324e-05/0.3552, allocations: 24 kB / 1.315 GB, free: 15.85 MB / 0.823 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 (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002087/0.3554, allocations: 233.2 kB / 1.315 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/0.3556, allocations: 110.6 kB / 1.315 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.3567, allocations: 0.6976 MB / 1.316 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.3567, allocations: 8 kB / 1.316 GB, free: 14.79 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3567, allocations: 4 kB / 1.316 GB, free: 14.78 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000783/0.3575, allocations: 0.6416 MB / 1.317 GB, free: 14.1 MB / 0.823 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.002166/0.3597, allocations: 1.816 MB / 1.318 GB, free: 12.19 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3597, allocations: 128 / 1.318 GB, free: 12.19 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.36, allocations: 95.89 kB / 1.318 GB, free: 12.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000248/0.3603, allocations: 131.3 kB / 1.319 GB, free: 11.95 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.3603, allocations: 15.98 kB / 1.319 GB, free: 11.94 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/0.3625, allocations: 4.818 MB / 1.323 GB, free: 6.699 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3625, allocations: 0 / 1.323 GB, free: 6.699 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01542/0.3779, allocations: 12.21 MB / 1.335 GB, free: 9.68 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.3783, allocations: 247.7 kB / 1.335 GB, free: 9.418 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.03e-05/0.3784, allocations: 16 kB / 1.335 GB, free: 9.402 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005648/0.379, allocations: 67.83 kB / 1.336 GB, free: 9.336 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.654e-05/0.3791, allocations: 44.44 kB / 1.336 GB, free: 9.293 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.3791, allocations: 31.98 kB / 1.336 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008424/0.38, allocations: 0.6063 MB / 1.336 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/0.38, allocations: 0 / 1.336 GB, free: 8.645 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.004166/0.3842, allocations: 1.1 MB / 1.337 GB, free: 7.543 MB / 0.8386 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.3853, allocations: 498.7 kB / 1.338 GB, free: 7.055 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.3877, allocations: 1.773 MB / 1.339 GB, free: 5.18 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3877, allocations: 4 kB / 1.339 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0006921/0.3884, allocations: 0.6125 MB / 1.34 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/0.3909, allocations: 0.5335 MB / 1.341 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003856/0.3948, allocations: 3.334 MB / 1.344 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006921/0.3955, allocations: 1.115 MB / 1.345 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0008292/0.3963, allocations: 238.7 kB / 1.345 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002024/0.3966, allocations: 87.36 kB / 1.345 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of SimCode: time 3.91e-07/0.3966, allocations: 0 / 1.345 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of Templates: time 0.04256/0.4391, allocations: 27.62 MB / 1.372 GB, free: 3.738 MB / 0.8698 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)