Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01147/0.01147, allocations: 170.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8444/0.8444, allocations: 135.2 MB / 151 MB, free: 13.84 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 406.8 MB, free: 3.238 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 85.02 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003936, allocations: 11.98 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4165/0.4169, allocations: 82.3 MB / 0.6496 GB, free: 36.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8065/1.223, allocations: 387.9 MB / 1.028 GB, free: 0.8359 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.224, allocations: 117.5 kB / 1.028 GB, free: 0.7695 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 11.04/12.26, allocations: 2.851 GB / 3.879 GB, free: 79.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.785e-06/12.26, allocations: 0 / 3.879 GB, free: 79.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003697/12.27, allocations: 315.4 kB / 3.88 GB, free: 79.42 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.05406/12.32, allocations: 14.3 MB / 3.894 GB, free: 73.86 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.37e-05/12.32, allocations: 7.25 kB / 3.894 GB, free: 73.86 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00918/12.33, allocations: 1.151 MB / 3.895 GB, free: 73.77 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/12.34, allocations: 1.627 MB / 3.896 GB, free: 72.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05522/12.4, allocations: 18.99 MB / 3.915 GB, free: 71.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008028/12.4, allocations: 0.6271 MB / 3.916 GB, free: 71.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00437/12.4, allocations: 0.8563 MB / 3.916 GB, free: 71.15 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03458/12.44, allocations: 11.96 MB / 3.928 GB, free: 70.18 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004818/12.44, allocations: 22.91 kB / 3.928 GB, free: 70.17 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00299/12.44, allocations: 357.9 kB / 3.928 GB, free: 70.17 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/12.44, allocations: 208.5 kB / 3.929 GB, free: 70.17 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02814/12.47, allocations: 10.26 MB / 3.939 GB, free: 67.27 MB / 0.7292 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.1168/12.59, allocations: 51.39 MB / 3.989 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/12.6, allocations: 5.852 MB / 3.995 GB, free: 26.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00234/12.6, allocations: 2.183 MB / 3.997 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/12.6, allocations: 94.67 kB / 3.997 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=482): time 1.881e-05/12.6, allocations: 0 / 3.997 GB, free: 24.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=482): time 0.02969/12.63, allocations: 12.58 MB / 4.009 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/12.63, allocations: 368.2 kB / 4.009 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04083/12.67, allocations: 14.82 MB / 4.024 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002002/12.67, allocations: 129.7 kB / 4.024 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.01286/12.69, allocations: 6.031 MB / 4.03 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.004281/12.69, allocations: 1.701 MB / 4.032 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001826/12.69, allocations: 128 kB / 4.032 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00106/12.69, allocations: 0.5788 MB / 4.032 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007871/12.7, allocations: 3.503 MB / 4.036 GB, free: 1.812 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013/13.71, allocations: 5.527 MB / 4.041 GB, free: 91.54 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/13.73, allocations: 4.58 MB / 4.046 GB, free: 91.45 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/13.73, allocations: 11.34 kB / 4.046 GB, free: 91.45 MB / 0.7449 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02575/13.75, allocations: 10.94 MB / 4.056 GB, free: 91.06 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.006071/13.76, allocations: 25.34 MB / 4.081 GB, free: 64.96 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004288/13.76, allocations: 68.03 kB / 4.081 GB, free: 64.96 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002695/13.76, allocations: 1.025 MB / 4.082 GB, free: 64.8 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007403/13.77, allocations: 1.447 MB / 4.083 GB, free: 64.8 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02724/13.8, allocations: 33.31 MB / 4.116 GB, free: 54.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01686/13.81, allocations: 1.493 MB / 4.117 GB, free: 54.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002062/13.81, allocations: 272.4 kB / 4.118 GB, free: 54.38 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/13.81, allocations: 3.969 kB / 4.118 GB, free: 54.38 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01964/13.83, allocations: 9.832 MB / 4.127 GB, free: 54.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002782/13.83, allocations: 67.38 kB / 4.127 GB, free: 54.01 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/13.84, allocations: 0.9875 MB / 4.128 GB, free: 53.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005971/13.84, allocations: 1.452 MB / 4.13 GB, free: 53.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02639/13.87, allocations: 33.63 MB / 4.163 GB, free: 43.41 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01592/13.88, allocations: 1.386 MB / 4.164 GB, free: 43.29 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002234/13.89, allocations: 274.4 kB / 4.164 GB, free: 43.29 MB / 0.7762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01391/13.9, allocations: 5.418 MB / 4.17 GB, free: 43.1 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005236/13.91, allocations: 1.168 MB / 4.171 GB, free: 42.49 MB / 0.7762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01774/13.92, allocations: 8.394 MB / 4.179 GB, free: 42.02 MB / 0.7762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.35e-05/13.92, allocations: 47.88 kB / 4.179 GB, free: 42.02 MB / 0.7762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.962e-05/13.92, allocations: 10.62 kB / 4.179 GB, free: 42.02 MB / 0.7762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009517/13.93, allocations: 6.499 MB / 4.185 GB, free: 41.68 MB / 0.7762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07424/14.01, allocations: 44.16 MB / 4.228 GB, free: 34.82 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/14.01, allocations: 12.09 kB / 4.228 GB, free: 34.82 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00453/14.01, allocations: 1.06 MB / 4.229 GB, free: 34.79 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/14.01, allocations: 0.9779 MB / 4.23 GB, free: 34.62 MB / 0.7918 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007759/14.01, allocations: 153 kB / 4.231 GB, free: 34.62 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02573/14.04, allocations: 33.49 MB / 4.263 GB, free: 23.82 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-05/14.04, allocations: 14.97 kB / 4.263 GB, free: 23.82 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02435/14.06, allocations: 15.75 MB / 4.279 GB, free: 33.89 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01314/14.08, allocations: 2.964 MB / 4.282 GB, free: 32.28 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006362/14.08, allocations: 134.2 kB / 4.282 GB, free: 32.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0121/14.1, allocations: 0.6633 MB / 4.282 GB, free: 32.1 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001804/14.1, allocations: 355.4 kB / 4.283 GB, free: 32.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001852/14.1, allocations: 199.2 kB / 4.283 GB, free: 32 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.03323/14.13, allocations: 12.14 MB / 4.295 GB, free: 27.82 MB / 0.823 GB Notification: Performance of sort global known variables: time 9.32e-07/14.13, allocations: 4.75 kB / 4.295 GB, free: 27.82 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.04152/14.17, allocations: 6.505 MB / 4.301 GB, free: 27.17 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.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 (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03384/14.21, allocations: 17.61 MB / 4.318 GB, free: 17.42 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03083/14.24, allocations: 18.02 MB / 4.336 GB, free: 7.777 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.622e-05/14.24, allocations: 5.125 kB / 4.336 GB, free: 7.777 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008702/14.25, allocations: 5.688 MB / 4.341 GB, free: 2.59 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5878/14.84, allocations: 8 MB / 4.349 GB, free: 156 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.102/14.94, allocations: 71.42 MB / 4.419 GB, free: 111.1 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01788/14.96, allocations: 9.583 MB / 4.428 GB, free: 109.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.02665/14.98, allocations: 6.832 MB / 4.435 GB, free: 109.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01562/15, allocations: 5.655 MB / 4.44 GB, free: 109.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.354e-06/15, allocations: 0 / 4.44 GB, free: 109.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.1/16.1, allocations: 397.2 MB / 4.828 GB, free: 90.11 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/16.1, allocations: 270.8 kB / 4.829 GB, free: 89.75 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/34.41, allocations: 8 kB / 4.829 GB, free: 89.74 MB / 0.823 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube_fmu --startTime=0 --stopTime=360000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)