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.0009772/0.0009772, allocations: 99.58 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001087, allocations: 181.8 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9367/0.9367, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 11.98 kB / 0.5083 GB, free: 4.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1724, allocations: 82.3 MB / 0.5887 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.3302/0.5026, allocations: 63.86 MB / 0.651 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01823/0.5209, allocations: 16.59 MB / 0.6672 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002907/0.5238, allocations: 58.59 kB / 0.6673 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003398/0.5273, allocations: 1.034 MB / 0.6683 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006361/0.5336, allocations: 2.138 MB / 0.6704 GB, free: 496 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007108/0.5408, allocations: 2.586 MB / 0.6729 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008151/0.5489, allocations: 5.698 MB / 0.6785 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00246/0.5514, allocations: 1.184 MB / 0.6796 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.5552, allocations: 1.346 MB / 0.6809 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.5583, allocations: 1.262 MB / 0.6822 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004422/0.5588, allocations: 78.19 kB / 0.6822 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006276/0.565, allocations: 2.563 MB / 0.6847 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008963/0.566, allocations: 364.9 kB / 0.6851 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001936/0.5679, allocations: 0.93 MB / 0.686 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006604/0.5746, allocations: 3.402 MB / 0.6893 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.5746, allocations: 0.5625 kB / 0.6893 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.196e-06/0.5746, allocations: 0 / 0.6893 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.649e-05/0.5747, allocations: 1.062 kB / 0.6893 GB, free: 8.973 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.005427/0.5801, allocations: 2.054 MB / 0.6913 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5802, allocations: 10.16 kB / 0.6913 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007702/0.581, allocations: 214.6 kB / 0.6915 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003229/0.5842, allocations: 1.525 MB / 0.693 GB, free: 6.602 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.904e-05/0.5843, allocations: 83.67 kB / 0.6931 GB, free: 6.562 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.5845, allocations: 117.6 kB / 0.6932 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002227/0.5867, allocations: 1.104 MB / 0.6943 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.5868, allocations: 1.031 kB / 0.6943 GB, free: 5.996 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.5869, allocations: 42.38 kB / 0.6943 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5869, allocations: 30.03 kB / 0.6944 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.5886, allocations: 0.8364 MB / 0.6952 GB, free: 5.641 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.009318/0.5979, allocations: 6.808 MB / 0.7018 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.5989, allocations: 0.7425 MB / 0.7026 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005158/0.5995, allocations: 353.8 kB / 0.7029 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.6006, allocations: 1.285 MB / 0.7042 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.6007, allocations: 43.47 kB / 0.7042 GB, free: 14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=72): time 2.765e-06/0.6007, allocations: 0 / 0.7042 GB, free: 14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72): time 0.002518/0.6032, allocations: 1.18 MB / 0.7053 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.6033, allocations: 85.08 kB / 0.7054 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.6058, allocations: 1.505 MB / 0.7069 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001458/0.606, allocations: 42.64 kB / 0.7069 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006369/0.6066, allocations: 0.7083 MB / 0.7076 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003191/0.6069, allocations: 259.6 kB / 0.7079 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.6071, allocations: 87.5 kB / 0.708 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.6072, allocations: 334.5 kB / 0.7083 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.6077, allocations: 284.5 kB / 0.7085 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.6084, allocations: 494.8 kB / 0.709 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.6094, allocations: 0.7164 MB / 0.7097 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.6094, allocations: 5.281 kB / 0.7097 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002012/0.6114, allocations: 1.021 MB / 0.7107 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.6116, allocations: 197.3 kB / 0.7109 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/0.6116, allocations: 5.844 kB / 0.7109 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003023/0.6119, allocations: 71.78 kB / 0.711 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006835/0.6126, allocations: 191.7 kB / 0.7112 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002444/0.6151, allocations: 2.978 MB / 0.7141 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.6166, allocations: 153.8 kB / 0.7142 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.6167, allocations: 40.08 kB / 0.7143 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.6167, allocations: 4.031 kB / 0.7143 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001598/0.6183, allocations: 0.8527 MB / 0.7151 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/0.6184, allocations: 5.781 kB / 0.7151 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.6185, allocations: 59.94 kB / 0.7152 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/0.6192, allocations: 193 kB / 0.7153 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002304/0.6215, allocations: 2.961 MB / 0.7182 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.623, allocations: 131.3 kB / 0.7184 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.6231, allocations: 45.09 kB / 0.7184 GB, free: 2.605 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009455/0.6241, allocations: 450 kB / 0.7188 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005189/0.6246, allocations: 158.2 kB / 0.719 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.6268, allocations: 1.052 MB / 0.72 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-05/0.6268, allocations: 6.75 kB / 0.72 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6268, allocations: 3.219 kB / 0.72 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001132/0.628, allocations: 0.7899 MB / 0.7208 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005122/0.6331, allocations: 2.69 MB / 0.7234 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/0.6331, allocations: 3.375 kB / 0.7234 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.6337, allocations: 141.1 kB / 0.7236 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.6339, allocations: 79.11 kB / 0.7236 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.675e-05/0.634, allocations: 21.78 kB / 0.7237 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.6363, allocations: 2.981 MB / 0.7266 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.6363, allocations: 3.781 kB / 0.7266 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.6385, allocations: 1.397 MB / 0.7279 GB, free: 11.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009788/0.6395, allocations: 388.2 kB / 0.7283 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004418/0.6399, allocations: 27.92 kB / 0.7283 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.641, allocations: 55.8 kB / 0.7284 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.6411, allocations: 60.38 kB / 0.7284 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.743e-05/0.6412, allocations: 39.97 kB / 0.7285 GB, free: 10.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002037/0.6433, allocations: 1.064 MB / 0.7295 GB, free: 9.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6433, allocations: 0 / 0.7295 GB, free: 9.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004736/0.648, allocations: 1.08 MB / 0.7306 GB, free: 8.398 MB / 0.545 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00274/0.6508, allocations: 0.8227 MB / 0.7314 GB, free: 7.586 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003035/0.6538, allocations: 1.708 MB / 0.733 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6539, allocations: 0 / 0.733 GB, free: 5.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.6547, allocations: 0.5837 MB / 0.7336 GB, free: 5.215 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005667/0.6604, allocations: 0.8258 MB / 0.7344 GB, free: 4.406 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005636/0.6661, allocations: 3.637 MB / 0.738 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.6672, allocations: 1.274 MB / 0.7392 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000515/0.6677, allocations: 131.4 kB / 0.7393 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of SimCode: time 6.31e-07/0.6677, allocations: 0 / 0.7393 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.06369/0.7314, allocations: 46.56 MB / 0.7848 GB, free: 0.9531 MB / 0.5919 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)