Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00678/0.00678, allocations: 171.7 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7431/0.7431, allocations: 132.3 MB / 148.1 MB, free: 228 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 223.2 MB / 403.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009328/0.0009328, allocations: 93.44 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003456, allocations: 8 kB / 0.5641 GB, free: 2.055 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4585, allocations: 81.58 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9254/1.384, allocations: 403.6 MB / 1.038 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/1.384, allocations: 131 kB / 1.038 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.273/5.657, allocations: 1.045 GB / 2.083 GB, free: 13.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/5.657, allocations: 4 kB / 2.083 GB, free: 13.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003976/5.657, allocations: 87.91 kB / 2.084 GB, free: 13.15 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01205/5.67, allocations: 3.601 MB / 2.087 GB, free: 9.473 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/5.67, allocations: 8.031 kB / 2.087 GB, free: 9.465 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002096/5.672, allocations: 375.8 kB / 2.087 GB, free: 9.094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007406/5.679, allocations: 2.952 MB / 2.09 GB, free: 6.078 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/5.679, allocations: 160.1 kB / 2.09 GB, free: 5.918 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/5.68, allocations: 216 kB / 2.091 GB, free: 5.707 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003684/5.683, allocations: 2.112 MB / 2.093 GB, free: 3.484 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.926e-05/5.683, allocations: 4 kB / 2.093 GB, free: 3.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/5.684, allocations: 91.95 kB / 2.093 GB, free: 3.391 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/5.684, allocations: 52 kB / 2.093 GB, free: 3.34 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/5.686, allocations: 1.612 MB / 2.094 GB, free: 1.711 MB / 0.698 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.01541/5.702, allocations: 8.85 MB / 2.103 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001919/5.704, allocations: 1.355 MB / 2.104 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002788/5.706, allocations: 2.918 MB / 2.107 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.74e-05/5.706, allocations: 55.81 kB / 2.107 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=148): time 5.56e-06/5.706, allocations: 0 / 2.107 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=148): time 0.005804/5.712, allocations: 2.705 MB / 2.11 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.403e-05/5.712, allocations: 98.38 kB / 2.11 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5599/6.272, allocations: 2.028 MB / 2.112 GB, free: 63.61 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.000505/6.273, allocations: 57.03 kB / 2.112 GB, free: 63.57 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001679/6.275, allocations: 1.209 MB / 2.113 GB, free: 63.47 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009505/6.276, allocations: 0.5139 MB / 2.114 GB, free: 63.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000132/6.276, allocations: 32.03 kB / 2.114 GB, free: 63.24 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001794/6.276, allocations: 366.9 kB / 2.114 GB, free: 62.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/6.278, allocations: 0.5273 MB / 2.115 GB, free: 62.94 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/6.28, allocations: 0.8934 MB / 2.116 GB, free: 62.58 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00191/6.282, allocations: 0.6805 MB / 2.116 GB, free: 62.57 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/6.282, allocations: 2.062 kB / 2.116 GB, free: 62.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005941/6.288, allocations: 1.973 MB / 2.118 GB, free: 62.31 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005996/6.288, allocations: 2.729 MB / 2.121 GB, free: 59.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.834e-05/6.288, allocations: 6.75 kB / 2.121 GB, free: 59.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008439/6.289, allocations: 237.7 kB / 2.121 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001943/6.291, allocations: 350.7 kB / 2.121 GB, free: 59.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006111/6.297, allocations: 7.077 MB / 2.128 GB, free: 53.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003892/6.301, allocations: 273.3 kB / 2.129 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003838/6.301, allocations: 75.56 kB / 2.129 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/6.302, allocations: 7.688 kB / 2.129 GB, free: 53.01 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00424/6.306, allocations: 1.7 MB / 2.13 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-05/6.306, allocations: 11.16 kB / 2.13 GB, free: 52.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006972/6.307, allocations: 210.3 kB / 2.131 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/6.308, allocations: 349.5 kB / 2.131 GB, free: 52.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008044/6.317, allocations: 9.041 MB / 2.14 GB, free: 44.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003977/6.321, allocations: 260.5 kB / 2.14 GB, free: 44.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003938/6.321, allocations: 71.25 kB / 2.14 GB, free: 44.84 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 184 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002652/6.324, allocations: 0.6383 MB / 2.141 GB, free: 44.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/6.325, allocations: 258 kB / 2.141 GB, free: 44.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005312/6.33, allocations: 2.043 MB / 2.143 GB, free: 44.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.99e-05/6.33, allocations: 22.17 kB / 2.143 GB, free: 44.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/6.33, allocations: 0 / 2.143 GB, free: 44.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003584/6.334, allocations: 1.662 MB / 2.144 GB, free: 43.99 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/6.347, allocations: 4.525 MB / 2.149 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/6.347, allocations: 6.531 kB / 2.149 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/6.349, allocations: 272.3 kB / 2.149 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007317/6.349, allocations: 211.5 kB / 2.149 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001439/6.35, allocations: 44.12 kB / 2.149 GB, free: 43.31 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005488/6.355, allocations: 7.096 MB / 2.156 GB, free: 36.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/6.355, allocations: 0 / 2.156 GB, free: 36.95 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007549/6.363, allocations: 2.772 MB / 2.159 GB, free: 36.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/6.365, allocations: 0.5761 MB / 2.16 GB, free: 36.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009447/6.366, allocations: 33.25 kB / 2.16 GB, free: 36.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/6.369, allocations: 152.7 kB / 2.16 GB, free: 36.18 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002376/6.369, allocations: 108.3 kB / 2.16 GB, free: 36.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001844/6.37, allocations: 60.48 kB / 2.16 GB, free: 36.18 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.004196/6.374, allocations: 1.572 MB / 2.161 GB, free: 36.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.11e-07/6.374, allocations: 0 / 2.161 GB, free: 36.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.01266/6.387, allocations: 1.983 MB / 2.163 GB, free: 35.96 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.005382/6.392, allocations: 1.722 MB / 2.165 GB, free: 35.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.007519/6.4, allocations: 3.592 MB / 2.169 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/6.4, allocations: 2.625 kB / 2.169 GB, free: 34.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002153/6.402, allocations: 1.246 MB / 2.17 GB, free: 34.03 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009408/6.411, allocations: 1.338 MB / 2.171 GB, free: 34.02 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01456/6.426, allocations: 6.123 MB / 2.177 GB, free: 31.47 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002087/6.428, allocations: 1.797 MB / 2.179 GB, free: 30.73 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004634/6.433, allocations: 0.5887 MB / 2.179 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000932/6.434, allocations: 218.2 kB / 2.18 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of SimCode: time 2.144e-06/6.434, allocations: 0 / 2.18 GB, free: 30.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.1316/6.565, allocations: 64.57 MB / 2.243 GB, free: 26.82 MB / 0.7136 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)