Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.718/1.718, allocations: 292.6 MB / 307.5 MB, free: 5.215 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.001181/0.001181, allocations: 169.1 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.897/1.897, allocations: 205.4 MB / 0.6366 GB, free: 8.617 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 84.72 kB / 0.7509 GB, free: 63.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003458, allocations: 8 kB / 0.8749 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2869, allocations: 116.3 MB / 0.9885 GB, free: 6.617 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.565/1.851, allocations: 413.2 MB / 1.392 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/1.852, allocations: 131.2 kB / 1.392 GB, free: 253.8 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.643/3.494, allocations: 477.3 MB / 1.858 GB, free: 167.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.306e-06/3.495, allocations: 1.281 kB / 1.858 GB, free: 167.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003657/3.495, allocations: 49.08 kB / 1.858 GB, free: 167.4 MB / 0.948 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.00943/3.504, allocations: 2.263 MB / 1.86 GB, free: 166.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/3.504, allocations: 11.88 kB / 1.86 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000715/3.505, allocations: 158.2 kB / 1.861 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001361/3.507, allocations: 212.3 kB / 1.861 GB, free: 166 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005769/3.512, allocations: 1.705 MB / 1.862 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/3.512, allocations: 87.73 kB / 1.863 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004229/3.513, allocations: 112.1 kB / 1.863 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/3.516, allocations: 1.072 MB / 1.864 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/3.516, allocations: 1.531 kB / 1.864 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/3.516, allocations: 48.09 kB / 1.864 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/3.516, allocations: 25.06 kB / 1.864 GB, free: 165.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/3.518, allocations: 0.7926 MB / 1.865 GB, free: 165.4 MB / 0.948 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.008881/3.527, allocations: 6.482 MB / 1.871 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008422/3.528, allocations: 0.555 MB / 1.871 GB, free: 161.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000905/3.529, allocations: 1.269 MB / 1.873 GB, free: 160.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/3.529, allocations: 42.12 kB / 1.873 GB, free: 160.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 2.815e-06/3.529, allocations: 0 / 1.873 GB, free: 160.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.002193/3.531, allocations: 1.153 MB / 1.874 GB, free: 160 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.455e-05/3.531, allocations: 84.89 kB / 1.874 GB, free: 159.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/3.533, allocations: 1.371 MB / 1.875 GB, free: 159.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/3.533, allocations: 38.11 kB / 1.875 GB, free: 159.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005497/3.533, allocations: 0.7219 MB / 1.876 GB, free: 159.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/3.534, allocations: 242 kB / 1.876 GB, free: 159.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/3.534, allocations: 17.31 kB / 1.876 GB, free: 159.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.798e-05/3.534, allocations: 347.3 kB / 1.877 GB, free: 159 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003903/3.534, allocations: 261.8 kB / 1.877 GB, free: 159 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005301/3.535, allocations: 0.4982 MB / 1.877 GB, free: 158.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004944/3.535, allocations: 352.4 kB / 1.878 GB, free: 158.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/3.535, allocations: 0 / 1.878 GB, free: 158.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001586/3.537, allocations: 0.9818 MB / 1.879 GB, free: 158.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003692/3.537, allocations: 1.358 MB / 1.88 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/3.537, allocations: 3.969 kB / 1.88 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003247/3.538, allocations: 74.52 kB / 1.88 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/3.538, allocations: 182.4 kB / 1.88 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/3.54, allocations: 2.997 MB / 1.883 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/3.542, allocations: 147.4 kB / 1.883 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/3.542, allocations: 42.27 kB / 1.883 GB, free: 154.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/3.542, allocations: 4.438 kB / 1.883 GB, free: 154.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001455/3.544, allocations: 0.8108 MB / 1.884 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/3.544, allocations: 7.188 kB / 1.884 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001466/3.544, allocations: 69.39 kB / 1.884 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006044/3.544, allocations: 177.4 kB / 1.884 GB, free: 154.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/3.546, allocations: 2.973 MB / 1.887 GB, free: 151.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/3.548, allocations: 136.8 kB / 1.887 GB, free: 151.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/3.548, allocations: 36.92 kB / 1.887 GB, free: 151.1 MB / 0.948 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.001012/3.549, allocations: 456.5 kB / 1.888 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/3.549, allocations: 161.1 kB / 1.888 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/3.551, allocations: 0.9796 MB / 1.889 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/3.551, allocations: 7.781 kB / 1.889 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/3.551, allocations: 3.625 kB / 1.889 GB, free: 150.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008966/3.552, allocations: 0.7869 MB / 1.89 GB, free: 149.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004223/3.556, allocations: 2.636 MB / 1.892 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/3.556, allocations: 3.906 kB / 1.892 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/3.557, allocations: 140.3 kB / 1.892 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001988/3.557, allocations: 71.11 kB / 1.893 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.097e-05/3.557, allocations: 26.97 kB / 1.893 GB, free: 148.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/3.559, allocations: 2.986 MB / 1.895 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/3.559, allocations: 7.453 kB / 1.895 GB, free: 145.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00191/3.561, allocations: 1.598 MB / 1.897 GB, free: 144.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000813/3.561, allocations: 377.5 kB / 1.897 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001918/3.562, allocations: 18.91 kB / 1.897 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000762/3.562, allocations: 56.44 kB / 1.897 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/3.563, allocations: 66.14 kB / 1.898 GB, free: 144.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.523e-05/3.563, allocations: 29.45 kB / 1.898 GB, free: 144.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001691/3.564, allocations: 1.088 MB / 1.899 GB, free: 143.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/3.564, allocations: 0 / 1.899 GB, free: 143.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004227/3.569, allocations: 1.2 MB / 1.9 GB, free: 143.4 MB / 0.948 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.005627/3.574, allocations: 4.085 MB / 1.904 GB, free: 140.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002533/3.577, allocations: 1.656 MB / 1.905 GB, free: 139.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/3.577, allocations: 0 / 1.905 GB, free: 139.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006798/3.577, allocations: 0.5958 MB / 1.906 GB, free: 139.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/3.582, allocations: 0.8216 MB / 1.907 GB, free: 139.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008085/3.59, allocations: 6.78 MB / 1.913 GB, free: 134.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008022/3.591, allocations: 1.308 MB / 1.915 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001772/3.592, allocations: 370 kB / 1.915 GB, free: 133.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007626/3.593, allocations: 0.6267 MB / 1.916 GB, free: 133.3 MB / 0.948 GB Notification: Performance of SimCode: time 2.234e-06/3.593, allocations: 0 / 1.916 GB, free: 133.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09593/3.689, allocations: 56.28 MB / 1.971 GB, free: 114.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/3.689, allocations: 304 kB / 1.971 GB, free: 114.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.467/8.157, allocations: 3.125 kB / 1.971 GB, free: 114.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)