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.001167/0.001167, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008783/0.008783, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.477/1.477, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9564/0.9564, allocations: 135.3 MB / 426.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003551/0.0003552, allocations: 12 kB / 0.5076 GB, free: 4.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1724, allocations: 82.31 MB / 0.588 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.3782/0.5507, allocations: 63.86 MB / 0.6504 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.5716, allocations: 16.59 MB / 0.6666 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003104/0.5748, allocations: 59.22 kB / 0.6666 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003735/0.5785, allocations: 1.037 MB / 0.6676 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007364/0.5859, allocations: 2.137 MB / 0.6697 GB, free: 472 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008964/0.5949, allocations: 2.588 MB / 0.6723 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01274/0.6077, allocations: 5.694 MB / 0.6778 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005041/0.6128, allocations: 1.184 MB / 0.679 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005602/0.6184, allocations: 1.347 MB / 0.6803 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.6227, allocations: 1.262 MB / 0.6815 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008477/0.6235, allocations: 78.12 kB / 0.6816 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009115/0.6327, allocations: 2.551 MB / 0.6841 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.6341, allocations: 372.3 kB / 0.6844 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003366/0.6375, allocations: 0.93 MB / 0.6854 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01244/0.6499, allocations: 4.342 MB / 0.6896 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.269e-05/0.65, allocations: 5.656 kB / 0.6896 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.406e-06/0.65, allocations: 0 / 0.6896 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001294/0.6501, allocations: 0 / 0.6896 GB, free: 8.492 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.007465/0.6576, allocations: 2.046 MB / 0.6916 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.6577, allocations: 9.344 kB / 0.6916 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001221/0.6589, allocations: 215.4 kB / 0.6918 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004875/0.6638, allocations: 1.525 MB / 0.6933 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001562/0.664, allocations: 87.34 kB / 0.6934 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004903/0.6645, allocations: 118.8 kB / 0.6935 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003497/0.668, allocations: 1.106 MB / 0.6946 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.464e-05/0.6681, allocations: 1.156 kB / 0.6946 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.6682, allocations: 45.69 kB / 0.6946 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-05/0.6683, allocations: 29.56 kB / 0.6947 GB, free: 5.477 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.6704, allocations: 0.8315 MB / 0.6955 GB, free: 5.16 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.0119/0.6823, allocations: 6.808 MB / 0.7021 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.6836, allocations: 0.7433 MB / 0.7028 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006756/0.6843, allocations: 357.6 kB / 0.7032 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.6857, allocations: 1.277 MB / 0.7044 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.084e-05/0.6858, allocations: 46.44 kB / 0.7045 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=72): time 4.339e-06/0.6858, allocations: 1.125 kB / 0.7045 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72): time 0.00308/0.6889, allocations: 1.172 MB / 0.7056 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.689, allocations: 90.05 kB / 0.7057 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/0.6926, allocations: 1.504 MB / 0.7072 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001242/0.6927, allocations: 43.61 kB / 0.7072 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007574/0.6935, allocations: 0.715 MB / 0.7079 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003338/0.6938, allocations: 252.6 kB / 0.7082 GB, free: 10.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.694, allocations: 91.66 kB / 0.7082 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.6942, allocations: 338.5 kB / 0.7086 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005869/0.6948, allocations: 279.5 kB / 0.7088 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000862/0.6956, allocations: 489.3 kB / 0.7093 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.6969, allocations: 0.7204 MB / 0.71 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.6969, allocations: 1.094 kB / 0.71 GB, free: 9.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.002396/0.6993, allocations: 1.021 MB / 0.711 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000158/0.6995, allocations: 196.4 kB / 0.7112 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.6996, allocations: 5.281 kB / 0.7112 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00034/0.6999, allocations: 71.75 kB / 0.7113 GB, free: 8.625 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/0.7006, allocations: 193.2 kB / 0.7114 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002634/0.7033, allocations: 2.98 MB / 0.7144 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.705, allocations: 149.3 kB / 0.7145 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.7051, allocations: 38.48 kB / 0.7145 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.7051, allocations: 4.094 kB / 0.7145 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001833/0.707, allocations: 0.8525 MB / 0.7154 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.342e-05/0.707, allocations: 5.5 kB / 0.7154 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.7072, allocations: 61.22 kB / 0.7154 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.7079, allocations: 190.8 kB / 0.7156 GB, free: 4.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002551/0.7104, allocations: 2.965 MB / 0.7185 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.7119, allocations: 139.7 kB / 0.7186 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.7121, allocations: 39.84 kB / 0.7187 GB, free: 1.871 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.001069/0.7132, allocations: 450.3 kB / 0.7191 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005412/0.7137, allocations: 157.8 kB / 0.7193 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002181/0.7159, allocations: 1.055 MB / 0.7203 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.7159, allocations: 12.84 kB / 0.7203 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.7159, allocations: 1.375 kB / 0.7203 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.717, allocations: 0.7846 MB / 0.7211 GB, free: 332 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005074/0.7221, allocations: 2.696 MB / 0.7237 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.7221, allocations: 3.375 kB / 0.7237 GB, free: 14.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.7228, allocations: 138.7 kB / 0.7238 GB, free: 14.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000229/0.723, allocations: 72.92 kB / 0.7239 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.741e-05/0.7231, allocations: 22.25 kB / 0.7239 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/0.7255, allocations: 2.983 MB / 0.7268 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.7255, allocations: 6.75 kB / 0.7268 GB, free: 11.24 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/0.7279, allocations: 1.397 MB / 0.7282 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.729, allocations: 386.7 kB / 0.7286 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005511/0.7296, allocations: 20.12 kB / 0.7286 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.7308, allocations: 63.8 kB / 0.7287 GB, free: 9.574 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.7309, allocations: 56.38 kB / 0.7287 GB, free: 9.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.014e-05/0.731, allocations: 43.97 kB / 0.7288 GB, free: 9.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00236/0.7334, allocations: 1.061 MB / 0.7298 GB, free: 8.422 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7334, allocations: 3.938 kB / 0.7298 GB, free: 8.418 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005064/0.7385, allocations: 1.084 MB / 0.7309 GB, free: 7.332 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.003804/0.7423, allocations: 0.8226 MB / 0.7317 GB, free: 6.523 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003735/0.746, allocations: 1.708 MB / 0.7333 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.7461, allocations: 0 / 0.7333 GB, free: 4.758 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.7471, allocations: 0.5915 MB / 0.7339 GB, free: 4.145 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006206/0.7533, allocations: 0.814 MB / 0.7347 GB, free: 3.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006676/0.76, allocations: 3.588 MB / 0.7382 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/0.7614, allocations: 1.282 MB / 0.7395 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001954/0.7634, allocations: 365.8 kB / 0.7398 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.7639, allocations: 127.4 kB / 0.7399 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.7639, allocations: 0 / 0.7399 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.06765/0.8316, allocations: 38.16 MB / 0.7772 GB, free: 8.18 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)