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-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_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_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.008075/0.008075, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8954/0.8954, 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.46/1.46, allocations: 223.2 MB / 406.8 MB, free: 3.234 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.0008864/0.0008865, allocations: 88.58 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003623/0.0003623, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4628/0.4632, allocations: 82.3 MB / 0.6496 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9091/1.372, allocations: 403.8 MB / 1.044 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003289/1.373, allocations: 127.9 kB / 1.044 GB, free: 2.387 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.826/5.199, allocations: 1.045 GB / 2.089 GB, free: 22.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.443e-06/5.199, allocations: 4 kB / 2.089 GB, free: 22 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002484/5.199, allocations: 79.98 kB / 2.09 GB, free: 21.93 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.008076/5.207, allocations: 3.609 MB / 2.093 GB, free: 18.24 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/5.207, allocations: 12.02 kB / 2.093 GB, free: 18.23 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005171/5.208, allocations: 295.3 kB / 2.093 GB, free: 17.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008808/5.209, allocations: 375.7 kB / 2.094 GB, free: 17.55 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/5.214, allocations: 2.947 MB / 2.097 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.212e-05/5.214, allocations: 160.1 kB / 2.097 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/5.214, allocations: 216 kB / 2.097 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003335/5.218, allocations: 2.112 MB / 2.099 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.794e-05/5.218, allocations: 7.906 kB / 2.099 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001691/5.218, allocations: 95.75 kB / 2.099 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-05/5.218, allocations: 48 kB / 2.099 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002353/5.22, allocations: 1.62 MB / 2.101 GB, free: 10.17 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.01094/5.231, allocations: 8.838 MB / 2.109 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/5.233, allocations: 1.351 MB / 2.111 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002664/5.236, allocations: 2.918 MB / 2.114 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.588e-05/5.236, allocations: 51.81 kB / 2.114 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=148): time 3.246e-06/5.236, allocations: 0 / 2.114 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=148): time 0.005238/5.241, allocations: 2.708 MB / 2.116 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/5.241, allocations: 94.42 kB / 2.116 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/5.244, allocations: 2.036 MB / 2.118 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/5.245, allocations: 61.64 kB / 2.118 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/5.246, allocations: 1.209 MB / 2.12 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/5.246, allocations: 0.5121 MB / 2.12 GB, free: 5.207 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/5.246, allocations: 28 kB / 2.12 GB, free: 5.18 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001878/5.246, allocations: 373.9 kB / 2.12 GB, free: 4.809 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009362/5.247, allocations: 0.5271 MB / 2.121 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/5.248, allocations: 0.897 MB / 2.122 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/5.25, allocations: 0.6816 MB / 2.123 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-06/5.25, allocations: 0 / 2.123 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003487/5.253, allocations: 1.975 MB / 2.124 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.5172/5.77, allocations: 2.723 MB / 2.127 GB, free: 66.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.25e-05/5.77, allocations: 9.828 kB / 2.127 GB, free: 66.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/5.772, allocations: 226.5 kB / 2.127 GB, free: 66.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/5.774, allocations: 356.3 kB / 2.128 GB, free: 66.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006591/5.781, allocations: 7.072 MB / 2.135 GB, free: 60.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004851/5.786, allocations: 276.3 kB / 2.135 GB, free: 60.28 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007101/5.787, allocations: 72.5 kB / 2.135 GB, free: 60.28 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/5.787, allocations: 3.625 kB / 2.135 GB, free: 60.28 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006167/5.793, allocations: 1.706 MB / 2.137 GB, free: 60.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-05/5.793, allocations: 10.16 kB / 2.137 GB, free: 60.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008887/5.794, allocations: 224 kB / 2.137 GB, free: 60.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/5.796, allocations: 351.6 kB / 2.137 GB, free: 60.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008683/5.805, allocations: 9.018 MB / 2.146 GB, free: 52.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004187/5.809, allocations: 261.9 kB / 2.146 GB, free: 52.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005935/5.81, allocations: 73.66 kB / 2.146 GB, free: 52.23 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.003065/5.813, allocations: 0.6451 MB / 2.147 GB, free: 52.04 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001508/5.814, allocations: 267.5 kB / 2.147 GB, free: 51.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006231/5.82, allocations: 2.042 MB / 2.149 GB, free: 51.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-05/5.821, allocations: 16.88 kB / 2.149 GB, free: 51.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/5.821, allocations: 6.609 kB / 2.149 GB, free: 51.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003556/5.824, allocations: 1.667 MB / 2.151 GB, free: 51.46 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0124/5.837, allocations: 4.511 MB / 2.155 GB, free: 50.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/5.837, allocations: 0 / 2.155 GB, free: 50.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/5.838, allocations: 279.3 kB / 2.155 GB, free: 50.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006918/5.839, allocations: 211.5 kB / 2.156 GB, free: 50.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/5.839, allocations: 40.56 kB / 2.156 GB, free: 50.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005053/5.844, allocations: 7.097 MB / 2.163 GB, free: 44.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/5.844, allocations: 7.125 kB / 2.163 GB, free: 44.42 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007202/5.851, allocations: 2.771 MB / 2.165 GB, free: 43.89 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002774/5.854, allocations: 0.5753 MB / 2.166 GB, free: 43.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007305/5.855, allocations: 30.75 kB / 2.166 GB, free: 43.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002458/5.857, allocations: 154.9 kB / 2.166 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002559/5.858, allocations: 109 kB / 2.166 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001955/5.858, allocations: 59.47 kB / 2.166 GB, free: 43.65 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.003946/5.862, allocations: 1.563 MB / 2.168 GB, free: 43.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/5.862, allocations: 0 / 2.168 GB, free: 43.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.01167/5.873, allocations: 1.988 MB / 2.17 GB, free: 43.43 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.01127/5.885, allocations: 5.163 MB / 2.175 GB, free: 42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.007467/5.892, allocations: 3.595 MB / 2.178 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/5.892, allocations: 3.312 kB / 2.178 GB, free: 40.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/5.895, allocations: 1.244 MB / 2.179 GB, free: 40.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/5.905, allocations: 1.336 MB / 2.181 GB, free: 40.3 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/5.928, allocations: 12.16 MB / 2.193 GB, free: 32.41 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002085/5.93, allocations: 1.802 MB / 2.194 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.004807/5.935, allocations: 0.5961 MB / 2.195 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002791/5.937, allocations: 1.155 MB / 2.196 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of SimCode: time 1.443e-06/5.937, allocations: 0 / 2.196 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1647/6.102, allocations: 90.18 MB / 2.284 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002402/6.102, allocations: 303.7 kB / 2.284 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.341/11.44, allocations: 0 / 2.284 GB, free: 26.41 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)