Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.316/2.316, allocations: 253.2 MB / 260.6 MB, free: 7.547 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 182.8 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.6 MB / 0.5708 GB, free: 15.28 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001127/0.001127, allocations: 86.39 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.29e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2102, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.897/2.107, allocations: 414 MB / 1.293 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003729/2.107, allocations: 103.3 kB / 1.293 GB, free: 260.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.457/4.564, allocations: 0.5358 GB / 1.829 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.934e-06/4.564, allocations: 0 / 1.829 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001359/4.564, allocations: 31.75 kB / 1.829 GB, free: 102.4 MB / 0.8698 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.003664/4.568, allocations: 1.409 MB / 1.83 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/4.568, allocations: 12.03 kB / 1.83 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007687/4.569, allocations: 150.3 kB / 1.83 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004484/4.573, allocations: 1.373 MB / 1.832 GB, free: 99.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.414e-05/4.574, allocations: 28 kB / 1.832 GB, free: 99.33 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/4.574, allocations: 56.69 kB / 1.832 GB, free: 99.27 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002502/4.576, allocations: 0.5622 MB / 1.832 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/4.579, allocations: 0.7334 MB / 1.833 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.879e-05/4.579, allocations: 3.906 kB / 1.833 GB, free: 97.94 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/4.58, allocations: 8 kB / 1.833 GB, free: 97.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.509e-05/4.58, allocations: 23.98 kB / 1.833 GB, free: 97.91 MB / 0.8698 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.01067/4.59, allocations: 4.143 MB / 1.837 GB, free: 93.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001906/4.592, allocations: 0.4884 MB / 1.838 GB, free: 93.04 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/4.593, allocations: 299.2 kB / 1.838 GB, free: 92.74 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/4.595, allocations: 0.5924 MB / 1.839 GB, free: 92.02 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/4.595, allocations: 51.17 kB / 1.839 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 1.906e-05/4.595, allocations: 3.938 kB / 1.839 GB, free: 91.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.003484/4.598, allocations: 0.6186 MB / 1.839 GB, free: 91.32 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.665e-05/4.598, allocations: 63.97 kB / 1.839 GB, free: 91.25 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/4.6, allocations: 0.6963 MB / 1.84 GB, free: 90.55 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000221/4.601, allocations: 25.7 kB / 1.84 GB, free: 90.52 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006395/4.601, allocations: 0.5227 MB / 1.841 GB, free: 89.99 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003497/4.602, allocations: 193.1 kB / 1.841 GB, free: 89.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/4.602, allocations: 0 / 1.841 GB, free: 89.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/4.602, allocations: 330 kB / 1.841 GB, free: 89.47 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006455/4.603, allocations: 181.5 kB / 1.841 GB, free: 89.29 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008508/4.603, allocations: 384.2 kB / 1.842 GB, free: 88.84 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/4.605, allocations: 292.1 kB / 1.842 GB, free: 88.55 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/4.605, allocations: 0 / 1.842 GB, free: 88.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004335/4.61, allocations: 0.7886 MB / 1.843 GB, free: 87.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004691/4.61, allocations: 1.316 MB / 1.844 GB, free: 86.33 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-05/4.61, allocations: 12 kB / 1.844 GB, free: 86.32 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008925/4.611, allocations: 115.4 kB / 1.844 GB, free: 86.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/4.613, allocations: 127.8 kB / 1.844 GB, free: 86.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005859/4.619, allocations: 4.683 MB / 1.849 GB, free: 81.02 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/4.621, allocations: 95.31 kB / 1.849 GB, free: 80.92 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002725/4.621, allocations: 35.92 kB / 1.849 GB, free: 80.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/4.621, allocations: 4.625 kB / 1.849 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003415/4.625, allocations: 0.6371 MB / 1.849 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.884e-05/4.625, allocations: 4 kB / 1.849 GB, free: 80.23 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006804/4.626, allocations: 130.9 kB / 1.85 GB, free: 80.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/4.627, allocations: 132.1 kB / 1.85 GB, free: 79.96 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006711/4.634, allocations: 5.607 MB / 1.855 GB, free: 73.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002258/4.636, allocations: 87.44 kB / 1.855 GB, free: 73.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/4.636, allocations: 24 kB / 1.855 GB, free: 73.78 MB / 0.8698 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.0003448/4.637, allocations: 128.7 kB / 1.855 GB, free: 73.65 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004537/4.637, allocations: 98.86 kB / 1.856 GB, free: 73.55 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003317/4.64, allocations: 0.6861 MB / 1.856 GB, free: 72.84 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.256e-05/4.641, allocations: 4 kB / 1.856 GB, free: 72.84 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/4.641, allocations: 7.938 kB / 1.856 GB, free: 72.83 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002575/4.643, allocations: 0.6416 MB / 1.857 GB, free: 72.14 MB / 0.8698 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.006751/4.65, allocations: 1.711 MB / 1.858 GB, free: 70.37 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/4.65, allocations: 0 / 1.858 GB, free: 70.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/4.651, allocations: 91.84 kB / 1.859 GB, free: 70.28 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006012/4.652, allocations: 107.4 kB / 1.859 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.124e-05/4.652, allocations: 8.125 kB / 1.859 GB, free: 70.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004946/4.657, allocations: 4.667 MB / 1.863 GB, free: 65.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/4.657, allocations: 0 / 1.863 GB, free: 65.12 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003956/4.661, allocations: 1.064 MB / 1.864 GB, free: 63.99 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/4.662, allocations: 267.7 kB / 1.865 GB, free: 63.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/4.662, allocations: 4 kB / 1.865 GB, free: 63.71 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/4.664, allocations: 59.75 kB / 1.865 GB, free: 63.65 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/4.664, allocations: 48.44 kB / 1.865 GB, free: 63.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/4.664, allocations: 23.98 kB / 1.865 GB, free: 63.58 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001486/4.666, allocations: 0.5304 MB / 1.865 GB, free: 63.05 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.253e-06/4.666, allocations: 3.938 kB / 1.865 GB, free: 63.05 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006059/4.672, allocations: 0.7512 MB / 1.866 GB, free: 62.3 MB / 0.8698 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.002475/4.675, allocations: 0.6618 MB / 1.867 GB, free: 61.68 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004348/4.679, allocations: 1.65 MB / 1.868 GB, free: 59.95 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/4.679, allocations: 0 / 1.868 GB, free: 59.95 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/4.68, allocations: 0.5778 MB / 1.869 GB, free: 59.35 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006695/4.687, allocations: 0.4968 MB / 1.869 GB, free: 58.86 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005882/4.693, allocations: 1.503 MB / 1.871 GB, free: 57.31 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001029/4.694, allocations: 1.114 MB / 1.872 GB, free: 56.17 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002918/4.697, allocations: 274.8 kB / 1.872 GB, free: 55.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003037/4.697, allocations: 63.42 kB / 1.872 GB, free: 55.84 MB / 0.8698 GB Notification: Performance of SimCode: time 1.342e-06/4.697, allocations: 0 / 1.872 GB, free: 55.84 MB / 0.8698 GB Notification: Performance of Templates: time 0.07999/4.777, allocations: 23.39 MB / 1.895 GB, free: 32.66 MB / 0.8698 GB