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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.662/1.662, allocations: 288.4 MB / 303.3 MB, free: 8.152 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.001069/0.001069, allocations: 188.5 kB / 372 MB, free: 10.27 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.356/1.356, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007083/0.0007083, allocations: 94.28 kB / 0.744 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004157/0.0004158, allocations: 12.41 kB / 0.8671 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1938, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002481/0.1964, allocations: 2.591 MB / 0.9822 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001813/0.1982, allocations: 1.996 MB / 0.9842 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.1984, allocations: 4 kB / 0.9842 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0009262/0.1993, allocations: 426.2 kB / 0.9846 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001794/0.1995, allocations: 127.2 kB / 0.9847 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.092e-05/0.1996, allocations: 39.91 kB / 0.9847 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000312/0.1999, allocations: 423.1 kB / 0.9851 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.2001, allocations: 114.9 kB / 0.9852 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2002, allocations: 135.4 kB / 0.9854 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2004, allocations: 163.2 kB / 0.9855 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.194e-05/0.2004, allocations: 20 kB / 0.9855 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.842e-05/0.2005, allocations: 20 kB / 0.9856 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.449e-05/0.2005, allocations: 79.69 kB / 0.9856 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.973e-05/0.2006, allocations: 105.5 kB / 0.9857 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.2009, allocations: 442.7 kB / 0.9862 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2009, allocations: 3.984 kB / 0.9862 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2009, allocations: 0 / 0.9862 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.2009, allocations: 0 / 0.9862 GB, free: 20.85 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0007342/0.2016, allocations: 0.6423 MB / 0.9868 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.2017, allocations: 12.02 kB / 0.9868 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.2017, allocations: 54.55 kB / 0.9869 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.2018, allocations: 47.39 kB / 0.9869 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003474/0.2021, allocations: 365 kB / 0.9873 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.2022, allocations: 16.44 kB / 0.9873 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.2022, allocations: 23.98 kB / 0.9873 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.2026, allocations: 207.3 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.2026, allocations: 0 / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.2026, allocations: 8 kB / 0.9875 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.2026, allocations: 8 kB / 0.9875 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.203, allocations: 173.6 kB / 0.9877 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009216/0.2039, allocations: 0.8701 MB / 0.9885 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002594/0.2042, allocations: 171.8 kB / 0.9887 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.2044, allocations: 120.7 kB / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.2044, allocations: 0 / 0.9888 GB, free: 17.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.2044, allocations: 38.56 kB / 0.9888 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.042e-06/0.2044, allocations: 0 / 0.9888 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0005229/0.2049, allocations: 262.7 kB / 0.9891 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.299e-05/0.205, allocations: 59.34 kB / 0.9891 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.2053, allocations: 413.7 kB / 0.9895 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.2053, allocations: 37.69 kB / 0.9896 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.277e-05/0.2054, allocations: 204.2 kB / 0.9898 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.377e-05/0.2055, allocations: 63.09 kB / 0.9898 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.2055, allocations: 4 kB / 0.9898 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.734e-05/0.2056, allocations: 342.8 kB / 0.9902 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.2057, allocations: 67.89 kB / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.2059, allocations: 67.92 kB / 0.9903 GB, free: 16.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.206, allocations: 66.39 kB / 0.9904 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.206, allocations: 0 / 0.9904 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003278/0.2063, allocations: 217.1 kB / 0.9906 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2064, allocations: 4 kB / 0.9906 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2064, allocations: 4 kB / 0.9906 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.2064, allocations: 0 / 0.9906 GB, free: 16.1 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.2066, allocations: 59.91 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2067, allocations: 0 / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.2068, allocations: 27.83 kB / 0.9907 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.2068, allocations: 12 kB / 0.9907 GB, free: 16 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.207, allocations: 165.8 kB / 0.9908 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.207, allocations: 31.62 kB / 0.9909 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.956e-05/0.2071, allocations: 43.58 kB / 0.9909 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.2071, allocations: 4 kB / 0.9909 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2071, allocations: 0 / 0.9909 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.2071, allocations: 4 kB / 0.9909 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.2074, allocations: 373.3 kB / 0.9913 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2074, allocations: 0 / 0.9913 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.2077, allocations: 63.83 kB / 0.9913 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2077, allocations: 0 / 0.9913 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.2077, allocations: 8 kB / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.2077, allocations: 0 / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2077, allocations: 0 / 0.9913 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.2082, allocations: 400.2 kB / 0.9917 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.2083, allocations: 116.6 kB / 0.9918 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/0.2083, allocations: 12.05 kB / 0.9918 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.2085, allocations: 8 kB / 0.9918 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.2086, allocations: 15.98 kB / 0.9919 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.2086, allocations: 0 / 0.9919 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002305/0.2088, allocations: 303.1 kB / 0.9921 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2088, allocations: 0 / 0.9921 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002552/0.2091, allocations: 71.84 kB / 0.9922 GB, free: 14.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006765/0.2098, allocations: 0.9456 MB / 0.9931 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003081/0.2101, allocations: 147.9 kB / 0.9933 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2101, allocations: 3.938 kB / 0.9933 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001392/0.2102, allocations: 83.97 kB / 0.9934 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.2108, allocations: 90.81 kB / 0.9934 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002644/0.2134, allocations: 2.21 MB / 0.9956 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001823/0.2136, allocations: 0.7953 MB / 0.9964 GB, free: 9.949 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.000109/0.2137, allocations: 30.95 kB / 0.9964 GB, free: 9.922 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.2139, allocations: 118 kB / 0.9965 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/0.2139, allocations: 7.938 kB / 0.9965 GB, free: 9.801 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.017/0.2309, allocations: 7.193 MB / 1.004 GB, free: 2.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/0.2311, allocations: 267.8 kB / 1.004 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.298, allocations: 0 / 1.004 GB, free: 2.551 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)