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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001042, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 223.3 MB / 240 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9986/0.9986, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003305, allocations: 8 kB / 0.507 GB, free: 5.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.164, allocations: 82.31 MB / 0.5874 GB, free: 2.941 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.3879/0.552, allocations: 60.3 MB / 0.6463 GB, free: 17.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0199/0.5719, allocations: 15.48 MB / 0.6614 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003126/0.5751, allocations: 59.44 kB / 0.6615 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.5783, allocations: 0.9047 MB / 0.6624 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006407/0.5847, allocations: 1.902 MB / 0.6642 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006632/0.5914, allocations: 2.164 MB / 0.6663 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008394/0.5998, allocations: 4.882 MB / 0.6711 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.6024, allocations: 1.075 MB / 0.6721 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003713/0.6061, allocations: 1.299 MB / 0.6734 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.6091, allocations: 1.19 MB / 0.6746 GB, free: 0 / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.6095, allocations: 78.59 kB / 0.6746 GB, free: 0 / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006742/0.6162, allocations: 2.029 MB / 0.6766 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008895/0.6172, allocations: 355.3 kB / 0.677 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.6186, allocations: 403.6 kB / 0.6774 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00756/0.6261, allocations: 3.251 MB / 0.6805 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.6262, allocations: 0 / 0.6805 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.468e-06/0.6262, allocations: 0 / 0.6805 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001155/0.6263, allocations: 0 / 0.6805 GB, free: 14.36 MB / 0.5137 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.007498/0.6338, allocations: 2.065 MB / 0.6825 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.6339, allocations: 9.844 kB / 0.6826 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006567/0.6345, allocations: 214.4 kB / 0.6828 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003665/0.6382, allocations: 1.467 MB / 0.6842 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.896e-05/0.6383, allocations: 82.95 kB / 0.6843 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.6385, allocations: 114.5 kB / 0.6844 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.641, allocations: 1.103 MB / 0.6855 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.641, allocations: 0.7188 kB / 0.6855 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.6411, allocations: 42.67 kB / 0.6855 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.6412, allocations: 26.25 kB / 0.6855 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.6429, allocations: 0.8329 MB / 0.6863 GB, free: 11.09 MB / 0.5137 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.009859/0.6528, allocations: 6.812 MB / 0.693 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.6539, allocations: 0.7368 MB / 0.6937 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.6544, allocations: 350.4 kB / 0.694 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001218/0.6557, allocations: 1.284 MB / 0.6953 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.593e-05/0.6557, allocations: 39.38 kB / 0.6953 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.976e-06/0.6557, allocations: 0 / 0.6953 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.002398/0.6581, allocations: 1.178 MB / 0.6965 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/0.6582, allocations: 85.66 kB / 0.6966 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002406/0.6606, allocations: 1.488 MB / 0.698 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.6607, allocations: 42.64 kB / 0.6981 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/0.6614, allocations: 0.6996 MB / 0.6987 GB, free: 1.672 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003344/0.6618, allocations: 264.9 kB / 0.699 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.817e-05/0.6618, allocations: 14.56 kB / 0.699 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.662, allocations: 346.5 kB / 0.6993 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/0.6626, allocations: 275.7 kB / 0.6996 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007933/0.6634, allocations: 485 kB / 0.7001 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006964/0.6641, allocations: 356.5 kB / 0.7004 GB, free: 424 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.6641, allocations: 0 / 0.7004 GB, free: 424 kB / 0.5137 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001923/0.666, allocations: 1.013 MB / 0.7014 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.6662, allocations: 198.5 kB / 0.7016 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.671e-05/0.6662, allocations: 5.719 kB / 0.7016 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.6665, allocations: 71.03 kB / 0.7017 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/0.6673, allocations: 196.8 kB / 0.7018 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/0.6701, allocations: 2.977 MB / 0.7047 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0013/0.6714, allocations: 149.4 kB / 0.7049 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.6716, allocations: 41.02 kB / 0.7049 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/0.6716, allocations: 5.375 kB / 0.7049 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001555/0.6732, allocations: 0.8376 MB / 0.7058 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.6732, allocations: 5.469 kB / 0.7058 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001592/0.6733, allocations: 68.52 kB / 0.7058 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006508/0.674, allocations: 192.8 kB / 0.706 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.6764, allocations: 2.955 MB / 0.7089 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.6778, allocations: 136 kB / 0.709 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.678, allocations: 43.75 kB / 0.7091 GB, free: 8.859 MB / 0.5294 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 (107): * Single equations (assignments): 104 * 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.001052/0.679, allocations: 450 kB / 0.7095 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004775/0.6795, allocations: 158.2 kB / 0.7096 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/0.6818, allocations: 1.047 MB / 0.7107 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/0.6819, allocations: 8.594 kB / 0.7107 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.6819, allocations: 1.25 kB / 0.7107 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001337/0.6832, allocations: 0.7807 MB / 0.7114 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005631/0.6889, allocations: 2.685 MB / 0.7141 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.6889, allocations: 3.594 kB / 0.7141 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005672/0.6895, allocations: 145.8 kB / 0.7142 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/0.6897, allocations: 71.33 kB / 0.7143 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.474e-05/0.6898, allocations: 20.97 kB / 0.7143 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002528/0.6923, allocations: 2.984 MB / 0.7172 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.6923, allocations: 4.125 kB / 0.7172 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002518/0.6949, allocations: 1.4 MB / 0.7186 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.696, allocations: 389.4 kB / 0.7189 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005473/0.6966, allocations: 20.69 kB / 0.719 GB, free: 0.9805 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.6978, allocations: 56.8 kB / 0.719 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.6979, allocations: 64.42 kB / 0.7191 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.14e-05/0.698, allocations: 31.17 kB / 0.7191 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002087/0.7001, allocations: 1.059 MB / 0.7201 GB, free: 336 kB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7001, allocations: 0 / 0.7201 GB, free: 336 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005098/0.7052, allocations: 1.065 MB / 0.7212 GB, free: 100 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (72): * Single equations (assignments): 63 * 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.003325/0.7085, allocations: 0.7903 MB / 0.722 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003186/0.7117, allocations: 1.688 MB / 0.7236 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/0.7118, allocations: 0 / 0.7236 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000906/0.7127, allocations: 0.5982 MB / 0.7242 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004522/0.7172, allocations: 0.808 MB / 0.725 GB, free: 13.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005899/0.7231, allocations: 3.473 MB / 0.7284 GB, free: 9.621 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/0.7242, allocations: 1.274 MB / 0.7296 GB, free: 8.32 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001739/0.726, allocations: 368.1 kB / 0.73 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/0.7264, allocations: 127.4 kB / 0.7301 GB, free: 7.859 MB / 0.545 GB Notification: Performance of SimCode: time 7.71e-07/0.7264, allocations: 0 / 0.7301 GB, free: 7.859 MB / 0.545 GB Notification: Performance of Templates: time 0.06159/0.788, allocations: 36.51 MB / 0.7657 GB, free: 3.777 MB / 0.5762 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)