Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006996/0.006996, allocations: 168.7 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7885/0.7885, allocations: 135.2 MB / 151 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 223.2 MB / 406.8 MB, free: 3.238 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.0009499/0.0009498, allocations: 102.7 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003644, allocations: 8 kB / 0.5692 GB, free: 14.03 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4353/0.4357, allocations: 82.31 MB / 0.6496 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8794/1.315, allocations: 403.8 MB / 1.044 GB, free: 2.406 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004493/1.316, allocations: 126 kB / 1.044 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.139/5.455, allocations: 1.045 GB / 2.089 GB, free: 22.03 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.284e-06/5.455, allocations: 0 / 2.089 GB, free: 22.03 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.00031/5.455, allocations: 79.92 kB / 2.09 GB, free: 21.95 MB / 0.7136 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.01077/5.466, allocations: 3.609 MB / 2.093 GB, free: 18.26 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.405e-05/5.466, allocations: 16.02 kB / 2.093 GB, free: 18.25 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001068/5.467, allocations: 291.3 kB / 2.093 GB, free: 17.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/5.469, allocations: 375.7 kB / 2.094 GB, free: 17.58 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006735/5.475, allocations: 2.959 MB / 2.097 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/5.476, allocations: 160.1 kB / 2.097 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/5.476, allocations: 220 kB / 2.097 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003425/5.479, allocations: 2.112 MB / 2.099 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.691e-05/5.479, allocations: 7.906 kB / 2.099 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/5.48, allocations: 84 kB / 2.099 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.771e-05/5.48, allocations: 52 kB / 2.099 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002424/5.482, allocations: 1.612 MB / 2.101 GB, free: 10.19 MB / 0.7136 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.01179/5.494, allocations: 8.843 MB / 2.109 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/5.495, allocations: 1.351 MB / 2.111 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002702/5.498, allocations: 2.922 MB / 2.114 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/5.498, allocations: 51.88 kB / 2.114 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=148): time 3.867e-06/5.498, allocations: 0 / 2.114 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of matching and sorting (n=148): time 0.005729/5.504, allocations: 2.71 MB / 2.116 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/5.504, allocations: 90.42 kB / 2.116 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003785/5.508, allocations: 2.032 MB / 2.118 GB, free: 7.039 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002525/5.508, allocations: 57.7 kB / 2.118 GB, free: 6.977 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.00106/5.509, allocations: 1.209 MB / 2.12 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000582/5.51, allocations: 0.5237 MB / 2.12 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/5.51, allocations: 32 kB / 2.12 GB, free: 5.191 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001815/5.51, allocations: 377.8 kB / 2.12 GB, free: 4.816 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009317/5.511, allocations: 0.5271 MB / 2.121 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/5.512, allocations: 0.8892 MB / 2.122 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/5.513, allocations: 0.6777 MB / 2.123 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/5.513, allocations: 4 kB / 2.123 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003884/5.517, allocations: 1.977 MB / 2.124 GB, free: 0.5898 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.4765/5.994, allocations: 2.721 MB / 2.127 GB, free: 67.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.269e-05/5.994, allocations: 10.08 kB / 2.127 GB, free: 67.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009697/5.995, allocations: 223.4 kB / 2.127 GB, free: 67.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/5.997, allocations: 357.7 kB / 2.128 GB, free: 67.15 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004698/6.001, allocations: 7.075 MB / 2.135 GB, free: 60.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003168/6.005, allocations: 272 kB / 2.135 GB, free: 60.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/6.005, allocations: 70.75 kB / 2.135 GB, free: 60.84 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/6.005, allocations: 3.469 kB / 2.135 GB, free: 60.84 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00382/6.009, allocations: 1.704 MB / 2.137 GB, free: 60.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.219e-05/6.009, allocations: 13.45 kB / 2.137 GB, free: 60.75 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/6.009, allocations: 221.6 kB / 2.137 GB, free: 60.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/6.011, allocations: 353.5 kB / 2.137 GB, free: 60.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006191/6.017, allocations: 9.02 MB / 2.146 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/6.02, allocations: 263.5 kB / 2.146 GB, free: 52.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002409/6.02, allocations: 73.67 kB / 2.146 GB, free: 52.79 MB / 0.7292 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.001999/6.022, allocations: 0.6404 MB / 2.147 GB, free: 52.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008981/6.023, allocations: 269.6 kB / 2.147 GB, free: 52.55 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/6.027, allocations: 2.024 MB / 2.149 GB, free: 52.37 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.203e-05/6.027, allocations: 22.2 kB / 2.149 GB, free: 52.37 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.687e-06/6.027, allocations: 3.219 kB / 2.149 GB, free: 52.37 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002056/6.029, allocations: 1.672 MB / 2.151 GB, free: 52.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007689/6.036, allocations: 4.518 MB / 2.155 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/6.037, allocations: 4.719 kB / 2.155 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/6.038, allocations: 273.6 kB / 2.155 GB, free: 51.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004648/6.038, allocations: 211.5 kB / 2.156 GB, free: 51.35 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.255e-05/6.038, allocations: 38.95 kB / 2.156 GB, free: 51.35 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/6.042, allocations: 7.099 MB / 2.163 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/6.042, allocations: 7.141 kB / 2.163 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004781/6.047, allocations: 2.77 MB / 2.165 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/6.049, allocations: 0.5772 MB / 2.166 GB, free: 44.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/6.049, allocations: 31.78 kB / 2.166 GB, free: 44.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/6.051, allocations: 161.4 kB / 2.166 GB, free: 44.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/6.051, allocations: 100.7 kB / 2.166 GB, free: 44.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/6.051, allocations: 62.05 kB / 2.166 GB, free: 44.21 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002876/6.054, allocations: 1.57 MB / 2.168 GB, free: 44.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/6.054, allocations: 0.6562 kB / 2.168 GB, free: 44.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.008477/6.062, allocations: 1.975 MB / 2.17 GB, free: 43.99 MB / 0.7292 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.008115/6.071, allocations: 5.167 MB / 2.175 GB, free: 42.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005191/6.076, allocations: 3.593 MB / 2.178 GB, free: 41.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/6.076, allocations: 0 / 2.178 GB, free: 41.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001483/6.077, allocations: 1.238 MB / 2.179 GB, free: 40.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006853/6.084, allocations: 1.34 MB / 2.181 GB, free: 40.86 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/6.099, allocations: 12.17 MB / 2.193 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0015/6.101, allocations: 1.8 MB / 2.194 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003432/6.104, allocations: 0.5921 MB / 2.195 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002225/6.106, allocations: 1.157 MB / 2.196 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of SimCode: time 1.522e-06/6.106, allocations: 0 / 2.196 GB, free: 32.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.144/6.25, allocations: 90.2 MB / 2.284 GB, free: 27.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001774/6.251, allocations: 301.1 kB / 2.285 GB, free: 26.95 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.136/12.39, allocations: 0 / 2.285 GB, free: 26.95 MB / 0.7292 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)