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.761/1.761, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.0011/0.0011, allocations: 185.6 kB / 371.6 MB, free: 3.422 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.59/1.59, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009/0.0009, allocations: 87.44 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.594e-05/4.596e-05, allocations: 11.97 kB / 0.8664 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2973, allocations: 116.3 MB / 0.9799 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.988/2.286, allocations: 413.1 MB / 1.383 GB, free: 286.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003924/2.286, allocations: 122.7 kB / 1.383 GB, free: 286.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.854/4.14, allocations: 475.6 MB / 1.848 GB, free: 167.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.494e-06/4.14, allocations: 0 / 1.848 GB, free: 167.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000212/4.14, allocations: 47.19 kB / 1.848 GB, free: 167.7 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.006665/4.147, allocations: 1.936 MB / 1.85 GB, free: 166.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.474e-05/4.147, allocations: 10.19 kB / 1.85 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003271/4.147, allocations: 161.3 kB / 1.85 GB, free: 166.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008719/4.148, allocations: 206.9 kB / 1.85 GB, free: 166.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003938/4.152, allocations: 1.695 MB / 1.852 GB, free: 166.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.724e-05/4.152, allocations: 79.88 kB / 1.852 GB, free: 166.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001763/4.152, allocations: 113.7 kB / 1.852 GB, free: 166.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00202/4.154, allocations: 1.055 MB / 1.853 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/4.154, allocations: 4.625 kB / 1.853 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/4.154, allocations: 44.78 kB / 1.853 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.485e-05/4.155, allocations: 25.19 kB / 1.853 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/4.156, allocations: 0.7754 MB / 1.854 GB, free: 166.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.009979/4.166, allocations: 6.489 MB / 1.86 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/4.167, allocations: 0.5425 MB / 1.861 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/4.168, allocations: 335.5 kB / 1.861 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/4.169, allocations: 1.265 MB / 1.862 GB, free: 161 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.719e-05/4.169, allocations: 42.94 kB / 1.862 GB, free: 160.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 3.978e-06/4.169, allocations: 3.156 kB / 1.862 GB, free: 160.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.001897/4.171, allocations: 0.7166 MB / 1.863 GB, free: 160.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/4.171, allocations: 90.52 kB / 1.863 GB, free: 160.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/4.174, allocations: 1.354 MB / 1.864 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/4.174, allocations: 42.61 kB / 1.865 GB, free: 160.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005899/4.174, allocations: 0.7118 MB / 1.865 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002584/4.175, allocations: 241.1 kB / 1.865 GB, free: 160.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.142e-05/4.175, allocations: 17.91 kB / 1.865 GB, free: 160.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001068/4.175, allocations: 343.1 kB / 1.866 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/4.175, allocations: 260.4 kB / 1.866 GB, free: 159.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007402/4.176, allocations: 494.6 kB / 1.867 GB, free: 159.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006546/4.177, allocations: 349.3 kB / 1.867 GB, free: 159.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/4.177, allocations: 1.094 kB / 1.867 GB, free: 159.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002338/4.179, allocations: 0.9709 MB / 1.868 GB, free: 159.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003933/4.18, allocations: 1.35 MB / 1.869 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/4.18, allocations: 9.938 kB / 1.869 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003667/4.18, allocations: 73.91 kB / 1.869 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007206/4.181, allocations: 182.9 kB / 1.869 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/4.183, allocations: 2.97 MB / 1.872 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/4.185, allocations: 152.6 kB / 1.872 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/4.185, allocations: 43.73 kB / 1.872 GB, free: 155.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/4.185, allocations: 4.531 kB / 1.872 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001689/4.187, allocations: 0.7938 MB / 1.873 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/4.187, allocations: 5.031 kB / 1.873 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001672/4.187, allocations: 70.34 kB / 1.873 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006532/4.187, allocations: 181.1 kB / 1.873 GB, free: 155.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001922/4.189, allocations: 2.952 MB / 1.876 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/4.191, allocations: 132.4 kB / 1.876 GB, free: 152.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/4.191, allocations: 39.27 kB / 1.877 GB, free: 152.5 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.000353/4.192, allocations: 154.2 kB / 1.877 GB, free: 152.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004831/4.192, allocations: 161.8 kB / 1.877 GB, free: 152.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002276/4.195, allocations: 0.9704 MB / 1.878 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/4.195, allocations: 7.188 kB / 1.878 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/4.195, allocations: 4.062 kB / 1.878 GB, free: 152.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/4.196, allocations: 0.7736 MB / 1.879 GB, free: 152 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/4.202, allocations: 2.635 MB / 1.881 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.848e-06/4.202, allocations: 3.25 kB / 1.881 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/4.202, allocations: 137.4 kB / 1.881 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002561/4.203, allocations: 74.34 kB / 1.881 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-05/4.203, allocations: 23.23 kB / 1.881 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002066/4.205, allocations: 2.967 MB / 1.884 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/4.205, allocations: 7.453 kB / 1.884 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002825/4.208, allocations: 1.578 MB / 1.886 GB, free: 148 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/4.209, allocations: 369.2 kB / 1.886 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/4.209, allocations: 18.78 kB / 1.886 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007993/4.21, allocations: 55.7 kB / 1.886 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/4.21, allocations: 65.78 kB / 1.886 GB, free: 147.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.75e-05/4.21, allocations: 28.52 kB / 1.886 GB, free: 147.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002322/4.213, allocations: 1.067 MB / 1.887 GB, free: 147.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.41e-07/4.213, allocations: 0 / 1.887 GB, free: 147.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005768/4.218, allocations: 1.204 MB / 1.889 GB, free: 147.5 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.007135/4.226, allocations: 4.073 MB / 1.892 GB, free: 145.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003099/4.229, allocations: 1.7 MB / 1.894 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/4.229, allocations: 0 / 1.894 GB, free: 144.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007467/4.229, allocations: 0.5748 MB / 1.895 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/4.234, allocations: 0.804 MB / 1.895 GB, free: 144.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/4.241, allocations: 2.818 MB / 1.898 GB, free: 143.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009109/4.242, allocations: 1.317 MB / 1.9 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002405/4.244, allocations: 0.4993 MB / 1.9 GB, free: 143 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007371/4.245, allocations: 0.5922 MB / 1.901 GB, free: 143 MB / 0.948 GB Notification: Performance of SimCode: time 1.513e-06/4.245, allocations: 3.281 kB / 1.901 GB, free: 143 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1126/4.358, allocations: 59.8 MB / 1.959 GB, free: 138 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002559/4.358, allocations: 270.1 kB / 1.959 GB, free: 137.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.763/9.121, allocations: 0 / 1.959 GB, free: 137.6 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)