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: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 108.4 kB / 16.36 MB, free: 5.945 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.001665/0.001665, allocations: 199.2 kB / 17.3 MB, free: 5.559 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.289/1.289, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.5 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.001504/0.001504, allocations: 71.89 kB / 0.6729 GB, free: 5.867 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1815, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.002434/0.184, allocations: 1.478 MB / 0.7862 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1852, allocations: 0.9316 MB / 0.7872 GB, free: 0.7578 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.649e-05/0.1853, allocations: 7.938 kB / 0.7872 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.1854, allocations: 35.81 kB / 0.7872 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.12e-05/0.1855, allocations: 27.78 kB / 0.7872 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.186, allocations: 194.6 kB / 0.7874 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.1861, allocations: 47.73 kB / 0.7875 GB, free: 468 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.818e-05/0.1861, allocations: 7.984 kB / 0.7875 GB, free: 460 kB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.1862, allocations: 11.94 kB / 0.7875 GB, free: 448 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.247e-05/0.1862, allocations: 19.88 kB / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.1862, allocations: 0 / 0.7875 GB, free: 428 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.1866, allocations: 171.7 kB / 0.7877 GB, free: 256 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.156e-05/0.1866, allocations: 7.984 kB / 0.7877 GB, free: 248 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.715e-05/0.1866, allocations: 19.88 kB / 0.7877 GB, free: 228 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1868, allocations: 127.6 kB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1868, allocations: 0 / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1868, allocations: 0 / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.1868, allocations: 0 / 0.7878 GB, free: 100 kB / 0.6544 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.3025/0.4894, allocations: 368.1 kB / 0.7882 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4894, allocations: 8.031 kB / 0.7882 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.439e-05/0.4895, allocations: 78.84 kB / 0.7882 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.4896, allocations: 263.2 kB / 0.7885 GB, free: 48.58 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.4897, allocations: 153.5 kB / 0.7886 GB, free: 48.43 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4897, allocations: 152.6 kB / 0.7888 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.469e-05/0.4897, allocations: 103.8 kB / 0.7889 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.4897, allocations: 80.88 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.4898, allocations: 156.6 kB / 0.7891 GB, free: 47.95 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.4898, allocations: 151.7 kB / 0.7892 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.844e-05/0.4898, allocations: 153.4 kB / 0.7894 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.49, allocations: 462.5 kB / 0.7898 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.652e-05/0.49, allocations: 172 kB / 0.79 GB, free: 47.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.481e-05/0.4901, allocations: 82.48 kB / 0.7901 GB, free: 46.93 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.4901, allocations: 79 kB / 0.7902 GB, free: 46.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.661e-05/0.4901, allocations: 115.4 kB / 0.7903 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.4901, allocations: 0 / 0.7903 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of matching and sorting (n=0): time 6.577e-05/0.4902, allocations: 36.58 kB / 0.7903 GB, free: 46.7 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.4902, allocations: 130.7 kB / 0.7904 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.4903, allocations: 138.9 kB / 0.7906 GB, free: 46.46 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.334e-06/0.4903, allocations: 26.27 kB / 0.7906 GB, free: 46.43 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.756e-05/0.4904, allocations: 91.48 kB / 0.7907 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.4904, allocations: 0 / 0.7907 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/0.4904, allocations: 17.09 kB / 0.7907 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.792e-05/0.4905, allocations: 320.7 kB / 0.791 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.4905, allocations: 5.844 kB / 0.791 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.4905, allocations: 6 kB / 0.791 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.941e-05/0.4905, allocations: 12.78 kB / 0.791 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4905, allocations: 0 / 0.791 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.605e-05/0.4906, allocations: 54.2 kB / 0.7911 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.4907, allocations: 11.66 kB / 0.7911 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.4907, allocations: 2.375 kB / 0.7911 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.4907, allocations: 0 / 0.7911 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.4907, allocations: 0.5938 kB / 0.7911 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.4907, allocations: 5.391 kB / 0.7911 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.079e-05/0.4907, allocations: 2.594 kB / 0.7911 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4908, allocations: 0 / 0.7911 GB, free: 45.98 MB / 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: 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 4.604e-05/0.4908, allocations: 187.8 kB / 0.7913 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.655e-05/0.4908, allocations: 112.1 kB / 0.7914 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.177e-05/0.4909, allocations: 118 kB / 0.7915 GB, free: 45.57 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/0.4909, allocations: 182.4 kB / 0.7917 GB, free: 45.39 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/0.4909, allocations: 180.6 kB / 0.7918 GB, free: 45.21 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.4909, allocations: 180.2 kB / 0.792 GB, free: 45.03 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.4911, allocations: 411.1 kB / 0.7924 GB, free: 44.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.4911, allocations: 107.4 kB / 0.7925 GB, free: 44.48 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.138e-05/0.4911, allocations: 106.1 kB / 0.7926 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.011e-05/0.4911, allocations: 189.3 kB / 0.7928 GB, free: 44.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.4912, allocations: 180.1 kB / 0.793 GB, free: 44.01 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/0.4912, allocations: 180.3 kB / 0.7931 GB, free: 43.83 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.95e-05/0.4912, allocations: 184 kB / 0.7933 GB, free: 43.65 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.445e-05/0.4913, allocations: 305.5 kB / 0.7936 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.4913, allocations: 191 kB / 0.7938 GB, free: 43.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.177e-05/0.4913, allocations: 187.1 kB / 0.794 GB, free: 42.96 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-05/0.4914, allocations: 103.3 kB / 0.794 GB, free: 42.85 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.4914, allocations: 180.2 kB / 0.7942 GB, free: 42.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.4915, allocations: 112.5 kB / 0.7943 GB, free: 42.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.4915, allocations: 106.2 kB / 0.7944 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4915, allocations: 0 / 0.7944 GB, free: 42.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002741/0.4918, allocations: 28 kB / 0.7945 GB, free: 42.49 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 (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.0002086/0.492, allocations: 218.1 kB / 0.7947 GB, free: 42.33 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.08e-05/0.4921, allocations: 42.3 kB / 0.7947 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.4921, allocations: 0 / 0.7947 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.463e-06/0.4921, allocations: 0 / 0.7947 GB, free: 42.3 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4925, allocations: 463.4 kB / 0.7951 GB, free: 41.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.4927, allocations: 233.6 kB / 0.7954 GB, free: 41.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.4928, allocations: 0.6828 MB / 0.796 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 1.928e-05/0.4929, allocations: 6.453 kB / 0.796 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.255e-05/0.4929, allocations: 7.438 kB / 0.796 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of SimCode: time 3.91e-07/0.4929, allocations: 1.688 kB / 0.7961 GB, free: 40.96 MB / 0.6544 GB Notification: Performance of Templates: time 0.00323/0.4961, allocations: 1.504 MB / 0.7975 GB, free: 40.91 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (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 & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)