Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.186/2.186, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00159/0.00159, allocations: 181.3 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.317/2.317, allocations: 205.4 MB / 0.5764 GB, free: 21.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001247/0.001247, allocations: 101.8 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.0004969, allocations: 11.56 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2095, allocations: 106.3 MB / 0.8988 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.466, allocations: 422.8 MB / 1.312 GB, free: 12.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004583/1.467, allocations: 130.1 kB / 1.312 GB, free: 12.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.635/7.101, allocations: 1.024 GB / 2.336 GB, free: 68.66 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.444e-06/7.101, allocations: 4 kB / 2.336 GB, free: 68.66 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004627/7.102, allocations: 75.97 kB / 2.336 GB, free: 68.59 MB / 0.8855 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.01321/7.115, allocations: 3.61 MB / 2.34 GB, free: 64.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/7.115, allocations: 8.562 kB / 2.34 GB, free: 64.89 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001153/7.116, allocations: 291.3 kB / 2.34 GB, free: 64.59 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001604/7.118, allocations: 372.8 kB / 2.341 GB, free: 64.23 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009613/7.128, allocations: 2.924 MB / 2.343 GB, free: 61.24 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/7.128, allocations: 160.1 kB / 2.344 GB, free: 61.08 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005165/7.128, allocations: 222 kB / 2.344 GB, free: 60.86 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005526/7.134, allocations: 2.116 MB / 2.346 GB, free: 58.64 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.073e-05/7.134, allocations: 7.906 kB / 2.346 GB, free: 58.63 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003084/7.134, allocations: 88 kB / 2.346 GB, free: 58.54 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/7.134, allocations: 48 kB / 2.346 GB, free: 58.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004504/7.139, allocations: 1.609 MB / 2.348 GB, free: 56.87 MB / 0.8855 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.01905/7.158, allocations: 8.853 MB / 2.356 GB, free: 47.72 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00278/7.161, allocations: 1.359 MB / 2.358 GB, free: 46.31 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002813/7.164, allocations: 2.918 MB / 2.36 GB, free: 42.75 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.215e-05/7.164, allocations: 47.88 kB / 2.36 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=148): time 4.738e-06/7.164, allocations: 0 / 2.36 GB, free: 42.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148): time 0.008133/7.172, allocations: 2.708 MB / 2.363 GB, free: 39.85 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/7.172, allocations: 94.36 kB / 2.363 GB, free: 39.74 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004472/7.177, allocations: 2.019 MB / 2.365 GB, free: 37.71 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004337/7.177, allocations: 57.7 kB / 2.365 GB, free: 37.64 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001116/7.178, allocations: 1.205 MB / 2.366 GB, free: 36.43 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006721/7.179, allocations: 0.5159 MB / 2.367 GB, free: 35.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001428/7.179, allocations: 36 kB / 2.367 GB, free: 35.87 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001408/7.179, allocations: 377.9 kB / 2.367 GB, free: 35.49 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/7.181, allocations: 0.5232 MB / 2.368 GB, free: 34.97 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/7.182, allocations: 0.8969 MB / 2.369 GB, free: 33.94 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001626/7.184, allocations: 0.6804 MB / 2.369 GB, free: 33.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.629e-06/7.184, allocations: 4 kB / 2.369 GB, free: 33.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005284/7.189, allocations: 1.971 MB / 2.371 GB, free: 31.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005351/7.19, allocations: 2.728 MB / 2.374 GB, free: 28.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.705e-05/7.19, allocations: 8 kB / 2.374 GB, free: 28.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009149/7.191, allocations: 228.6 kB / 2.374 GB, free: 28.05 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002483/7.193, allocations: 347.5 kB / 2.374 GB, free: 27.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005455/7.199, allocations: 7.087 MB / 2.381 GB, free: 20.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/7.203, allocations: 278.2 kB / 2.382 GB, free: 19.78 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003069/7.203, allocations: 71.97 kB / 2.382 GB, free: 19.71 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/7.203, allocations: 4.625 kB / 2.382 GB, free: 19.7 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004534/7.208, allocations: 1.699 MB / 2.383 GB, free: 17.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/7.208, allocations: 11.98 kB / 2.383 GB, free: 17.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007568/7.208, allocations: 209.5 kB / 2.384 GB, free: 17.75 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002293/7.211, allocations: 347.5 kB / 2.384 GB, free: 17.41 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007502/7.218, allocations: 9.045 MB / 2.393 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003964/7.222, allocations: 266.2 kB / 2.393 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005217/7.223, allocations: 67.98 kB / 2.393 GB, free: 7.254 MB / 0.8855 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 (191): * Single equations (assignments): 184 * 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.002343/7.225, allocations: 0.6412 MB / 2.394 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/7.226, allocations: 260.8 kB / 2.394 GB, free: 6.344 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006225/7.232, allocations: 2.034 MB / 2.396 GB, free: 4.289 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-05/7.233, allocations: 23.98 kB / 2.396 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/7.233, allocations: 0 / 2.396 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004112/7.237, allocations: 1.67 MB / 2.398 GB, free: 2.523 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01808/7.255, allocations: 4.524 MB / 2.402 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/7.255, allocations: 4 kB / 2.402 GB, free: 13.88 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003959/7.259, allocations: 267.7 kB / 2.402 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001563/7.261, allocations: 212.8 kB / 2.402 GB, free: 13.4 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003121/7.261, allocations: 43.92 kB / 2.402 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009955/7.271, allocations: 7.087 MB / 2.409 GB, free: 5.695 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/7.271, allocations: 3.938 kB / 2.409 GB, free: 5.691 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007735/7.279, allocations: 2.772 MB / 2.412 GB, free: 2.844 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002216/7.281, allocations: 0.5754 MB / 2.413 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006846/7.282, allocations: 28 kB / 2.413 GB, free: 2.219 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0028/7.284, allocations: 155.5 kB / 2.413 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003081/7.285, allocations: 109.1 kB / 2.413 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/7.285, allocations: 59.97 kB / 2.413 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.005552/7.291, allocations: 1.558 MB / 2.415 GB, free: 344 kB / 0.9011 GB Notification: Performance of sort global known variables: time 1.563e-06/7.291, allocations: 0 / 2.415 GB, free: 344 kB / 0.9011 GB Notification: Performance of remove unused functions: time 0.01396/7.305, allocations: 1.988 MB / 2.416 GB, free: 14.34 MB / 0.9167 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.01565/7.32, allocations: 5.195 MB / 2.422 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00985/7.33, allocations: 3.593 MB / 2.425 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/7.33, allocations: 0.75 kB / 2.425 GB, free: 5.434 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003243/7.334, allocations: 1.245 MB / 2.426 GB, free: 4.141 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01194/7.346, allocations: 1.342 MB / 2.428 GB, free: 2.84 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7685/8.114, allocations: 12.13 MB / 2.439 GB, free: 109.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003249/8.117, allocations: 1.794 MB / 2.441 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004489/8.122, allocations: 0.5905 MB / 2.442 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003166/8.125, allocations: 1.151 MB / 2.443 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.533e-06/8.125, allocations: 0 / 2.443 GB, free: 108.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2151/8.34, allocations: 90.41 MB / 2.531 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002662/8.341, allocations: 309.8 kB / 2.531 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.054/15.4, allocations: 0 / 2.531 GB, free: 104.7 MB / 0.9167 GB