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.001091/0.001091, allocations: 95.33 kB / 15.68 MB, free: 488 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.001057/0.001057, allocations: 176.7 kB / 16.57 MB, free: 6.855 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.4/1.4, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7238/0.7238, allocations: 113.8 MB / 405.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 8 kB / 493.1 MB, free: 8.531 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1778, allocations: 77.15 MB / 0.5569 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001384/0.1792, allocations: 1.109 MB / 0.558 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00354/0.1828, allocations: 2.536 MB / 0.5604 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.91e-05/0.1828, allocations: 0 / 0.5604 GB, free: 7.922 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.909e-05/0.1828, allocations: 7.938 kB / 0.5605 GB, free: 7.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.1829, allocations: 15.95 kB / 0.5605 GB, free: 7.898 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.1859, allocations: 1.232 MB / 0.5617 GB, free: 6.699 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.194e-05/0.1859, allocations: 27.89 kB / 0.5617 GB, free: 6.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.61e-05/0.186, allocations: 4 kB / 0.5617 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.621e-05/0.186, allocations: 12 kB / 0.5617 GB, free: 6.656 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.81e-05/0.1861, allocations: 23.8 kB / 0.5617 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.1861, allocations: 0 / 0.5617 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001767/0.1879, allocations: 1.166 MB / 0.5629 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.1879, allocations: 0 / 0.5629 GB, free: 5.465 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1879, allocations: 29.7 kB / 0.5629 GB, free: 5.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009253/0.1888, allocations: 0.706 MB / 0.5636 GB, free: 4.723 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1889, allocations: 3.938 kB / 0.5636 GB, free: 4.719 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1889, allocations: 0 / 0.5636 GB, free: 4.719 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1889, allocations: 0 / 0.5636 GB, free: 4.719 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.0005163/0.1894, allocations: 0.5067 MB / 0.5641 GB, free: 4.164 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1894, allocations: 8.031 kB / 0.5641 GB, free: 4.156 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.1895, allocations: 87.19 kB / 0.5642 GB, free: 4.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.1897, allocations: 244.8 kB / 0.5644 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.307e-05/0.1897, allocations: 150.6 kB / 0.5646 GB, free: 3.645 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.816e-05/0.1898, allocations: 154.5 kB / 0.5647 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.163e-05/0.1898, allocations: 101 kB / 0.5648 GB, free: 3.387 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.393e-05/0.1899, allocations: 75.28 kB / 0.5649 GB, free: 3.312 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.258e-05/0.1899, allocations: 158.5 kB / 0.565 GB, free: 3.156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-05/0.19, allocations: 154.6 kB / 0.5652 GB, free: 3.004 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.81e-05/0.19, allocations: 158.5 kB / 0.5653 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002684/0.1903, allocations: 457.9 kB / 0.5658 GB, free: 2.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.1904, allocations: 173.1 kB / 0.5659 GB, free: 2.172 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.1904, allocations: 75.28 kB / 0.566 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.574e-05/0.1905, allocations: 109.8 kB / 0.5661 GB, free: 1.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.1905, allocations: 3.938 kB / 0.5661 GB, free: 1.977 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.944e-05/0.1905, allocations: 33.61 kB / 0.5661 GB, free: 1.938 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/0.1906, allocations: 126.7 kB / 0.5663 GB, free: 1.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.1907, allocations: 134 kB / 0.5664 GB, free: 1.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1908, allocations: 25.7 kB / 0.5664 GB, free: 1.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.1908, allocations: 96.03 kB / 0.5665 GB, free: 1.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.106e-06/0.1908, allocations: 0 / 0.5665 GB, free: 1.531 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.1908, allocations: 0 / 0.5665 GB, free: 1.531 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.1909, allocations: 314.8 kB / 0.5668 GB, free: 1.215 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.323e-05/0.191, allocations: 4 kB / 0.5668 GB, free: 1.211 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.191, allocations: 15.92 kB / 0.5668 GB, free: 1.195 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.682e-05/0.191, allocations: 8.031 kB / 0.5668 GB, free: 1.188 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.191, allocations: 3.984 kB / 0.5668 GB, free: 1.184 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001216/0.1912, allocations: 45.64 kB / 0.5669 GB, free: 1.133 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.1912, allocations: 7.953 kB / 0.5669 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.1912, allocations: 8 kB / 0.5669 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.1912, allocations: 0 / 0.5669 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.1912, allocations: 0 / 0.5669 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.1912, allocations: 3.938 kB / 0.5669 GB, free: 1.113 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.268e-05/0.1913, allocations: 7.906 kB / 0.5669 GB, free: 1.105 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.1913, allocations: 3.984 kB / 0.5669 GB, free: 1.102 MB / 430.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 9.923e-05/0.1914, allocations: 185.2 kB / 0.5671 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.1915, allocations: 105 kB / 0.5672 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.848e-05/0.1915, allocations: 120.8 kB / 0.5673 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.846e-05/0.1916, allocations: 176.3 kB / 0.5675 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.505e-05/0.1916, allocations: 184.2 kB / 0.5676 GB, free: 312 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.757e-05/0.1917, allocations: 180.3 kB / 0.5678 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002084/0.1919, allocations: 409.2 kB / 0.5682 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.919e-05/0.192, allocations: 108.9 kB / 0.5683 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.348e-05/0.192, allocations: 105 kB / 0.5684 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.215e-05/0.1921, allocations: 188.2 kB / 0.5686 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.912e-05/0.1921, allocations: 176.3 kB / 0.5688 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.799e-05/0.1922, allocations: 188.2 kB / 0.5689 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.206e-05/0.1922, allocations: 180.3 kB / 0.5691 GB, free: 14.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.1924, allocations: 311.7 kB / 0.5694 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.1925, allocations: 182.3 kB / 0.5696 GB, free: 14.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.044e-05/0.1925, allocations: 188.2 kB / 0.5698 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.1926, allocations: 101 kB / 0.5699 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.1927, allocations: 192.2 kB / 0.57 GB, free: 13.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.1927, allocations: 104.9 kB / 0.5701 GB, free: 13.56 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.942e-05/0.1928, allocations: 97.61 kB / 0.5702 GB, free: 13.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1928, allocations: 0 / 0.5702 GB, free: 13.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006478/0.1934, allocations: 275.8 kB / 0.5705 GB, free: 13.2 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.0008296/0.1943, allocations: 0.4941 MB / 0.571 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.254e-05/0.1944, allocations: 41.69 kB / 0.571 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1944, allocations: 0 / 0.571 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.693e-06/0.1944, allocations: 0 / 0.571 GB, free: 12.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003087/0.1947, allocations: 0.5273 MB / 0.5715 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.195, allocations: 259.7 kB / 0.5718 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.1952, allocations: 0.6809 MB / 0.5724 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.281e-05/0.1953, allocations: 4 kB / 0.5724 GB, free: 11.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.1953, allocations: 15.42 kB / 0.5725 GB, free: 11.11 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1953, allocations: 0 / 0.5725 GB, free: 11.11 MB / 446.1 MB Notification: Performance of Templates: time 0.008614/0.2039, allocations: 5.397 MB / 0.5777 GB, free: 5.762 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)