Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.592/2.592, allocations: 287.3 MB / 302.3 MB, free: 8.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001454/0.001454, allocations: 188.4 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.06/2.06, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001183/0.001183, allocations: 89.23 kB / 0.7428 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005087/0.0005086, allocations: 16.72 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2204, allocations: 115.3 MB / 0.9783 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.323/1.544, allocations: 412.2 MB / 1.381 GB, free: 1.121 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005052/1.544, allocations: 127.3 kB / 1.381 GB, free: 1.043 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.926/4.47, allocations: 477 MB / 1.847 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 3.096e-06/4.471, allocations: 0 / 1.847 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002076/4.471, allocations: 46.3 kB / 1.847 GB, free: 183.3 MB / 0.9323 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.007405/4.478, allocations: 2.27 MB / 1.849 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/4.478, allocations: 11.62 kB / 1.849 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005834/4.479, allocations: 157.1 kB / 1.849 GB, free: 182.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008441/4.48, allocations: 212.1 kB / 1.849 GB, free: 182.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005603/4.485, allocations: 1.702 MB / 1.851 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.466e-05/4.485, allocations: 83.11 kB / 1.851 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002627/4.486, allocations: 118.4 kB / 1.851 GB, free: 181.8 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002675/4.488, allocations: 1.071 MB / 1.852 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.443e-05/4.488, allocations: 11.64 kB / 1.852 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001501/4.489, allocations: 41.19 kB / 1.852 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/4.489, allocations: 28.47 kB / 1.852 GB, free: 181.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/4.491, allocations: 0.7903 MB / 1.853 GB, free: 181.6 MB / 0.9323 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.01143/4.502, allocations: 6.484 MB / 1.859 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/4.504, allocations: 0.5463 MB / 1.86 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001339/4.505, allocations: 1.265 MB / 1.861 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/4.505, allocations: 45.23 kB / 1.861 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 5.18e-06/4.505, allocations: 0 / 1.861 GB, free: 176.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.00333/4.508, allocations: 1.164 MB / 1.862 GB, free: 176.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/4.508, allocations: 84.52 kB / 1.862 GB, free: 176 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/4.511, allocations: 1.372 MB / 1.864 GB, free: 175.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.000186/4.512, allocations: 43.77 kB / 1.864 GB, free: 175.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007108/4.512, allocations: 0.7098 MB / 1.865 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/4.513, allocations: 242.2 kB / 1.865 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.485e-05/4.513, allocations: 17.66 kB / 1.865 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.607e-05/4.513, allocations: 346 kB / 1.865 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006914/4.514, allocations: 267.3 kB / 1.865 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/4.514, allocations: 0.4886 MB / 1.866 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008146/4.515, allocations: 359.5 kB / 1.866 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/4.515, allocations: 0 / 1.866 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002565/4.518, allocations: 0.9854 MB / 1.867 GB, free: 174.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003085/4.518, allocations: 1.347 MB / 1.869 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/4.518, allocations: 7.422 kB / 1.869 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003974/4.519, allocations: 77.5 kB / 1.869 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/4.52, allocations: 185.6 kB / 1.869 GB, free: 173.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002562/4.522, allocations: 2.989 MB / 1.872 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/4.525, allocations: 147.6 kB / 1.872 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/4.525, allocations: 40.25 kB / 1.872 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/4.525, allocations: 3.812 kB / 1.872 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002079/4.527, allocations: 0.8102 MB / 1.873 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.594e-05/4.527, allocations: 14.25 kB / 1.873 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002283/4.527, allocations: 58.66 kB / 1.873 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/4.529, allocations: 176 kB / 1.873 GB, free: 170.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/4.531, allocations: 2.985 MB / 1.876 GB, free: 167.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002206/4.533, allocations: 132 kB / 1.876 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/4.533, allocations: 40.77 kB / 1.876 GB, free: 167.8 MB / 0.9323 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 (99): * Single equations (assignments): 96 * 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.001145/4.535, allocations: 446 kB / 1.876 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005223/4.535, allocations: 163.6 kB / 1.877 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002692/4.538, allocations: 0.9819 MB / 1.878 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/4.538, allocations: 7.562 kB / 1.878 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/4.538, allocations: 2.625 kB / 1.878 GB, free: 167.4 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/4.54, allocations: 0.784 MB / 1.878 GB, free: 167.2 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006561/4.546, allocations: 2.644 MB / 1.881 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/4.546, allocations: 6.672 kB / 1.881 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/4.547, allocations: 145.2 kB / 1.881 GB, free: 166.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/4.548, allocations: 65.09 kB / 1.881 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.694e-05/4.548, allocations: 26.61 kB / 1.881 GB, free: 166.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002408/4.55, allocations: 2.994 MB / 1.884 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/4.55, allocations: 3.844 kB / 1.884 GB, free: 163.9 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/4.553, allocations: 1.595 MB / 1.886 GB, free: 163.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001114/4.554, allocations: 375.1 kB / 1.886 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/4.555, allocations: 21.5 kB / 1.886 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001328/4.556, allocations: 50.47 kB / 1.886 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/4.556, allocations: 63.66 kB / 1.886 GB, free: 163 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.929e-05/4.556, allocations: 28.98 kB / 1.886 GB, free: 163 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002307/4.559, allocations: 1.09 MB / 1.887 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.41e-07/4.559, allocations: 0 / 1.887 GB, free: 162.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005008/4.564, allocations: 1.203 MB / 1.888 GB, free: 162.7 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (70): * Single equations (assignments): 61 * 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.006928/4.571, allocations: 4.075 MB / 1.892 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003603/4.574, allocations: 1.662 MB / 1.894 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/4.574, allocations: 0 / 1.894 GB, free: 160.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001081/4.575, allocations: 0.5913 MB / 1.895 GB, free: 159.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006654/4.582, allocations: 0.8268 MB / 1.895 GB, free: 159.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/4.593, allocations: 6.785 MB / 1.902 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000953/4.594, allocations: 1.303 MB / 1.903 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002342/4.596, allocations: 369.2 kB / 1.904 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0013/4.597, allocations: 0.6185 MB / 1.904 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.203e-06/4.597, allocations: 0 / 1.904 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1388/4.736, allocations: 56.28 MB / 1.959 GB, free: 148.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/4.736, allocations: 297.2 kB / 1.959 GB, free: 147.8 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.99/9.726, allocations: 4 kB / 1.959 GB, free: 147.8 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)