Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002455/0.002459, allocations: 357.2 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.283/1.283, allocations: 165.8 MB / 182.5 MB, free: 5.902 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.158/4.158, allocations: 410.7 MB / 0.5995 GB, free: 2.184 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001855/0.001855, allocations: 187.8 kB / 0.6662 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004695/0.0004697, allocations: 8 kB / 0.7423 GB, free: 4 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3901/0.3906, allocations: 67.44 MB / 0.8082 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.0828/0.4734, allocations: 79.31 MB / 0.8856 GB, free: 178.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0328/0.5063, allocations: 23.18 MB / 0.9083 GB, free: 154.9 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004859/0.5112, allocations: 103.3 kB / 0.9084 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.005297/0.5165, allocations: 1.479 MB / 0.9098 GB, free: 153.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.5295, allocations: 4.045 MB / 0.9138 GB, free: 149.3 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.01205/0.5415, allocations: 3.752 MB / 0.9174 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.5522, allocations: 9.227 MB / 0.9264 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003545/0.5558, allocations: 2.071 MB / 0.9285 GB, free: 134.4 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004943/0.5608, allocations: 2.295 MB / 0.9307 GB, free: 132.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003445/0.5643, allocations: 2.164 MB / 0.9328 GB, free: 129.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0006416/0.5649, allocations: 148 kB / 0.933 GB, free: 129.8 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006307/0.5713, allocations: 2.262 MB / 0.9352 GB, free: 127.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.001057/0.5724, allocations: 0.6029 MB / 0.9358 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.5737, allocations: 0.7032 MB / 0.9364 GB, free: 126.2 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.5812, allocations: 5.357 MB / 0.9417 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.637e-06/0.5813, allocations: 4 kB / 0.9417 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.829e-06/0.5813, allocations: 4 kB / 0.9417 GB, free: 120.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.009e-05/0.5814, allocations: 0 / 0.9417 GB, free: 120.8 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.006491/0.5879, allocations: 3.296 MB / 0.9449 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.588, allocations: 8.031 kB / 0.9449 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/0.5892, allocations: 371.8 kB / 0.9453 GB, free: 117.1 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005423/0.5947, allocations: 2.475 MB / 0.9477 GB, free: 114.5 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.5948, allocations: 160.1 kB / 0.9478 GB, free: 114.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.5953, allocations: 220 kB / 0.948 GB, free: 114.1 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004694/0.6, allocations: 2.175 MB / 0.9502 GB, free: 111.9 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.884e-05/0.6001, allocations: 12.73 kB / 0.9502 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002348/0.6003, allocations: 80 kB / 0.9503 GB, free: 111.8 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.354e-05/0.6004, allocations: 56 kB / 0.9503 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003873/0.6043, allocations: 1.665 MB / 0.9519 GB, free: 110 MB / 0.5886 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.0145/0.6188, allocations: 9.282 MB / 0.961 GB, free: 100.4 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002175/0.621, allocations: 1.19 MB / 0.9622 GB, free: 99.16 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001444/0.6225, allocations: 0.849 MB / 0.963 GB, free: 98.32 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002128/0.6247, allocations: 2.926 MB / 0.9658 GB, free: 94.75 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.955e-05/0.6248, allocations: 51.86 kB / 0.9659 GB, free: 94.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=148): time 5.168e-06/0.6248, allocations: 3.938 kB / 0.9659 GB, free: 94.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=148): time 0.006637/0.6314, allocations: 2.72 MB / 0.9686 GB, free: 91.84 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.6315, allocations: 98.41 kB / 0.9686 GB, free: 91.72 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003721/0.6352, allocations: 2.215 MB / 0.9708 GB, free: 89.49 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.000244/0.6355, allocations: 53.7 kB / 0.9709 GB, free: 89.43 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009395/0.6365, allocations: 1.185 MB / 0.972 GB, free: 88.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005323/0.637, allocations: 0.5223 MB / 0.9725 GB, free: 87.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001737/0.6372, allocations: 40 kB / 0.9726 GB, free: 87.67 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.6374, allocations: 373.9 kB / 0.9729 GB, free: 87.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001208/0.6386, allocations: 0.5583 MB / 0.9735 GB, free: 86.74 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.64, allocations: 0.9267 MB / 0.9744 GB, free: 85.69 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.6415, allocations: 0.7166 MB / 0.9751 GB, free: 84.98 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.441e-06/0.6415, allocations: 0 / 0.9751 GB, free: 84.98 MB / 0.5886 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004929/0.6465, allocations: 2.108 MB / 0.9771 GB, free: 82.85 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.6466, allocations: 287.4 kB / 0.9774 GB, free: 82.47 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-05/0.6467, allocations: 8 kB / 0.9774 GB, free: 82.46 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/0.6479, allocations: 268.7 kB / 0.9777 GB, free: 82.19 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001883/0.6498, allocations: 383.4 kB / 0.978 GB, free: 81.81 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/0.6548, allocations: 7.054 MB / 0.9849 GB, free: 74.19 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002865/0.6577, allocations: 302 kB / 0.9852 GB, free: 73.89 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002697/0.658, allocations: 79.73 kB / 0.9853 GB, free: 73.82 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.86e-06/0.6581, allocations: 4 kB / 0.9853 GB, free: 73.82 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003929/0.662, allocations: 1.801 MB / 0.987 GB, free: 72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.191e-05/0.6621, allocations: 8.625 kB / 0.9871 GB, free: 71.99 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006562/0.6627, allocations: 217.4 kB / 0.9873 GB, free: 71.76 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.6644, allocations: 383.5 kB / 0.9876 GB, free: 71.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006841/0.6713, allocations: 9.094 MB / 0.9965 GB, free: 61.49 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/0.6741, allocations: 286.3 kB / 0.9968 GB, free: 61.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/0.6744, allocations: 75.98 kB / 0.9969 GB, free: 61.13 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001472/0.6759, allocations: 0.651 MB / 0.9975 GB, free: 60.47 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/0.6764, allocations: 256.8 kB / 0.9977 GB, free: 60.22 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004321/0.6808, allocations: 2.015 MB / 0.9997 GB, free: 58.22 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.6808, allocations: 19.98 kB / 0.9997 GB, free: 58.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.942e-06/0.6809, allocations: 0 / 0.9997 GB, free: 58.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002929/0.6838, allocations: 1.648 MB / 1.001 GB, free: 56.49 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008421/0.6922, allocations: 4.346 MB / 1.006 GB, free: 52.06 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.6923, allocations: 10.75 kB / 1.006 GB, free: 52.05 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00142/0.6937, allocations: 271.7 kB / 1.006 GB, free: 51.79 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007171/0.6945, allocations: 210.3 kB / 1.006 GB, free: 51.57 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.6946, allocations: 39.98 kB / 1.006 GB, free: 51.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004902/0.6995, allocations: 7.063 MB / 1.013 GB, free: 43.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.384e-06/0.6996, allocations: 4.031 kB / 1.013 GB, free: 43.89 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005131/0.7047, allocations: 2.629 MB / 1.016 GB, free: 41.22 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.7062, allocations: 0.5794 MB / 1.016 GB, free: 40.62 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/0.7066, allocations: 31.94 kB / 1.016 GB, free: 40.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/0.7084, allocations: 147.6 kB / 1.016 GB, free: 40.45 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002747/0.7087, allocations: 113.1 kB / 1.016 GB, free: 40.34 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/0.7089, allocations: 55.97 kB / 1.016 GB, free: 40.28 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00275/0.7117, allocations: 1.484 MB / 1.018 GB, free: 38.79 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.073e-06/0.7117, allocations: 0 / 1.018 GB, free: 38.79 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006435/0.7181, allocations: 1.863 MB / 1.02 GB, free: 36.92 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002297/0.7205, allocations: 1.051 MB / 1.021 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006345/0.7269, allocations: 3.711 MB / 1.024 GB, free: 32.05 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.453e-06/0.7269, allocations: 4.188 kB / 1.024 GB, free: 32.04 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001951/0.7289, allocations: 1.229 MB / 1.026 GB, free: 30.76 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007477/0.7364, allocations: 1.331 MB / 1.027 GB, free: 29.48 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009681/0.7461, allocations: 6.047 MB / 1.033 GB, free: 23.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.7476, allocations: 1.801 MB / 1.035 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003288/0.751, allocations: 0.5874 MB / 1.035 GB, free: 21.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006374/0.7516, allocations: 211.3 kB / 1.035 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of SimCode: time 1.844e-06/0.7516, allocations: 0 / 1.035 GB, free: 20.86 MB / 0.5886 GB Notification: Performance of Templates: time 0.4866/1.238, allocations: 59.24 MB / 1.093 GB, free: 202 MB / 0.5886 GB