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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005421/0.005421, allocations: 171.2 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 292.7 MB / 0.5502 GB, free: 14.5 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005263/0.0005264, allocations: 18.19 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.1989, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04185/0.2408, allocations: 39.46 MB / 0.8264 GB, free: 3.984 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.2575, allocations: 12.32 MB / 0.8384 GB, free: 7.637 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001983/0.2596, allocations: 47.69 kB / 0.8385 GB, free: 7.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002009/0.2616, allocations: 0.5594 MB / 0.839 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005574/0.2672, allocations: 1.901 MB / 0.8409 GB, free: 5.121 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.2707, allocations: 1.287 MB / 0.8422 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00527/0.276, allocations: 4.56 MB / 0.8466 GB, free: 15.28 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001489/0.2775, allocations: 0.9742 MB / 0.8476 GB, free: 14.27 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001979/0.2795, allocations: 1.061 MB / 0.8486 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.2808, allocations: 0.9527 MB / 0.8495 GB, free: 12.24 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.2809, allocations: 52 kB / 0.8496 GB, free: 12.19 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002794/0.2837, allocations: 1.489 MB / 0.851 GB, free: 10.7 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002643/0.284, allocations: 242.8 kB / 0.8513 GB, free: 10.46 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007989/0.2848, allocations: 0.6819 MB / 0.8519 GB, free: 9.77 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003178/0.288, allocations: 2.519 MB / 0.8544 GB, free: 7.242 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.288, allocations: 0 / 0.8544 GB, free: 7.242 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.374e-06/0.288, allocations: 0 / 0.8544 GB, free: 7.242 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.288, allocations: 0 / 0.8544 GB, free: 7.242 MB / 0.67 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.002536/0.2906, allocations: 1.491 MB / 0.8558 GB, free: 5.699 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.2906, allocations: 8.031 kB / 0.8558 GB, free: 5.691 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.291, allocations: 151.2 kB / 0.856 GB, free: 5.543 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.2927, allocations: 1.145 MB / 0.8571 GB, free: 4.355 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.313e-05/0.2927, allocations: 66 kB / 0.8572 GB, free: 4.293 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.2929, allocations: 88 kB / 0.8573 GB, free: 4.207 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.2943, allocations: 0.909 MB / 0.8581 GB, free: 3.262 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.599e-05/0.2943, allocations: 7.906 kB / 0.8582 GB, free: 3.254 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.532e-05/0.2944, allocations: 36 kB / 0.8582 GB, free: 3.219 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.205e-05/0.2945, allocations: 31.86 kB / 0.8582 GB, free: 3.188 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001044/0.2955, allocations: 0.6403 MB / 0.8588 GB, free: 2.551 MB / 0.67 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.004688/0.3002, allocations: 4.285 MB / 0.863 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008795/0.3011, allocations: 0.5018 MB / 0.8635 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004952/0.3016, allocations: 322.9 kB / 0.8638 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006184/0.3022, allocations: 0.6057 MB / 0.8644 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.3023, allocations: 43.12 kB / 0.8645 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=57): time 2.385e-06/0.3023, allocations: 0 / 0.8645 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=57): time 0.002388/0.3047, allocations: 1.216 MB / 0.8656 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.3047, allocations: 59.95 kB / 0.8657 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.3058, allocations: 0.8753 MB / 0.8666 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.82e-05/0.3059, allocations: 41.7 kB / 0.8666 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003903/0.3063, allocations: 0.5152 MB / 0.8671 GB, free: 9.512 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.3064, allocations: 205 kB / 0.8673 GB, free: 9.309 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.159e-05/0.3065, allocations: 69.67 kB / 0.8674 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3067, allocations: 330 kB / 0.8677 GB, free: 8.906 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003443/0.307, allocations: 209.9 kB / 0.8679 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004811/0.3075, allocations: 410.2 kB / 0.8683 GB, free: 8.23 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007798/0.3083, allocations: 0.5643 MB / 0.8688 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3083, allocations: 0 / 0.8688 GB, free: 7.617 MB / 0.6856 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001524/0.3098, allocations: 0.8624 MB / 0.8697 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.00012/0.31, allocations: 190.7 kB / 0.8698 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.31, allocations: 4 kB / 0.8698 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005883/0.3106, allocations: 171.2 kB / 0.87 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.3111, allocations: 135.8 kB / 0.8701 GB, free: 6.188 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003509/0.3146, allocations: 4.826 MB / 0.8749 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009557/0.3156, allocations: 123.3 kB / 0.875 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.362e-05/0.3157, allocations: 32 kB / 0.875 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.3157, allocations: 4 kB / 0.875 GB, free: 0.7812 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001285/0.317, allocations: 0.7094 MB / 0.8757 GB, free: 60 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.317, allocations: 8 kB / 0.8757 GB, free: 52 kB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003332/0.3173, allocations: 127.7 kB / 0.8758 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.3178, allocations: 135.8 kB / 0.876 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004147/0.322, allocations: 5.841 MB / 0.8817 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008577/0.3228, allocations: 107.4 kB / 0.8818 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.3229, allocations: 24 kB / 0.8818 GB, free: 9.262 MB / 0.7012 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.0005748/0.3235, allocations: 388.7 kB / 0.8822 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.3237, allocations: 98.78 kB / 0.8823 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.3251, allocations: 0.6987 MB / 0.8829 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.3251, allocations: 12 kB / 0.8829 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3251, allocations: 192 / 0.8829 GB, free: 8.051 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009421/0.326, allocations: 0.6455 MB / 0.8836 GB, free: 7.359 MB / 0.7012 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.002832/0.3289, allocations: 1.827 MB / 0.8854 GB, free: 5.434 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.3289, allocations: 4.125 kB / 0.8854 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.3293, allocations: 87.89 kB / 0.8854 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003037/0.3296, allocations: 123.3 kB / 0.8856 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.066e-05/0.3297, allocations: 16 kB / 0.8856 GB, free: 5.195 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003439/0.3331, allocations: 4.812 MB / 0.8903 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3331, allocations: 3.984 kB / 0.8903 GB, free: 15.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.3347, allocations: 1.038 MB / 0.8913 GB, free: 14.88 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004678/0.3352, allocations: 271.7 kB / 0.8916 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/0.3353, allocations: 12 kB / 0.8916 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006821/0.336, allocations: 73.78 kB / 0.8916 GB, free: 14.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.627e-05/0.3361, allocations: 40.39 kB / 0.8917 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.3362, allocations: 27.98 kB / 0.8917 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008861/0.3371, allocations: 0.5981 MB / 0.8923 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3371, allocations: 4 kB / 0.8923 GB, free: 13.84 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002316/0.3394, allocations: 0.7171 MB / 0.893 GB, free: 13.12 MB / 0.7169 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.001043/0.3405, allocations: 463.3 kB / 0.8934 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.3429, allocations: 1.776 MB / 0.8952 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.3429, allocations: 0 / 0.8952 GB, free: 10.79 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007168/0.3436, allocations: 0.6171 MB / 0.8958 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.3467, allocations: 0.5385 MB / 0.8963 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003729/0.3504, allocations: 2.519 MB / 0.8988 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007138/0.3511, allocations: 1.097 MB / 0.8998 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008906/0.352, allocations: 211.2 kB / 0.9 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.3522, allocations: 75.42 kB / 0.9001 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of SimCode: time 5.71e-07/0.3522, allocations: 0 / 0.9001 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of Templates: time 0.3968/0.749, allocations: 23.77 MB / 0.9233 GB, free: 128.5 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: