Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.593/1.593, allocations: 285.4 MB / 298 MB, free: 5.973 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.001136/0.001136, allocations: 180.9 kB / 366.4 MB, free: 2.07 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.61/1.61, allocations: 205.1 MB / 0.6248 GB, free: 7.738 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.000875/0.000875, allocations: 94.91 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.021e-05, allocations: 4 kB / 0.8584 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8122/0.8122, allocations: 115.3 MB / 0.971 GB, free: 77.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.259/2.071, allocations: 412.1 MB / 1.374 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/2.072, allocations: 121.2 kB / 1.374 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.712/3.784, allocations: 475.6 MB / 1.838 GB, free: 157.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.834e-06/3.784, allocations: 0 / 1.838 GB, free: 157.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001549/3.784, allocations: 43.98 kB / 1.838 GB, free: 157.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.004362/3.789, allocations: 1.93 MB / 1.84 GB, free: 155.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/3.789, allocations: 12.03 kB / 1.84 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001922/3.789, allocations: 156.5 kB / 1.84 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005708/3.789, allocations: 209.6 kB / 1.84 GB, free: 155 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003312/3.793, allocations: 1.685 MB / 1.842 GB, free: 153.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/3.793, allocations: 86.03 kB / 1.842 GB, free: 153.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001813/3.793, allocations: 112 kB / 1.842 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/3.795, allocations: 1.054 MB / 1.843 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/3.795, allocations: 4 kB / 1.843 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.928e-05/3.795, allocations: 40 kB / 1.843 GB, free: 152 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/3.795, allocations: 27.98 kB / 1.843 GB, free: 151.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/3.796, allocations: 0.7811 MB / 1.844 GB, free: 151.1 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.007828/3.804, allocations: 6.487 MB / 1.85 GB, free: 144 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009295/3.805, allocations: 0.5547 MB / 1.851 GB, free: 143.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/3.805, allocations: 338.3 kB / 1.851 GB, free: 143.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009979/3.806, allocations: 1.263 MB / 1.852 GB, free: 141.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/3.807, allocations: 51.05 kB / 1.853 GB, free: 141.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 4.238e-06/3.807, allocations: 0 / 1.853 GB, free: 141.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.001511/3.808, allocations: 0.7213 MB / 1.853 GB, free: 140.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.194e-05/3.808, allocations: 81.67 kB / 1.853 GB, free: 140.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001762/3.81, allocations: 1.344 MB / 1.855 GB, free: 139.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.352e-05/3.81, allocations: 45.7 kB / 1.855 GB, free: 139.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/3.81, allocations: 0.7129 MB / 1.855 GB, free: 138.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002042/3.811, allocations: 248.5 kB / 1.856 GB, free: 138.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/3.811, allocations: 16 kB / 1.856 GB, free: 138.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001044/3.811, allocations: 341.9 kB / 1.856 GB, free: 138 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003882/3.811, allocations: 265.9 kB / 1.856 GB, free: 137.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005285/3.812, allocations: 487.4 kB / 1.857 GB, free: 137.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/3.812, allocations: 356.1 kB / 1.857 GB, free: 136.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/3.812, allocations: 4 kB / 1.857 GB, free: 136.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00158/3.814, allocations: 0.9607 MB / 1.858 GB, free: 135.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003681/3.814, allocations: 1.354 MB / 1.859 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/3.814, allocations: 4 kB / 1.859 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/3.815, allocations: 73.64 kB / 1.859 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005918/3.815, allocations: 187.7 kB / 1.86 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/3.817, allocations: 2.966 MB / 1.862 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/3.818, allocations: 147 kB / 1.863 GB, free: 130.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.256e-05/3.819, allocations: 47.94 kB / 1.863 GB, free: 130.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/3.819, allocations: 7.938 kB / 1.863 GB, free: 130.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/3.82, allocations: 0.7891 MB / 1.863 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/3.82, allocations: 7.984 kB / 1.863 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001247/3.82, allocations: 61.89 kB / 1.863 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005475/3.821, allocations: 183.7 kB / 1.864 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/3.822, allocations: 2.946 MB / 1.867 GB, free: 126.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/3.824, allocations: 139 kB / 1.867 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/3.824, allocations: 39.98 kB / 1.867 GB, free: 126.2 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 () * 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.0002313/3.824, allocations: 158.2 kB / 1.867 GB, free: 126 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/3.824, allocations: 154.1 kB / 1.867 GB, free: 125.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/3.826, allocations: 0.9736 MB / 1.868 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/3.826, allocations: 12 kB / 1.868 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/3.826, allocations: 0 / 1.868 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009139/3.827, allocations: 0.774 MB / 1.869 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/3.831, allocations: 2.637 MB / 1.871 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.381e-06/3.831, allocations: 8.062 kB / 1.871 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/3.832, allocations: 131.9 kB / 1.871 GB, free: 121.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/3.832, allocations: 69.62 kB / 1.871 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/3.832, allocations: 24 kB / 1.871 GB, free: 121.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/3.834, allocations: 2.966 MB / 1.874 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/3.834, allocations: 4 kB / 1.874 GB, free: 117.8 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001953/3.836, allocations: 1.575 MB / 1.876 GB, free: 116.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008261/3.837, allocations: 374.7 kB / 1.876 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/3.837, allocations: 16 kB / 1.876 GB, free: 115.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007272/3.838, allocations: 59.8 kB / 1.876 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.786e-05/3.838, allocations: 68.38 kB / 1.876 GB, free: 115.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/3.838, allocations: 27.98 kB / 1.876 GB, free: 115.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001528/3.839, allocations: 1.068 MB / 1.877 GB, free: 114.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.6e-07/3.839, allocations: 4 kB / 1.877 GB, free: 114.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004179/3.843, allocations: 1.193 MB / 1.879 GB, free: 113.3 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 () * 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.005496/3.849, allocations: 4.077 MB / 1.883 GB, free: 109.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002588/3.852, allocations: 1.695 MB / 1.884 GB, free: 107.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/3.852, allocations: 0 / 1.884 GB, free: 107.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006433/3.852, allocations: 0.588 MB / 1.885 GB, free: 106.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004267/3.856, allocations: 0.8119 MB / 1.886 GB, free: 105.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006042/3.863, allocations: 2.801 MB / 1.888 GB, free: 103 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/3.863, allocations: 1.312 MB / 1.89 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00194/3.865, allocations: 0.499 MB / 1.89 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00063/3.866, allocations: 0.6008 MB / 1.891 GB, free: 100.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.613e-06/3.866, allocations: 0 / 1.891 GB, free: 100.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/3.968, allocations: 59.82 MB / 1.949 GB, free: 41.17 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/3.968, allocations: 265.6 kB / 1.949 GB, free: 40.84 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.71/8.678, allocations: 7.875 kB / 1.949 GB, free: 40.83 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)