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.0007137/0.0007138, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0007679/0.0007679, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.225/1.225, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.61/1.61, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0005662/0.0005663, allocations: 15.81 kB / 0.6737 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2379, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.0363/0.2742, allocations: 37.33 MB / 0.8238 GB, free: 6.504 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01637/0.2907, allocations: 11.54 MB / 0.835 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002507/0.2932, allocations: 47.69 kB / 0.8351 GB, free: 10.9 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.2954, allocations: 488.9 kB / 0.8355 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005629/0.3011, allocations: 1.63 MB / 0.8371 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.3043, allocations: 1.074 MB / 0.8382 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004744/0.309, allocations: 3.928 MB / 0.842 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.3106, allocations: 0.8683 MB / 0.8429 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002063/0.3126, allocations: 1.038 MB / 0.8439 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.3141, allocations: 0.8984 MB / 0.8448 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.3142, allocations: 52 kB / 0.8448 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002586/0.3168, allocations: 1.205 MB / 0.846 GB, free: 15.69 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.3171, allocations: 234.9 kB / 0.8462 GB, free: 15.46 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003873/0.3175, allocations: 301 kB / 0.8465 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002063/0.3195, allocations: 1.917 MB / 0.8484 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3195, allocations: 0 / 0.8484 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3196, allocations: 0 / 0.8484 GB, free: 13.23 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.3196, allocations: 0 / 0.8484 GB, free: 13.23 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.002398/0.322, allocations: 1.503 MB / 0.8498 GB, free: 11.68 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.322, allocations: 12.03 kB / 0.8498 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003209/0.3224, allocations: 154.2 kB / 0.85 GB, free: 11.51 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001585/0.324, allocations: 1.095 MB / 0.8511 GB, free: 10.38 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.324, allocations: 66 kB / 0.8511 GB, free: 10.31 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.3241, allocations: 92 kB / 0.8512 GB, free: 10.22 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.3255, allocations: 0.905 MB / 0.8521 GB, free: 9.281 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.3256, allocations: 3.938 kB / 0.8521 GB, free: 9.277 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.508e-05/0.3256, allocations: 32 kB / 0.8521 GB, free: 9.246 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.3257, allocations: 31.98 kB / 0.8522 GB, free: 9.215 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009934/0.3267, allocations: 0.6402 MB / 0.8528 GB, free: 8.574 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.004347/0.331, allocations: 4.297 MB / 0.857 GB, free: 3.992 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/0.3319, allocations: 0.4933 MB / 0.8575 GB, free: 3.492 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004574/0.3323, allocations: 310.9 kB / 0.8578 GB, free: 3.188 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000597/0.3329, allocations: 0.6065 MB / 0.8583 GB, free: 2.449 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.333, allocations: 47.06 kB / 0.8584 GB, free: 2.395 MB / 0.67 GB Notification: Performance of pre-optimization done (n=57): time 2.725e-06/0.333, allocations: 0 / 0.8584 GB, free: 2.395 MB / 0.67 GB Notification: Performance of matching and sorting (n=57): time 0.002357/0.3353, allocations: 1.204 MB / 0.8596 GB, free: 1.098 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3354, allocations: 59.97 kB / 0.8596 GB, free: 1.027 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.3365, allocations: 0.8713 MB / 0.8605 GB, free: 136 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.14e-05/0.3365, allocations: 37.7 kB / 0.8605 GB, free: 92 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004411/0.337, allocations: 0.5114 MB / 0.861 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.3372, allocations: 201 kB / 0.8612 GB, free: 15.37 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.3372, allocations: 16 kB / 0.8612 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3374, allocations: 341.9 kB / 0.8615 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000339/0.3377, allocations: 197.9 kB / 0.8617 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00047/0.3382, allocations: 410.2 kB / 0.8621 GB, free: 14.36 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/0.3386, allocations: 267.1 kB / 0.8624 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.3386, allocations: 0 / 0.8624 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001457/0.3401, allocations: 0.8505 MB / 0.8632 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.3403, allocations: 199.1 kB / 0.8634 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3403, allocations: 4 kB / 0.8634 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005559/0.3408, allocations: 155.4 kB / 0.8636 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.3413, allocations: 139.8 kB / 0.8637 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00364/0.345, allocations: 4.826 MB / 0.8684 GB, free: 7.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/0.3457, allocations: 119.2 kB / 0.8685 GB, free: 7.309 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/0.3458, allocations: 39.98 kB / 0.8685 GB, free: 7.27 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/0.3458, allocations: 4 kB / 0.8686 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001177/0.347, allocations: 0.7017 MB / 0.8692 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.347, allocations: 4 kB / 0.8692 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002841/0.3473, allocations: 131.6 kB / 0.8694 GB, free: 6.406 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004382/0.3478, allocations: 139.8 kB / 0.8695 GB, free: 6.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.3519, allocations: 5.815 MB / 0.8752 GB, free: 15.91 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007119/0.3526, allocations: 115.3 kB / 0.8753 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.809e-05/0.3527, allocations: 28 kB / 0.8753 GB, free: 15.77 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 (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.0005436/0.3532, allocations: 372.8 kB / 0.8757 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.3534, allocations: 102.8 kB / 0.8758 GB, free: 15.29 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.3546, allocations: 0.7053 MB / 0.8765 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.3546, allocations: 4 kB / 0.8765 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3547, allocations: 8 kB / 0.8765 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009506/0.3556, allocations: 0.6455 MB / 0.8771 GB, free: 13.87 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.002883/0.3585, allocations: 1.811 MB / 0.8789 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.3585, allocations: 0 / 0.8789 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000351/0.3589, allocations: 87.89 kB / 0.879 GB, free: 11.88 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000301/0.3592, allocations: 115.5 kB / 0.8791 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.437e-05/0.3593, allocations: 23.92 kB / 0.8791 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.3626, allocations: 4.827 MB / 0.8838 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3626, allocations: 4.031 kB / 0.8838 GB, free: 6.473 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001417/0.364, allocations: 1.015 MB / 0.8848 GB, free: 5.418 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004417/0.3645, allocations: 271.6 kB / 0.8851 GB, free: 5.133 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000139/0.3646, allocations: 12 kB / 0.8851 GB, free: 5.121 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.3653, allocations: 67.78 kB / 0.8851 GB, free: 5.055 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.3654, allocations: 48.44 kB / 0.8852 GB, free: 5.008 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.341e-05/0.3654, allocations: 23.98 kB / 0.8852 GB, free: 4.984 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008095/0.3662, allocations: 0.598 MB / 0.8858 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3663, allocations: 0 / 0.8858 GB, free: 4.375 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002289/0.3685, allocations: 0.7171 MB / 0.8865 GB, free: 3.656 MB / 0.7012 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.0009425/0.3695, allocations: 431.6 kB / 0.8869 GB, free: 3.238 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002325/0.3718, allocations: 1.777 MB / 0.8886 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3719, allocations: 8.062 kB / 0.8886 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006719/0.3725, allocations: 0.6046 MB / 0.8892 GB, free: 0.7109 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002291/0.3748, allocations: 0.5393 MB / 0.8898 GB, free: 176 kB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.3782, allocations: 2.461 MB / 0.8922 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006749/0.3789, allocations: 1.089 MB / 0.8932 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008647/0.3798, allocations: 224.1 kB / 0.8934 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001774/0.3799, allocations: 87.41 kB / 0.8935 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.38, allocations: 4 kB / 0.8935 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of Templates: time 0.03526/0.4152, allocations: 23.13 MB / 0.9161 GB, free: 5.418 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: