Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009968/0.0009968, allocations: 92.7 kB / 15.7 MB, free: 472 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.001379/0.001379, allocations: 175.2 kB / 16.58 MB, free: 6.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 115.5 MB / 407.2 MB, free: 2.832 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 8.562 kB / 495.3 MB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1773, allocations: 77.53 MB / 0.5594 GB, free: 9.336 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001786/0.1791, allocations: 1.125 MB / 0.5605 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004376/0.1835, allocations: 2.622 MB / 0.563 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.7e-05/0.1836, allocations: 0 / 0.563 GB, free: 5.562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.911e-05/0.1836, allocations: 3.938 kB / 0.563 GB, free: 5.559 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.708e-05/0.1837, allocations: 7.922 kB / 0.5631 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003457/0.1872, allocations: 1.239 MB / 0.5643 GB, free: 4.332 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.623e-05/0.1873, allocations: 39.73 kB / 0.5643 GB, free: 4.293 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.1873, allocations: 4 kB / 0.5643 GB, free: 4.289 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.091e-05/0.1874, allocations: 11.94 kB / 0.5643 GB, free: 4.277 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.568e-05/0.1874, allocations: 15.92 kB / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.016e-05/0.1874, allocations: 0 / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.1893, allocations: 1.213 MB / 0.5655 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.307e-05/0.1894, allocations: 4 kB / 0.5655 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.24e-05/0.1894, allocations: 37.64 kB / 0.5656 GB, free: 3 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009469/0.1904, allocations: 0.6982 MB / 0.5662 GB, free: 2.301 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1904, allocations: 0 / 0.5662 GB, free: 2.301 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1904, allocations: 4 kB / 0.5662 GB, free: 2.297 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1904, allocations: 0 / 0.5662 GB, free: 2.297 MB / 430.1 MB 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.000569/0.191, allocations: 0.4989 MB / 0.5667 GB, free: 1.75 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.191, allocations: 12.03 kB / 0.5667 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.295e-05/0.1911, allocations: 79.19 kB / 0.5668 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.1913, allocations: 250.3 kB / 0.5671 GB, free: 1.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.246e-05/0.1913, allocations: 154.6 kB / 0.5672 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.1914, allocations: 162.5 kB / 0.5674 GB, free: 1.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.477e-05/0.1915, allocations: 104.9 kB / 0.5675 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/0.1915, allocations: 75.28 kB / 0.5675 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.556e-05/0.1916, allocations: 154.6 kB / 0.5677 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.1916, allocations: 150.6 kB / 0.5678 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.472e-05/0.1917, allocations: 150.6 kB / 0.568 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.192, allocations: 469.8 kB / 0.5684 GB, free: 15.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.1921, allocations: 173.1 kB / 0.5686 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.661e-05/0.1922, allocations: 84.08 kB / 0.5687 GB, free: 15.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.1922, allocations: 79.23 kB / 0.5687 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.1923, allocations: 113.8 kB / 0.5688 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1923, allocations: 0 / 0.5688 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.333e-05/0.1924, allocations: 29.7 kB / 0.5689 GB, free: 15.42 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.1924, allocations: 130.7 kB / 0.569 GB, free: 15.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.1926, allocations: 132.6 kB / 0.5691 GB, free: 15.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.1926, allocations: 25.7 kB / 0.5691 GB, free: 15.11 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.983e-05/0.1927, allocations: 92.08 kB / 0.5692 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.924e-06/0.1927, allocations: 8 kB / 0.5692 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.1927, allocations: 0 / 0.5692 GB, free: 15.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.1928, allocations: 322.8 kB / 0.5695 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.507e-05/0.1928, allocations: 4 kB / 0.5695 GB, free: 14.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.575e-05/0.1929, allocations: 4 kB / 0.5696 GB, free: 14.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.63e-05/0.1929, allocations: 4 kB / 0.5696 GB, free: 14.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1929, allocations: 0 / 0.5696 GB, free: 14.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001279/0.193, allocations: 49.72 kB / 0.5696 GB, free: 14.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1931, allocations: 7.953 kB / 0.5696 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.049e-05/0.1931, allocations: 4.062 kB / 0.5696 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.1931, allocations: 4 kB / 0.5696 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.1931, allocations: 0 / 0.5696 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1931, allocations: 0 / 0.5696 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.466e-05/0.1932, allocations: 7.906 kB / 0.5696 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.1932, allocations: 0 / 0.5696 GB, free: 14.6 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.1933, allocations: 189.1 kB / 0.5698 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.1933, allocations: 105 kB / 0.5699 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.93e-05/0.1934, allocations: 116.8 kB / 0.57 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-05/0.1935, allocations: 184.2 kB / 0.5702 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.314e-05/0.1935, allocations: 176.3 kB / 0.5704 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-05/0.1936, allocations: 180.3 kB / 0.5705 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/0.1939, allocations: 421.1 kB / 0.5709 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.279e-05/0.1939, allocations: 101 kB / 0.571 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.194, allocations: 108.9 kB / 0.5711 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.869e-05/0.1941, allocations: 180.3 kB / 0.5713 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.1941, allocations: 180.2 kB / 0.5715 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.265e-05/0.1942, allocations: 188.3 kB / 0.5717 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.892e-05/0.1943, allocations: 184.2 kB / 0.5718 GB, free: 12.19 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001462/0.1945, allocations: 315.9 kB / 0.5721 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-05/0.1945, allocations: 189.9 kB / 0.5723 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.177e-05/0.1946, allocations: 180.2 kB / 0.5725 GB, free: 11.46 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.1947, allocations: 105 kB / 0.5726 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.1948, allocations: 188.2 kB / 0.5728 GB, free: 11.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.042e-05/0.1948, allocations: 101 kB / 0.5729 GB, free: 11.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.533e-05/0.1949, allocations: 100.8 kB / 0.573 GB, free: 10.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1949, allocations: 0 / 0.573 GB, free: 10.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007918/0.1957, allocations: 279.8 kB / 0.5732 GB, free: 10.68 MB / 446.1 MB 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 (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.0009509/0.1967, allocations: 0.489 MB / 0.5737 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1968, allocations: 41.64 kB / 0.5737 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1968, allocations: 4.062 kB / 0.5738 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.1968, allocations: 0 / 0.5738 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004616/0.1973, allocations: 0.5302 MB / 0.5743 GB, free: 9.602 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.1976, allocations: 259.7 kB / 0.5745 GB, free: 9.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.1979, allocations: 0.6848 MB / 0.5752 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.422e-05/0.1979, allocations: 0 / 0.5752 GB, free: 8.613 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.179e-05/0.1979, allocations: 7.438 kB / 0.5752 GB, free: 8.605 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.198, allocations: 0 / 0.5752 GB, free: 8.605 MB / 446.1 MB Notification: Performance of Templates: time 0.00967/0.2076, allocations: 5.419 MB / 0.5805 GB, free: 3.238 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)