Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 198.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.658/1.658, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 72.94 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1859, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002472/0.1885, allocations: 1.477 MB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1897, allocations: 0.9404 MB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.064e-05/0.1898, allocations: 3.938 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001761/0.19, allocations: 51.75 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.19, allocations: 15.84 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1905, allocations: 186.5 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.831e-05/0.1906, allocations: 47.73 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.876e-05/0.1906, allocations: 12 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.1907, allocations: 19.88 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.1907, allocations: 19.86 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1908, allocations: 0 / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002825/0.1911, allocations: 143.8 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.257e-05/0.1911, allocations: 7.938 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.129e-05/0.1911, allocations: 15.88 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.1913, allocations: 124 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1913, allocations: 0 / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.575e-06/0.1913, allocations: 8 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.1913, allocations: 0 / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003475/0.1917, allocations: 371.1 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1917, allocations: 8.031 kB / 0.7868 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.1918, allocations: 106 kB / 0.7869 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.1919, allocations: 88.14 kB / 0.787 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.1921, allocations: 259.5 kB / 0.7873 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.1921, allocations: 158.9 kB / 0.7874 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.085e-05/0.1922, allocations: 150.9 kB / 0.7876 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.33e-05/0.1922, allocations: 109.1 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.612e-05/0.1923, allocations: 75.28 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/0.1923, allocations: 150.6 kB / 0.7879 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/0.1924, allocations: 154.5 kB / 0.788 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.649e-05/0.1924, allocations: 162.5 kB / 0.7882 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002719/0.1927, allocations: 457.9 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.171e-05/0.1928, allocations: 169.1 kB / 0.7888 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.1928, allocations: 80.14 kB / 0.7889 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/0.1929, allocations: 83.27 kB / 0.7889 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/0.1929, allocations: 113.8 kB / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1929, allocations: 0 / 0.789 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.965e-05/0.193, allocations: 41.55 kB / 0.7891 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.1931, allocations: 126.7 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.1932, allocations: 128.6 kB / 0.7893 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.1932, allocations: 29.7 kB / 0.7894 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.447e-05/0.1933, allocations: 92.14 kB / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.1933, allocations: 0 / 0.7894 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.334e-05/0.1933, allocations: 21.7 kB / 0.7895 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1934, allocations: 318.9 kB / 0.7898 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.1935, allocations: 7.938 kB / 0.7898 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.448e-05/0.1935, allocations: 7.984 kB / 0.7898 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.1935, allocations: 8.859 kB / 0.7898 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1935, allocations: 3.938 kB / 0.7898 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001076/0.1936, allocations: 57.58 kB / 0.7899 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1937, allocations: 4 kB / 0.7899 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/0.1937, allocations: 3.984 kB / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1937, allocations: 0 / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1937, allocations: 0 / 0.7899 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1937, allocations: 4 kB / 0.7899 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.118e-05/0.1937, allocations: 3.938 kB / 0.7899 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1938, allocations: 0 / 0.7899 GB, free: 6.586 MB / 0.6075 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.1939, allocations: 189.1 kB / 0.79 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.754e-05/0.194, allocations: 116.8 kB / 0.7902 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.907e-05/0.194, allocations: 112.8 kB / 0.7903 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-05/0.1941, allocations: 176.3 kB / 0.7904 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-05/0.1942, allocations: 184.2 kB / 0.7906 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.258e-05/0.1942, allocations: 180.3 kB / 0.7908 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002236/0.1945, allocations: 413.2 kB / 0.7912 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/0.1945, allocations: 112.9 kB / 0.7913 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.1946, allocations: 104.9 kB / 0.7914 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-05/0.1946, allocations: 184.2 kB / 0.7916 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.391e-05/0.1947, allocations: 176.3 kB / 0.7917 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.578e-05/0.1947, allocations: 184.2 kB / 0.7919 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-05/0.1948, allocations: 184.2 kB / 0.7921 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.1949, allocations: 307.7 kB / 0.7924 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.803e-05/0.195, allocations: 186 kB / 0.7926 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.1951, allocations: 192.2 kB / 0.7927 GB, free: 3.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.1952, allocations: 105 kB / 0.7928 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.434e-05/0.1953, allocations: 176.3 kB / 0.793 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.2e-05/0.1953, allocations: 112.9 kB / 0.7931 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.217e-05/0.1954, allocations: 95.27 kB / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1954, allocations: 0 / 0.7932 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002666/0.1956, allocations: 31.98 kB / 0.7932 GB, free: 2.91 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004891/0.1961, allocations: 0.8593 MB / 0.7941 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.243e-05/0.1962, allocations: 37.64 kB / 0.7941 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.1962, allocations: 4 kB / 0.7941 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.532e-06/0.1962, allocations: 0 / 0.7941 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.1967, allocations: 467.7 kB / 0.7946 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001155/0.1978, allocations: 1.463 MB / 0.796 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.1981, allocations: 0.6846 MB / 0.7967 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.1981, allocations: 4.031 kB / 0.7967 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/0.1981, allocations: 15.44 kB / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.1982, allocations: 0 / 0.7967 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.185/2.383, allocations: 2.699 MB / 0.7993 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.936/11.32, allocations: 6.906 kB / 0.7993 GB, free: 12.68 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)