Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.629/1.629, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001209/0.001209, allocations: 168.9 kB / 361.4 MB, free: 6.84 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.544/1.544, allocations: 205.2 MB / 0.62 GB, free: 11.69 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.0008291/0.0008292, allocations: 87.81 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.705e-05/1.717e-05, allocations: 4 kB / 0.8518 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6921, allocations: 115.3 MB / 0.9644 GB, free: 78.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9991/1.691, allocations: 420.9 MB / 1.375 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/1.691, allocations: 103 kB / 1.376 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.507/3.199, allocations: 0.5509 GB / 1.926 GB, free: 42.27 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.333e-06/3.199, allocations: 0 / 1.926 GB, free: 42.27 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001017/3.199, allocations: 35.92 kB / 1.926 GB, free: 42.24 MB / 0.9323 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.002249/3.201, allocations: 1.406 MB / 1.928 GB, free: 40.79 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/3.201, allocations: 12.03 kB / 1.928 GB, free: 40.77 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003384/3.201, allocations: 146.3 kB / 1.928 GB, free: 40.63 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002081/3.203, allocations: 1.386 MB / 1.929 GB, free: 39.2 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/3.203, allocations: 28 kB / 1.929 GB, free: 39.17 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.451e-05/3.204, allocations: 56.45 kB / 1.929 GB, free: 39.12 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008468/3.204, allocations: 0.5585 MB / 1.93 GB, free: 38.56 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/3.205, allocations: 0.7373 MB / 1.931 GB, free: 37.79 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/3.206, allocations: 4 kB / 1.931 GB, free: 37.78 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/3.206, allocations: 0 / 1.931 GB, free: 37.78 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.762e-05/3.206, allocations: 31.98 kB / 1.931 GB, free: 37.75 MB / 0.9323 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.003528/3.209, allocations: 4.154 MB / 1.935 GB, free: 33.32 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/3.21, allocations: 0.496 MB / 1.935 GB, free: 32.81 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/3.21, allocations: 298.2 kB / 1.936 GB, free: 32.52 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004547/3.211, allocations: 0.5987 MB / 1.936 GB, free: 31.79 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.953e-05/3.211, allocations: 51.06 kB / 1.936 GB, free: 31.73 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 2.074e-06/3.211, allocations: 3.938 kB / 1.936 GB, free: 31.73 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.00125/3.212, allocations: 0.6143 MB / 1.937 GB, free: 31.09 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/3.212, allocations: 63.97 kB / 1.937 GB, free: 31.02 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00068/3.213, allocations: 0.7002 MB / 1.937 GB, free: 30.32 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.112e-05/3.213, allocations: 25.7 kB / 1.938 GB, free: 30.29 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.000245/3.213, allocations: 0.5111 MB / 1.938 GB, free: 29.77 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/3.213, allocations: 201 kB / 1.938 GB, free: 29.57 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.27e-05/3.213, allocations: 0 / 1.938 GB, free: 29.57 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/3.213, allocations: 330 kB / 1.939 GB, free: 29.24 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/3.213, allocations: 181.5 kB / 1.939 GB, free: 29.06 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/3.214, allocations: 376.2 kB / 1.939 GB, free: 28.62 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006061/3.214, allocations: 292.1 kB / 1.939 GB, free: 28.34 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/3.214, allocations: 0 / 1.939 GB, free: 28.34 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001254/3.216, allocations: 0.7897 MB / 1.94 GB, free: 27.52 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/3.216, allocations: 1.317 MB / 1.941 GB, free: 26.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.489e-05/3.216, allocations: 8 kB / 1.941 GB, free: 26.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002833/3.216, allocations: 123.4 kB / 1.942 GB, free: 25.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003873/3.217, allocations: 127.9 kB / 1.942 GB, free: 25.84 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/3.219, allocations: 4.695 MB / 1.946 GB, free: 20.77 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/3.219, allocations: 87.44 kB / 1.946 GB, free: 20.68 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.022e-05/3.22, allocations: 27.98 kB / 1.946 GB, free: 20.66 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/3.22, allocations: 4 kB / 1.946 GB, free: 20.65 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0011/3.221, allocations: 0.6452 MB / 1.947 GB, free: 19.99 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/3.221, allocations: 7.984 kB / 1.947 GB, free: 19.98 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002307/3.221, allocations: 123.3 kB / 1.947 GB, free: 19.85 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003807/3.221, allocations: 128 kB / 1.947 GB, free: 19.73 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/3.224, allocations: 5.617 MB / 1.953 GB, free: 13.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/3.225, allocations: 87.44 kB / 1.953 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/3.225, allocations: 24 kB / 1.953 GB, free: 13.53 MB / 0.9323 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.0001482/3.225, allocations: 131 kB / 1.953 GB, free: 13.4 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/3.225, allocations: 91.16 kB / 1.953 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/3.226, allocations: 0.6873 MB / 1.954 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/3.226, allocations: 7.984 kB / 1.954 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/3.226, allocations: 4 kB / 1.954 GB, free: 12.59 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008443/3.227, allocations: 0.6415 MB / 1.954 GB, free: 11.9 MB / 0.9323 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.00217/3.229, allocations: 1.718 MB / 1.956 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/3.229, allocations: 0 / 1.956 GB, free: 10.11 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003351/3.23, allocations: 95.84 kB / 1.956 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001949/3.23, allocations: 103.4 kB / 1.956 GB, free: 9.898 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/3.23, allocations: 4.125 kB / 1.956 GB, free: 9.895 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/3.232, allocations: 4.664 MB / 1.961 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/3.232, allocations: 0 / 1.961 GB, free: 4.859 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/3.233, allocations: 1.072 MB / 1.962 GB, free: 3.719 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/3.234, allocations: 268 kB / 1.962 GB, free: 3.438 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.809e-05/3.234, allocations: 4 kB / 1.962 GB, free: 3.434 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/3.234, allocations: 59.83 kB / 1.962 GB, free: 3.375 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.874e-05/3.234, allocations: 40.52 kB / 1.962 GB, free: 3.336 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.926e-05/3.234, allocations: 31.91 kB / 1.962 GB, free: 3.305 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005664/3.235, allocations: 0.5304 MB / 1.963 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.312e-06/3.235, allocations: 0 / 1.963 GB, free: 2.777 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002419/3.237, allocations: 0.7675 MB / 1.963 GB, free: 2.008 MB / 0.9323 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.001025/3.238, allocations: 0.6551 MB / 1.964 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.5002/3.739, allocations: 1.638 MB / 1.966 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/3.739, allocations: 1.312 kB / 1.966 GB, free: 177.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000802/3.739, allocations: 0.5747 MB / 1.966 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002894/3.742, allocations: 0.4915 MB / 1.967 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/3.745, allocations: 1.506 MB / 1.968 GB, free: 177 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/3.746, allocations: 1.119 MB / 1.969 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001337/3.747, allocations: 271 kB / 1.97 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001706/3.748, allocations: 63.11 kB / 1.97 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of SimCode: time 9.52e-07/3.748, allocations: 0 / 1.97 GB, free: 176.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.03629/3.784, allocations: 23.53 MB / 1.993 GB, free: 175.8 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)