Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_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.001125/0.001125, allocations: 182.3 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.495/0.495, allocations: 91.98 MB / 108.5 MB, free: 13.06 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.2 MB / 354.3 MB, free: 12.22 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.00091, allocations: 103.1 kB / 427.4 MB, free: 3.988 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003558, allocations: 12 kB / 0.4984 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1732, allocations: 72.31 MB / 0.569 GB, free: 1.832 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.175/1.348, allocations: 394.1 MB / 0.9539 GB, free: 70.39 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002873/1.348, allocations: 129.1 kB / 0.954 GB, free: 70.31 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.24/5.588, allocations: 1.069 GB / 2.023 GB, free: 51.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.124e-06/5.588, allocations: 0 / 2.023 GB, free: 51.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005015/5.589, allocations: 84.69 kB / 2.023 GB, free: 51.4 MB / 0.6511 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.0119/5.601, allocations: 3.597 MB / 2.027 GB, free: 50.17 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/5.601, allocations: 10.64 kB / 2.027 GB, free: 50.17 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001192/5.602, allocations: 292.9 kB / 2.027 GB, free: 50.12 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001976/5.604, allocations: 380.5 kB / 2.027 GB, free: 49.94 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008816/5.613, allocations: 2.948 MB / 2.03 GB, free: 49.45 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/5.613, allocations: 161.1 kB / 2.03 GB, free: 49.44 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008194/5.614, allocations: 216.3 kB / 2.03 GB, free: 49.44 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006082/5.62, allocations: 2.12 MB / 2.033 GB, free: 49.18 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000105/5.62, allocations: 12.33 kB / 2.033 GB, free: 49.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/5.62, allocations: 86.09 kB / 2.033 GB, free: 49.17 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.174e-05/5.62, allocations: 57.33 kB / 2.033 GB, free: 49.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/5.624, allocations: 1.608 MB / 2.034 GB, free: 49.14 MB / 0.6511 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.01771/5.642, allocations: 8.842 MB / 2.043 GB, free: 46.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/5.644, allocations: 1.352 MB / 2.044 GB, free: 46.15 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001971/5.646, allocations: 2.919 MB / 2.047 GB, free: 42.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/5.646, allocations: 54.69 kB / 2.047 GB, free: 42.83 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=148): time 3.827e-06/5.646, allocations: 0 / 2.047 GB, free: 42.83 MB / 0.6511 GB Notification: Performance of matching and sorting (n=148): time 0.005591/5.652, allocations: 2.694 MB / 2.05 GB, free: 42 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/5.652, allocations: 96.83 kB / 2.05 GB, free: 41.91 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004648/5.656, allocations: 2.036 MB / 2.052 GB, free: 41.7 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/5.657, allocations: 58.98 kB / 2.052 GB, free: 41.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009875/5.658, allocations: 1.213 MB / 2.053 GB, free: 41.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/5.658, allocations: 0.5122 MB / 2.054 GB, free: 40.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/5.658, allocations: 34.5 kB / 2.054 GB, free: 40.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.799e-05/5.658, allocations: 371.1 kB / 2.054 GB, free: 40.64 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008299/5.659, allocations: 0.5254 MB / 2.054 GB, free: 40.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/5.66, allocations: 0.8983 MB / 2.055 GB, free: 40.28 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/5.661, allocations: 0.6763 MB / 2.056 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/5.661, allocations: 0 / 2.056 GB, free: 40.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003437/5.665, allocations: 1.968 MB / 2.058 GB, free: 40 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005708/5.665, allocations: 2.73 MB / 2.061 GB, free: 37.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/5.665, allocations: 15.2 kB / 2.061 GB, free: 37.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005737/5.666, allocations: 236.8 kB / 2.061 GB, free: 37.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/5.667, allocations: 347.2 kB / 2.061 GB, free: 37.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/5.671, allocations: 7.083 MB / 2.068 GB, free: 30.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/5.674, allocations: 277.7 kB / 2.068 GB, free: 30.62 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002901/5.675, allocations: 72.08 kB / 2.068 GB, free: 30.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/5.675, allocations: 2.938 kB / 2.068 GB, free: 30.62 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003165/5.678, allocations: 1.703 MB / 2.07 GB, free: 30.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.224e-05/5.678, allocations: 13.39 kB / 2.07 GB, free: 30.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004998/5.678, allocations: 211.4 kB / 2.07 GB, free: 30.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/5.68, allocations: 349.5 kB / 2.071 GB, free: 30.47 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/5.687, allocations: 9.028 MB / 2.079 GB, free: 38.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003239/5.691, allocations: 269.2 kB / 2.08 GB, free: 38.39 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004571/5.691, allocations: 64.33 kB / 2.08 GB, free: 38.39 MB / 0.6667 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.002417/5.693, allocations: 0.6481 MB / 2.08 GB, free: 38.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/5.695, allocations: 263.8 kB / 2.081 GB, free: 38.07 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004678/5.699, allocations: 2.044 MB / 2.083 GB, free: 37.87 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.01e-05/5.7, allocations: 15.97 kB / 2.083 GB, free: 37.87 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/5.7, allocations: 8.172 kB / 2.083 GB, free: 37.87 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002349/5.702, allocations: 1.667 MB / 2.084 GB, free: 37.53 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009609/5.712, allocations: 4.512 MB / 2.089 GB, free: 36.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/5.712, allocations: 2.562 kB / 2.089 GB, free: 36.87 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/5.713, allocations: 273 kB / 2.089 GB, free: 36.87 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004986/5.713, allocations: 213.3 kB / 2.089 GB, free: 36.82 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/5.713, allocations: 44.05 kB / 2.089 GB, free: 36.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004874/5.718, allocations: 7.097 MB / 2.096 GB, free: 30.45 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.718, allocations: 3.828 kB / 2.096 GB, free: 30.45 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/5.723, allocations: 2.769 MB / 2.099 GB, free: 29.93 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/5.724, allocations: 0.5776 MB / 2.099 GB, free: 29.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008735/5.725, allocations: 33.56 kB / 2.099 GB, free: 29.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/5.728, allocations: 151.9 kB / 2.1 GB, free: 29.66 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/5.728, allocations: 108.4 kB / 2.1 GB, free: 29.66 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/5.728, allocations: 58.27 kB / 2.1 GB, free: 29.66 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003319/5.731, allocations: 1.566 MB / 2.101 GB, free: 29.51 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.7e-07/5.731, allocations: 1.688 kB / 2.101 GB, free: 29.51 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.009939/5.741, allocations: 1.99 MB / 2.103 GB, free: 29.2 MB / 0.6667 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.00979/5.751, allocations: 5.174 MB / 2.108 GB, free: 27.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.005696/5.757, allocations: 3.59 MB / 2.112 GB, free: 26.37 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/5.757, allocations: 3.406 kB / 2.112 GB, free: 26.37 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001835/5.759, allocations: 1.243 MB / 2.113 GB, free: 25.91 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007465/5.766, allocations: 1.336 MB / 2.114 GB, free: 25.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01755/5.784, allocations: 12.17 MB / 2.126 GB, free: 17.83 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00257/5.786, allocations: 1.8 MB / 2.128 GB, free: 33.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003115/5.789, allocations: 0.5914 MB / 2.128 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001715/5.791, allocations: 1.16 MB / 2.13 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/5.791, allocations: 0 / 2.13 GB, free: 33.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1513/5.942, allocations: 90.18 MB / 2.218 GB, free: 27.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/5.943, allocations: 308.6 kB / 2.218 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.284/11.23, allocations: 3.75 kB / 2.218 GB, free: 27.36 MB / 0.6823 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)