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.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 114.2 kB / 17.33 MB, free: 5.008 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.001268/0.001268, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.425/1.425, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8217/0.8217, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 64.66 kB / 0.5912 GB, free: 21.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1685, allocations: 83.26 MB / 0.6725 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002708/0.1712, allocations: 1.437 MB / 0.674 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004687/0.1759, allocations: 2.919 MB / 0.6768 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.984e-05/0.1759, allocations: 3.938 kB / 0.6768 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.176, allocations: 4 kB / 0.6768 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.176, allocations: 15.8 kB / 0.6768 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003891/0.1799, allocations: 1.591 MB / 0.6784 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.955e-05/0.18, allocations: 43.67 kB / 0.6784 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.1e-05/0.1801, allocations: 4 kB / 0.6784 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.839e-05/0.1801, allocations: 11.94 kB / 0.6784 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.506e-05/0.1801, allocations: 19.91 kB / 0.6785 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.09e-05/0.1801, allocations: 3.938 kB / 0.6785 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002429/0.1826, allocations: 1.572 MB / 0.68 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.618e-05/0.1826, allocations: 12 kB / 0.68 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.1826, allocations: 19.86 kB / 0.68 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001639/0.1843, allocations: 1.118 MB / 0.6811 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.1843, allocations: 0 / 0.6811 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1843, allocations: 3.938 kB / 0.6811 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.994e-06/0.1843, allocations: 0 / 0.6811 GB, free: 11.07 MB / 0.5137 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.0007663/0.185, allocations: 0.5285 MB / 0.6816 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1851, allocations: 11.98 kB / 0.6816 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.578e-05/0.1852, allocations: 84.17 kB / 0.6817 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.1854, allocations: 255.5 kB / 0.682 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.535e-05/0.1855, allocations: 162.6 kB / 0.6821 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.013e-05/0.1856, allocations: 150.6 kB / 0.6823 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.375e-05/0.1857, allocations: 105 kB / 0.6824 GB, free: 9.691 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.003e-05/0.1857, allocations: 79.27 kB / 0.6824 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.1858, allocations: 158.5 kB / 0.6826 GB, free: 9.457 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.1859, allocations: 154.6 kB / 0.6827 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.725e-05/0.186, allocations: 154.5 kB / 0.6829 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000377/0.1863, allocations: 461.9 kB / 0.6833 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1864, allocations: 173.1 kB / 0.6835 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.1865, allocations: 84.14 kB / 0.6836 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.908e-05/0.1865, allocations: 75.28 kB / 0.6836 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.898e-05/0.1866, allocations: 109.8 kB / 0.6838 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.1866, allocations: 0 / 0.6838 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 8.343e-05/0.1867, allocations: 33.66 kB / 0.6838 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.796e-05/0.1868, allocations: 130.7 kB / 0.6839 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1869, allocations: 137.8 kB / 0.684 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.187, allocations: 25.7 kB / 0.6841 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.187, allocations: 84.14 kB / 0.6841 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-06/0.187, allocations: 0 / 0.6841 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.886e-05/0.1871, allocations: 25.7 kB / 0.6842 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.1872, allocations: 314.8 kB / 0.6845 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.1873, allocations: 4 kB / 0.6845 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.564e-05/0.1873, allocations: 4 kB / 0.6845 GB, free: 7.398 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.878e-05/0.1873, allocations: 32.81 kB / 0.6845 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1873, allocations: 4 kB / 0.6845 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00013/0.1875, allocations: 45.66 kB / 0.6846 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1875, allocations: 8 kB / 0.6846 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.1875, allocations: 0 / 0.6846 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1875, allocations: 0 / 0.6846 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.1875, allocations: 4 kB / 0.6846 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.1875, allocations: 0 / 0.6846 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.2e-05/0.1875, allocations: 0 / 0.6846 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1875, allocations: 0 / 0.6846 GB, free: 7.297 MB / 0.5137 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.0001379/0.1877, allocations: 201.1 kB / 0.6848 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/0.1878, allocations: 112.9 kB / 0.6849 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.906e-05/0.1878, allocations: 108.9 kB / 0.685 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.749e-05/0.1879, allocations: 176.3 kB / 0.6851 GB, free: 6.68 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-05/0.188, allocations: 184.2 kB / 0.6853 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.889e-05/0.1881, allocations: 184.3 kB / 0.6855 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002853/0.1884, allocations: 417.1 kB / 0.6859 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.044e-05/0.1884, allocations: 108.9 kB / 0.686 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.019e-05/0.1885, allocations: 104.9 kB / 0.6861 GB, free: 5.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001025/0.1886, allocations: 184.2 kB / 0.6863 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.837e-05/0.1887, allocations: 184.3 kB / 0.6864 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.578e-05/0.1888, allocations: 184.2 kB / 0.6866 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-05/0.1888, allocations: 176.3 kB / 0.6868 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1891, allocations: 315.6 kB / 0.6871 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.1892, allocations: 186 kB / 0.6873 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.1893, allocations: 184.2 kB / 0.6874 GB, free: 4.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.1894, allocations: 105 kB / 0.6875 GB, free: 4.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.1895, allocations: 188.2 kB / 0.6877 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.047e-05/0.1896, allocations: 105 kB / 0.6878 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.254e-05/0.1896, allocations: 101.5 kB / 0.6879 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.1896, allocations: 0 / 0.6879 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009137/0.1906, allocations: 291 kB / 0.6882 GB, free: 3.355 MB / 0.5137 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.001196/0.1918, allocations: 0.5401 MB / 0.6887 GB, free: 2.805 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001195/0.1919, allocations: 41.69 kB / 0.6888 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1919, allocations: 0 / 0.6888 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.1919, allocations: 8 kB / 0.6888 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.1924, allocations: 463.6 kB / 0.6892 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003948/0.1927, allocations: 231.8 kB / 0.6894 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.1931, allocations: 0.6885 MB / 0.6901 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.748e-05/0.1931, allocations: 7.844 kB / 0.6901 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.395e-05/0.1932, allocations: 7.438 kB / 0.6901 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.1932, allocations: 0 / 0.6901 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of Templates: time 0.01075/0.2039, allocations: 5.658 MB / 0.6956 GB, free: 11.71 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 480]