Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 100.6 kB / 16.35 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 194.2 kB / 17.29 MB, free: 5.93 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.318/1.318, allocations: 205.1 MB / 223.2 MB, free: 12.31 MB / 190.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.748/1.748, allocations: 292.3 MB / 0.5496 GB, free: 17.64 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.001428/0.001428, allocations: 67.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1881/0.1895, allocations: 114.5 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001861/0.1914, allocations: 0.5488 MB / 0.7853 GB, free: 2.633 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002324/0.1917, allocations: 119.6 kB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.195e-05/0.1917, allocations: 0 / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 7.568e-05/0.1918, allocations: 7.984 kB / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.429e-05/0.1919, allocations: 0 / 0.7854 GB, free: 2.508 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.192, allocations: 39.89 kB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.262e-05/0.1921, allocations: 23.97 kB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.885e-05/0.1922, allocations: 4 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 2.634e-05/0.1922, allocations: 19.98 kB / 0.7855 GB, free: 2.422 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.429e-05/0.1923, allocations: 15.92 kB / 0.7855 GB, free: 2.406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1923, allocations: 4 kB / 0.7855 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 3.894e-05/0.1923, allocations: 7.984 kB / 0.7855 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.797e-06/0.1923, allocations: 4 kB / 0.7856 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.1924, allocations: 8 kB / 0.7856 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 9.582e-05/0.1925, allocations: 35.89 kB / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1925, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.644e-06/0.1925, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.1925, allocations: 0 / 0.7856 GB, free: 2.348 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002982/0.1928, allocations: 361.2 kB / 0.7859 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.1928, allocations: 12.02 kB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.1929, allocations: 4.938 kB / 0.786 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.193, allocations: 168.3 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.193, allocations: 384 / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.193, allocations: 4.375 kB / 0.7861 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.1932, allocations: 54.23 kB / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1932, allocations: 192 / 0.7862 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1932, allocations: 3.938 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1932, allocations: 4 kB / 0.7862 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.874e-05/0.1932, allocations: 11.98 kB / 0.7862 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.1934, allocations: 153.7 kB / 0.7863 GB, free: 1.438 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.15e-05/0.1934, allocations: 34.53 kB / 0.7864 GB, free: 1.395 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.364e-05/0.1935, allocations: 16.92 kB / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-06/0.1935, allocations: 0 / 0.7864 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1935, allocations: 38.55 kB / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 7.81e-07/0.1935, allocations: 0 / 0.7864 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002144/0.1937, allocations: 107.3 kB / 0.7865 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.1938, allocations: 81.11 kB / 0.7866 GB, free: 1.113 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.1939, allocations: 97.77 kB / 0.7867 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1939, allocations: 25.7 kB / 0.7867 GB, free: 0.9766 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.655e-05/0.1939, allocations: 84.14 kB / 0.7868 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.1939, allocations: 11.92 kB / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.03e-05/0.194, allocations: 21.97 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/0.1941, allocations: 314.8 kB / 0.7871 GB, free: 0.5352 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.175e-05/0.1941, allocations: 11.98 kB / 0.7871 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.1941, allocations: 12 kB / 0.7872 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.758e-05/0.1942, allocations: 76.25 kB / 0.7872 GB, free: 432 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1942, allocations: 0 / 0.7872 GB, free: 432 kB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001441/0.1944, allocations: 95.38 kB / 0.7873 GB, free: 324 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.1944, allocations: 41.8 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1944, allocations: 3.938 kB / 0.7874 GB, free: 272 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1944, allocations: 4 kB / 0.7874 GB, free: 268 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.1945, allocations: 3.938 kB / 0.7874 GB, free: 264 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1945, allocations: 3.938 kB / 0.7874 GB, free: 260 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.1946, allocations: 15.92 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1946, allocations: 0 / 0.7874 GB, free: 244 kB / 0.6544 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: 1 * 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 prepare postOptimizeDAE: time 8.159e-05/0.1947, allocations: 139.5 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.624e-05/0.1947, allocations: 7.938 kB / 0.7875 GB, free: 80 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.118e-05/0.1948, allocations: 11.06 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-06/0.1948, allocations: 0 / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1948, allocations: 0 / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1948, allocations: 3.984 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3025/0.4973, allocations: 150.2 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.4973, allocations: 0 / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.4973, allocations: 0 / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.4973, allocations: 1.812 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/0.4973, allocations: 8.031 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4973, allocations: 1.906 kB / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.4974, allocations: 0 / 0.7877 GB, free: 48.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.4975, allocations: 125.7 kB / 0.7878 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.804e-05/0.4976, allocations: 81.33 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.836e-05/0.4976, allocations: 0 / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4977, allocations: 6.031 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.4978, allocations: 15.56 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.287e-06/0.4978, allocations: 5.062 kB / 0.7879 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.32e-05/0.4978, allocations: 75.28 kB / 0.788 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4978, allocations: 0 / 0.788 GB, free: 48.34 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002308/0.498, allocations: 14.34 kB / 0.788 GB, free: 48.34 MB / 0.6544 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001917/0.4982, allocations: 109.8 kB / 0.7881 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001383/0.4984, allocations: 89.73 kB / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4984, allocations: 0 / 0.7882 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.434e-05/0.4984, allocations: 73.94 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.4986, allocations: 6.062 kB / 0.7883 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001795/0.4988, allocations: 94.12 kB / 0.7884 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.099e-05/0.4989, allocations: 0.672 MB / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 7.25e-05/0.499, allocations: 12.23 kB / 0.789 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.676e-06/0.499, allocations: 7.438 kB / 0.789 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.499, allocations: 0 / 0.789 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of Templates: time 0.002953/0.5019, allocations: 1.104 MB / 0.7901 GB, free: 47.33 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)