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.0008447/0.0008448, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.000858/0.000858, allocations: 177.3 kB / 15.95 MB, free: 216 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.219/1.219, allocations: 223.2 MB / 239.9 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8956/0.8956, allocations: 135.2 MB / 426.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002836/0.0002836, allocations: 8 kB / 0.5069 GB, free: 5.168 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 82.31 MB / 0.5872 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.291/0.4382, allocations: 54.48 MB / 0.6404 GB, free: 21.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.4526, allocations: 14.41 MB / 0.6545 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001818/0.4545, allocations: 53.88 kB / 0.6546 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002588/0.4571, allocations: 1.077 MB / 0.6556 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00532/0.4624, allocations: 2.267 MB / 0.6578 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006401/0.4688, allocations: 2.684 MB / 0.6605 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004137/0.473, allocations: 2.635 MB / 0.663 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00141/0.4744, allocations: 1.074 MB / 0.6641 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.4763, allocations: 1.202 MB / 0.6653 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009363/0.4772, allocations: 0.8703 MB / 0.6661 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.4774, allocations: 79.31 kB / 0.6662 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004047/0.4815, allocations: 1.925 MB / 0.6681 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003424/0.4818, allocations: 338.9 kB / 0.6684 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.4822, allocations: 402.8 kB / 0.6688 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003876/0.4861, allocations: 3.2 MB / 0.6719 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.4861, allocations: 4 kB / 0.6719 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4861, allocations: 0 / 0.6719 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.756e-05/0.4862, allocations: 1.312 kB / 0.6719 GB, free: 3.492 MB / 0.4981 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.003361/0.4896, allocations: 2.042 MB / 0.6739 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4896, allocations: 9.875 kB / 0.6739 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003977/0.49, allocations: 210 kB / 0.6741 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002152/0.4922, allocations: 1.423 MB / 0.6755 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.7e-05/0.4922, allocations: 82.73 kB / 0.6756 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.4924, allocations: 109.5 kB / 0.6757 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.4941, allocations: 1.092 MB / 0.6767 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.657e-05/0.4941, allocations: 1.781 kB / 0.6767 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/0.4942, allocations: 44.67 kB / 0.6768 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.33e-05/0.4942, allocations: 25.59 kB / 0.6768 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.4955, allocations: 0.8254 MB / 0.6776 GB, free: 280 kB / 0.4981 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.007751/0.5033, allocations: 6.839 MB / 0.6843 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.5042, allocations: 0.7436 MB / 0.685 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.5052, allocations: 1.276 MB / 0.6863 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.5053, allocations: 43.55 kB / 0.6863 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 2.545e-06/0.5053, allocations: 0 / 0.6863 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.002051/0.5073, allocations: 1.168 MB / 0.6874 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.5074, allocations: 85.61 kB / 0.6875 GB, free: 8.242 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00202/0.5094, allocations: 1.535 MB / 0.689 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.372e-05/0.5095, allocations: 38.8 kB / 0.6891 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/0.5101, allocations: 0.7102 MB / 0.6898 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.5103, allocations: 254.9 kB / 0.69 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.019e-05/0.5104, allocations: 20.38 kB / 0.69 GB, free: 6.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.5105, allocations: 337.2 kB / 0.6903 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000427/0.5109, allocations: 282.7 kB / 0.6906 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.5115, allocations: 477.7 kB / 0.6911 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005124/0.512, allocations: 358.4 kB / 0.6914 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.512, allocations: 0 / 0.6914 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00162/0.5137, allocations: 1.012 MB / 0.6924 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000463/0.5141, allocations: 1.36 MB / 0.6937 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.879e-05/0.5142, allocations: 6.531 kB / 0.6937 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002757/0.5144, allocations: 73.78 kB / 0.6938 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000645/0.5151, allocations: 188.6 kB / 0.694 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.5173, allocations: 2.99 MB / 0.6969 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.5185, allocations: 151 kB / 0.697 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/0.5186, allocations: 45.22 kB / 0.6971 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-06/0.5186, allocations: 4.375 kB / 0.6971 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001539/0.5202, allocations: 0.8394 MB / 0.6979 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.5202, allocations: 12.81 kB / 0.6979 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/0.5204, allocations: 67.36 kB / 0.698 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/0.521, allocations: 188 kB / 0.6982 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002256/0.5233, allocations: 2.982 MB / 0.7011 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.5245, allocations: 140 kB / 0.7012 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-05/0.5246, allocations: 36.83 kB / 0.7012 GB, free: 13.51 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.0008138/0.5254, allocations: 450.2 kB / 0.7017 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000225/0.5256, allocations: 161.6 kB / 0.7018 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001694/0.5273, allocations: 1.052 MB / 0.7029 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.61e-05/0.5274, allocations: 12.19 kB / 0.7029 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5274, allocations: 1 kB / 0.7029 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/0.5285, allocations: 0.7764 MB / 0.7036 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00431/0.5328, allocations: 2.713 MB / 0.7063 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.5328, allocations: 3.969 kB / 0.7063 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000514/0.5333, allocations: 133 kB / 0.7064 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.5335, allocations: 78.33 kB / 0.7065 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-05/0.5336, allocations: 18.97 kB / 0.7065 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.5357, allocations: 2.998 MB / 0.7094 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5357, allocations: 8.312 kB / 0.7094 GB, free: 7.422 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002042/0.5378, allocations: 1.626 MB / 0.711 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007349/0.5385, allocations: 403 kB / 0.7114 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001798/0.5387, allocations: 15.66 kB / 0.7114 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006893/0.5394, allocations: 58.11 kB / 0.7115 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.486e-05/0.5395, allocations: 66.97 kB / 0.7115 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.5396, allocations: 31.2 kB / 0.7116 GB, free: 5.734 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001558/0.5412, allocations: 1.086 MB / 0.7126 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5412, allocations: 1.469 kB / 0.7126 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003256/0.5444, allocations: 1.088 MB / 0.7137 GB, free: 4.898 MB / 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.001541/0.546, allocations: 0.8159 MB / 0.7145 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002288/0.5483, allocations: 1.693 MB / 0.7161 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.5483, allocations: 4.469 kB / 0.7161 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006342/0.5489, allocations: 0.5893 MB / 0.7167 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/0.5521, allocations: 0.7934 MB / 0.7175 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003968/0.5561, allocations: 3.47 MB / 0.7209 GB, free: 224 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/0.5569, allocations: 1.305 MB / 0.7222 GB, free: 15.12 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001188/0.5581, allocations: 366.9 kB / 0.7225 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002508/0.5583, allocations: 127.4 kB / 0.7226 GB, free: 14.66 MB / 0.545 GB Notification: Performance of SimCode: time 4.4e-07/0.5583, allocations: 4 kB / 0.7226 GB, free: 14.65 MB / 0.545 GB Notification: Performance of Templates: time 0.05138/0.6097, allocations: 37.29 MB / 0.759 GB, free: 9.801 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: