Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009886/0.009887, allocations: 170.8 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7789/0.7789, allocations: 135.2 MB / 151.1 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.528/1.528, allocations: 223.2 MB / 406.9 MB, free: 3.215 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.001331/0.001331, allocations: 101.3 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004139, allocations: 12 kB / 0.5691 GB, free: 14.15 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4711/0.4716, allocations: 82.31 MB / 0.6495 GB, free: 36.17 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8479/1.32, allocations: 386.3 MB / 1.027 GB, free: 3.629 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/1.32, allocations: 130.2 kB / 1.027 GB, free: 3.547 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.825/3.145, allocations: 486.7 MB / 1.502 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.454e-06/3.145, allocations: 0 / 1.502 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001554/3.146, allocations: 47.98 kB / 1.502 GB, free: 74.91 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004999/3.151, allocations: 2.268 MB / 1.504 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/3.151, allocations: 13.28 kB / 1.504 GB, free: 72.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005181/3.151, allocations: 214.4 kB / 1.505 GB, free: 72.36 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/3.154, allocations: 1.727 MB / 1.506 GB, free: 70.59 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/3.154, allocations: 82.08 kB / 1.506 GB, free: 70.51 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/3.154, allocations: 112 kB / 1.507 GB, free: 70.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/3.156, allocations: 1.073 MB / 1.508 GB, free: 69.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/3.156, allocations: 4 kB / 1.508 GB, free: 69.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/3.156, allocations: 40 kB / 1.508 GB, free: 69.22 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/3.156, allocations: 32 kB / 1.508 GB, free: 69.19 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/3.157, allocations: 0.7926 MB / 1.508 GB, free: 68.39 MB / 0.6823 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.00729/3.165, allocations: 6.486 MB / 1.515 GB, free: 61.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007847/3.166, allocations: 0.5472 MB / 1.515 GB, free: 60.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008227/3.166, allocations: 1.267 MB / 1.517 GB, free: 59.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/3.166, allocations: 47.06 kB / 1.517 GB, free: 59.15 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.565e-06/3.166, allocations: 0 / 1.517 GB, free: 59.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001919/3.168, allocations: 1.15 MB / 1.518 GB, free: 57.95 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.795e-05/3.168, allocations: 89.62 kB / 1.518 GB, free: 57.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00156/3.17, allocations: 1.376 MB / 1.519 GB, free: 56.47 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/3.17, allocations: 37.7 kB / 1.519 GB, free: 56.43 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004364/3.171, allocations: 0.7169 MB / 1.52 GB, free: 55.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/3.171, allocations: 240.6 kB / 1.52 GB, free: 55.46 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/3.171, allocations: 20 kB / 1.52 GB, free: 55.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.04e-05/3.171, allocations: 341.9 kB / 1.52 GB, free: 55.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000354/3.171, allocations: 265.9 kB / 1.521 GB, free: 54.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/3.172, allocations: 488.8 kB / 1.521 GB, free: 54.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/3.172, allocations: 357.6 kB / 1.522 GB, free: 53.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/3.172, allocations: 4 kB / 1.522 GB, free: 53.94 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001342/3.173, allocations: 0.9815 MB / 1.522 GB, free: 52.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002556/3.174, allocations: 1.355 MB / 1.524 GB, free: 51.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/3.174, allocations: 11.94 kB / 1.524 GB, free: 51.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/3.174, allocations: 69.67 kB / 1.524 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/3.175, allocations: 179.7 kB / 1.524 GB, free: 51.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001775/3.176, allocations: 3.008 MB / 1.527 GB, free: 47.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/3.178, allocations: 142.9 kB / 1.527 GB, free: 47.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.632e-05/3.178, allocations: 39.98 kB / 1.527 GB, free: 47.76 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/3.178, allocations: 8 kB / 1.527 GB, free: 47.75 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001134/3.179, allocations: 0.8057 MB / 1.528 GB, free: 46.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/3.179, allocations: 12.42 kB / 1.528 GB, free: 46.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001279/3.179, allocations: 73.64 kB / 1.528 GB, free: 46.85 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005645/3.18, allocations: 171.7 kB / 1.528 GB, free: 46.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001526/3.181, allocations: 2.968 MB / 1.531 GB, free: 43.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/3.182, allocations: 133.8 kB / 1.531 GB, free: 43.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/3.183, allocations: 43.89 kB / 1.531 GB, free: 43.27 MB / 0.6823 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008897/3.183, allocations: 452.9 kB / 1.532 GB, free: 42.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/3.184, allocations: 154.1 kB / 1.532 GB, free: 42.67 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/3.185, allocations: 0.9732 MB / 1.533 GB, free: 41.68 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/3.185, allocations: 11.98 kB / 1.533 GB, free: 41.67 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/3.185, allocations: 3.938 kB / 1.533 GB, free: 41.66 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000863/3.186, allocations: 0.7849 MB / 1.534 GB, free: 40.84 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003712/3.19, allocations: 2.643 MB / 1.536 GB, free: 38.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/3.19, allocations: 4 kB / 1.536 GB, free: 38.05 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004997/3.19, allocations: 135.8 kB / 1.536 GB, free: 37.92 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001934/3.191, allocations: 81.75 kB / 1.536 GB, free: 37.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.366e-05/3.191, allocations: 16 kB / 1.536 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/3.192, allocations: 2.989 MB / 1.539 GB, free: 34.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/3.192, allocations: 7.938 kB / 1.539 GB, free: 34.56 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/3.194, allocations: 1.598 MB / 1.541 GB, free: 32.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007564/3.195, allocations: 374.7 kB / 1.541 GB, free: 32.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/3.195, allocations: 23.94 kB / 1.541 GB, free: 32.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/3.196, allocations: 58.36 kB / 1.541 GB, free: 32.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/3.196, allocations: 56.45 kB / 1.541 GB, free: 32.27 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/3.196, allocations: 27.98 kB / 1.541 GB, free: 32.24 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001421/3.197, allocations: 1.104 MB / 1.542 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/3.197, allocations: 0 / 1.542 GB, free: 31.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003842/3.201, allocations: 1.197 MB / 1.544 GB, free: 29.95 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.002745/3.204, allocations: 1.25 MB / 1.545 GB, free: 28.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002292/3.206, allocations: 1.657 MB / 1.546 GB, free: 27.03 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/3.206, allocations: 4 kB / 1.546 GB, free: 27.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006164/3.207, allocations: 0.5982 MB / 1.547 GB, free: 26.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003846/3.211, allocations: 0.8019 MB / 1.548 GB, free: 25.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004559/3.215, allocations: 3.477 MB / 1.551 GB, free: 22.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/3.216, allocations: 1.307 MB / 1.553 GB, free: 20.79 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001578/3.217, allocations: 370.1 kB / 1.553 GB, free: 20.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00027/3.218, allocations: 131.4 kB / 1.553 GB, free: 20.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.152e-06/3.218, allocations: 0 / 1.553 GB, free: 20.3 MB / 0.6823 GB Notification: Performance of Templates: time 0.5323/3.75, allocations: 40.15 MB / 1.592 GB, free: 96.42 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)