Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_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_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.0008701/0.0008701, allocations: 99.86 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.000918/0.000918, allocations: 177.3 kB / 15.94 MB, free: 228 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.216/1.216, allocations: 223.2 MB / 239.9 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8791/0.8791, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000292/0.0002921, allocations: 8 kB / 0.5069 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1481, allocations: 82.31 MB / 0.5872 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.2779/0.4261, allocations: 54.49 MB / 0.6404 GB, free: 21.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01466/0.4408, allocations: 14.41 MB / 0.6545 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002061/0.4429, allocations: 56.91 kB / 0.6546 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.4455, allocations: 1.086 MB / 0.6556 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004677/0.4502, allocations: 2.252 MB / 0.6578 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005437/0.4556, allocations: 2.69 MB / 0.6605 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003182/0.4588, allocations: 2.636 MB / 0.663 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.4601, allocations: 1.077 MB / 0.6641 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.4617, allocations: 1.198 MB / 0.6653 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008672/0.4626, allocations: 0.8726 MB / 0.6661 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001527/0.4627, allocations: 78.06 kB / 0.6662 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003572/0.4663, allocations: 1.918 MB / 0.6681 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003008/0.4666, allocations: 344.9 kB / 0.6684 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.467, allocations: 408.7 kB / 0.6688 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003411/0.4704, allocations: 3.188 MB / 0.6719 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.4704, allocations: 0 / 0.6719 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4704, allocations: 0 / 0.6719 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.689e-05/0.4704, allocations: 1.062 kB / 0.6719 GB, free: 3.512 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.003079/0.4735, allocations: 2.05 MB / 0.6739 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.4736, allocations: 16.75 kB / 0.6739 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003784/0.4739, allocations: 211.2 kB / 0.6741 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.476, allocations: 1.417 MB / 0.6755 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.4761, allocations: 79.86 kB / 0.6756 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.4762, allocations: 110.2 kB / 0.6757 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001625/0.4779, allocations: 1.095 MB / 0.6767 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.503e-05/0.4779, allocations: 4.969 kB / 0.6767 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-05/0.478, allocations: 42.28 kB / 0.6768 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.478, allocations: 26 kB / 0.6768 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.4792, allocations: 0.8205 MB / 0.6776 GB, free: 292 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.007218/0.4865, allocations: 6.838 MB / 0.6843 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008766/0.4874, allocations: 0.7435 MB / 0.685 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000984/0.4884, allocations: 1.276 MB / 0.6863 GB, free: 9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.4884, allocations: 40.09 kB / 0.6863 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=72): time 3.376e-06/0.4884, allocations: 0 / 0.6863 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72): time 0.001894/0.4903, allocations: 1.171 MB / 0.6874 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.4904, allocations: 86.47 kB / 0.6875 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.4924, allocations: 1.535 MB / 0.689 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.4925, allocations: 46.8 kB / 0.6891 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005175/0.493, allocations: 0.7043 MB / 0.6898 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/0.4932, allocations: 257.2 kB / 0.69 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.4933, allocations: 15.56 kB / 0.69 GB, free: 6.828 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.4934, allocations: 342.5 kB / 0.6903 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004378/0.4939, allocations: 276.5 kB / 0.6906 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.4945, allocations: 479.1 kB / 0.6911 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005392/0.495, allocations: 359.7 kB / 0.6914 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.495, allocations: 0.8438 kB / 0.6914 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001614/0.4966, allocations: 1.014 MB / 0.6924 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004713/0.4971, allocations: 1.356 MB / 0.6937 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.4971, allocations: 7.062 kB / 0.6937 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002682/0.4974, allocations: 70.31 kB / 0.6938 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006625/0.4981, allocations: 195.5 kB / 0.694 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.5003, allocations: 2.996 MB / 0.6969 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/0.5014, allocations: 153 kB / 0.6971 GB, free: 0.9336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.64e-05/0.5015, allocations: 40.42 kB / 0.6971 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.893e-06/0.5015, allocations: 3.688 kB / 0.6971 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.5028, allocations: 0.8412 MB / 0.6979 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.5028, allocations: 7.578 kB / 0.6979 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.503, allocations: 59.97 kB / 0.698 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/0.5036, allocations: 191 kB / 0.6982 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001969/0.5056, allocations: 2.98 MB / 0.7011 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.5064, allocations: 140.8 kB / 0.7012 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/0.5065, allocations: 37.41 kB / 0.7012 GB, free: 13.52 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.0006863/0.5072, allocations: 450.4 kB / 0.7017 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.5074, allocations: 157.7 kB / 0.7018 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.5091, allocations: 1.055 MB / 0.7029 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/0.5091, allocations: 10.53 kB / 0.7029 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5091, allocations: 2.406 kB / 0.7029 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.5101, allocations: 0.7766 MB / 0.7036 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003829/0.5139, allocations: 2.717 MB / 0.7063 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.514, allocations: 3.094 kB / 0.7063 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005024/0.5145, allocations: 138.5 kB / 0.7064 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001693/0.5147, allocations: 74.59 kB / 0.7065 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.497e-05/0.5147, allocations: 23.11 kB / 0.7065 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.5166, allocations: 2.994 MB / 0.7094 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.5166, allocations: 4.062 kB / 0.7094 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.5185, allocations: 1.626 MB / 0.711 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005679/0.5191, allocations: 406.5 kB / 0.7114 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001847/0.5192, allocations: 20.59 kB / 0.7114 GB, free: 5.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006494/0.5199, allocations: 53.84 kB / 0.7115 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.693e-05/0.52, allocations: 67.84 kB / 0.7115 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.513e-05/0.5201, allocations: 33.77 kB / 0.7116 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0014/0.5215, allocations: 1.087 MB / 0.7126 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.51e-07/0.5215, allocations: 0 / 0.7126 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003143/0.5246, allocations: 1.088 MB / 0.7137 GB, free: 4.918 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.001424/0.5261, allocations: 0.8165 MB / 0.7145 GB, free: 4.504 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.5283, allocations: 1.69 MB / 0.7161 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5283, allocations: 2.031 kB / 0.7161 GB, free: 3.438 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006316/0.5289, allocations: 0.5858 MB / 0.7167 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/0.5319, allocations: 0.7975 MB / 0.7175 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003918/0.5359, allocations: 3.466 MB / 0.7209 GB, free: 256 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007952/0.5367, allocations: 1.31 MB / 0.7222 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001147/0.5378, allocations: 361.7 kB / 0.7225 GB, free: 14.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.5381, allocations: 135.3 kB / 0.7226 GB, free: 14.73 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.5381, allocations: 0 / 0.7226 GB, free: 14.73 MB / 0.545 GB Notification: Performance of Templates: time 0.05116/0.5893, allocations: 37.27 MB / 0.759 GB, free: 9.875 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1) Environment - environmentSimulation: